src/Entity/TmpMarchandise.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\TmpMarchandiseRepository")
  6.  */
  7. class TmpMarchandise
  8. {
  9.     /**
  10.      * @ORM\Id()
  11.      * @ORM\GeneratedValue()
  12.      * @ORM\Column(type="integer")
  13.      */
  14.     private $id;
  15.     /**
  16.      * @ORM\Column(type="integer")
  17.      */
  18.     private $Qte;
  19.     /**
  20.      * @ORM\Column(type="string", length=255)
  21.      */
  22.     private $Libelle;
  23.     /*
  24.      * @ORM\Column(type="integer")
  25.      */
  26.    // private $IdCmd;
  27.     /**
  28.      * @ORM\ManyToOne(targetEntity="App\Entity\Commande", inversedBy="tmpMarchandises")
  29.      */
  30.     private $commande;
  31.     /**
  32.      * @ORM\Column(type="string", length=255, nullable=true)
  33.      */
  34.     private $modification;
  35.     public function getId(): ?int
  36.     {
  37.         return $this->id;
  38.     }
  39.     public function getQte(): ?int
  40.     {
  41.         return $this->Qte;
  42.     }
  43.     public function setQte(int $Qte): self
  44.     {
  45.         $this->Qte = $Qte;
  46.         return $this;
  47.     }
  48.     public function getLibelle(): ?string
  49.     {
  50.         return $this->Libelle;
  51.     }
  52.     public function setLibelle(string $Libelle): self
  53.     {
  54.         $this->Libelle = $Libelle;
  55.         return $this;
  56.     }
  57.    /* public function getIdCmd(): ?int
  58.     {
  59.         return $this->IdCmd;
  60.     }
  61.     public function setIdCmd(int $IdCmd): self
  62.     {
  63.         $this->IdCmd = $IdCmd;
  64.         return $this;
  65.     }*/
  66.     public function getCommande(): ?Commande
  67.     {
  68.         return $this->commande;
  69.     }
  70.     public function setCommande(?Commande $commande): self
  71.     {
  72.         $this->commande = $commande;
  73.         return $this;
  74.     }
  75.     public function getModification(): ?string
  76.     {
  77.         return $this->modification;
  78.     }
  79.     public function setModification(?string $modification): self
  80.     {
  81.         $this->modification = $modification;
  82.         return $this;
  83.     }
  84. }