src/Entity/AutreFrais.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\AutreFraisRepository")
  6.  */
  7. class AutreFrais
  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 $IdCmd;
  19.     /**
  20.      * @ORM\Column(type="string", length=255)
  21.      */
  22.     private $Libelle;
  23.     /**
  24.      * @ORM\Column(type="integer")
  25.      */
  26.     private $Montant;
  27.     /**
  28.      * @ORM\ManyToOne(targetEntity="App\Entity\Commande", inversedBy="autreFrais")
  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. /*
  40.     public function getIdCmd(): ?int
  41.     {
  42.         return $this->IdCmd;
  43.     }*/
  44.     public function setIdCmd(int $IdCmd): self
  45.     {
  46.         $this->IdCmd = $IdCmd;
  47.         return $this;
  48.     }
  49.     public function getLibelle(): ?string
  50.     {
  51.         return $this->Libelle;
  52.     }
  53.     public function setLibelle(string $Libelle): self
  54.     {
  55.         $this->Libelle = $Libelle;
  56.         return $this;
  57.     }
  58.     public function getMontant(): ?int
  59.     {
  60.         return $this->Montant;
  61.     }
  62.     public function setMontant(int $Montant): self
  63.     {
  64.         $this->Montant = $Montant;
  65.         return $this;
  66.     }
  67.     public function getCommande(): ?commande
  68.     {
  69.         return $this->commande;
  70.     }
  71.     public function setCommande(?commande $commande): self
  72.     {
  73.         $this->commande = $commande;
  74.         return $this;
  75.     }
  76.     public function getModification(): ?string
  77.     {
  78.         return $this->modification;
  79.     }
  80.     public function setModification(?string $modification): self
  81.     {
  82.         $this->modification = $modification;
  83.         return $this;
  84.     }
  85. }