src/Entity/TmpVolume.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\TmpVolumeRepository")
  6.  */
  7. class TmpVolume
  8. {
  9.     /**
  10.      * @ORM\Id()
  11.      * @ORM\GeneratedValue()
  12.      * @ORM\Column(type="integer")
  13.      */
  14.     private $id;
  15.     /**
  16.      * @ORM\Column(type="decimal", precision=10, scale=3)
  17.      */
  18.     private $Volume;
  19.     /**
  20.      * @ORM\Column(type="decimal", precision=10, scale=3)
  21.      */
  22.     private $PrixUnit;
  23.     /*
  24.      * @ORM\Column(type="integer")
  25.      */
  26.     //private $IdCmd;
  27.     /**
  28.      * @ORM\Column(type="string", length=25)
  29.      */
  30.     private $unite;
  31.     /**
  32.      * @ORM\ManyToOne(targetEntity="App\Entity\Commande", inversedBy="tmpVolumes")
  33.      */
  34.     private $commande;
  35.     /**
  36.      * @ORM\Column(type="string", length=255, nullable=true)
  37.      */
  38.     private $modification;
  39.     public function getId(): ?int
  40.     {
  41.         return $this->id;
  42.     }
  43.     public function getVolume(): ?string
  44.     {
  45.         return $this->Volume;
  46.     }
  47.     public function setVolume(string $Volume): self
  48.     {
  49.         $this->Volume = $Volume;
  50.         return $this;
  51.     }
  52.     public function getPrixUnit(): ?string
  53.     {
  54.         return $this->PrixUnit;
  55.     }
  56.     public function setPrixUnit(string $PrixUnit): self
  57.     {
  58.         $this->PrixUnit = $PrixUnit;
  59.         return $this;
  60.     }
  61.    /* public function getIdCmd(): ?int
  62.     {
  63.         return $this->IdCmd;
  64.     }
  65.     public function setIdCmd(int $IdCmd): self
  66.     {
  67.         $this->IdCmd = $IdCmd;
  68.         return $this;
  69.     }*/
  70.     public function getUnite(): ?string
  71.     {
  72.         return $this->unite;
  73.     }
  74.     public function setUnite(string $unite): self
  75.     {
  76.         $this->unite = $unite;
  77.         return $this;
  78.     }
  79.     public function getCommande(): ?Commande
  80.     {
  81.         return $this->commande;
  82.     }
  83.     public function setCommande(?Commande $commande): self
  84.     {
  85.         $this->commande = $commande;
  86.         return $this;
  87.     }
  88.     public function getModification(): ?string
  89.     {
  90.         return $this->modification;
  91.     }
  92.     public function setModification(string $modification): self
  93.     {
  94.         $this->modification = $modification;
  95.         return $this;
  96.     }
  97. }