<?phpnamespace App\Entity;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass="App\Repository\TmpVolumeRepository") */class TmpVolume{ /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="decimal", precision=10, scale=3) */ private $Volume; /** * @ORM\Column(type="decimal", precision=10, scale=3) */ private $PrixUnit; /* * @ORM\Column(type="integer") */ //private $IdCmd; /** * @ORM\Column(type="string", length=25) */ private $unite; /** * @ORM\ManyToOne(targetEntity="App\Entity\Commande", inversedBy="tmpVolumes") */ private $commande; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $modification; public function getId(): ?int { return $this->id; } public function getVolume(): ?string { return $this->Volume; } public function setVolume(string $Volume): self { $this->Volume = $Volume; return $this; } public function getPrixUnit(): ?string { return $this->PrixUnit; } public function setPrixUnit(string $PrixUnit): self { $this->PrixUnit = $PrixUnit; return $this; } /* public function getIdCmd(): ?int { return $this->IdCmd; } public function setIdCmd(int $IdCmd): self { $this->IdCmd = $IdCmd; return $this; }*/ public function getUnite(): ?string { return $this->unite; } public function setUnite(string $unite): self { $this->unite = $unite; return $this; } public function getCommande(): ?Commande { return $this->commande; } public function setCommande(?Commande $commande): self { $this->commande = $commande; return $this; } public function getModification(): ?string { return $this->modification; } public function setModification(string $modification): self { $this->modification = $modification; return $this; }}