src/Entity/CommandeSpecialLine.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CommandeSpecialLineRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=CommandeSpecialLineRepository::class)
  7.  */
  8. class CommandeSpecialLine
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=255)
  18.      */
  19.     private $designation;
  20.     /**
  21.      * @ORM\Column(type="string", length=255, nullable=true)
  22.      */
  23.     private $designationReal;
  24.     /**
  25.      * @ORM\Column(type="float", nullable=true)
  26.      */
  27.     private $prixunitaire;
  28.     /**
  29.      * @ORM\Column(type="integer")
  30.      */
  31.     private $quantite;
  32.     /**
  33.      * @ORM\Column(type="integer", nullable=true)
  34.      */
  35.     private $quantiteReal;
  36.     /**
  37.      * @ORM\Column(type="boolean", nullable=true)
  38.      */
  39.     private $isValide;
  40.     /**
  41.      * @ORM\ManyToOne(targetEntity=CommandeSpecial::class, inversedBy="commandeSpecialLines")
  42.      * @ORM\JoinColumn(nullable=false)
  43.      */
  44.     private $commandeSpecial;
  45.     /**
  46.      * @ORM\ManyToOne(targetEntity=Ordonnance::class, inversedBy="commandeSpecialLines")
  47.      * @ORM\JoinColumn(nullable=false)
  48.      */
  49.     private $ordonnance;
  50.     public function getId(): ?int
  51.     {
  52.         return $this->id;
  53.     }
  54.     public function getDesignation(): ?string
  55.     {
  56.         return $this->designation;
  57.     }
  58.     public function setDesignation(string $designation): self
  59.     {
  60.         $this->designation $designation;
  61.         return $this;
  62.     }
  63.     public function getDesignationReal(): ?string
  64.     {
  65.         return $this->designationReal;
  66.     }
  67.     public function setDesignationReal(?string $designationReal): self
  68.     {
  69.         $this->designationReal $designationReal;
  70.         return $this;
  71.     }
  72.     public function getPrixunitaire(): ?float
  73.     {
  74.         return $this->prixunitaire;
  75.     }
  76.     public function setPrixunitaire(float $prixunitaire): self
  77.     {
  78.         $this->prixunitaire $prixunitaire;
  79.         return $this;
  80.     }
  81.     public function getQuantite(): ?int
  82.     {
  83.         return $this->quantite;
  84.     }
  85.     public function setQuantite(int $quantite): self
  86.     {
  87.         $this->quantite $quantite;
  88.         return $this;
  89.     }
  90.     public function getQuantiteReal(): ?int
  91.     {
  92.         return $this->quantiteReal;
  93.     }
  94.     public function setQuantiteReal(?int $quantiteReal): self
  95.     {
  96.         $this->quantiteReal $quantiteReal;
  97.         return $this;
  98.     }
  99.     public function isIsValide(): ?bool
  100.     {
  101.         return $this->isValide;
  102.     }
  103.     public function setIsValide(?bool $isValide): self
  104.     {
  105.         $this->isValide $isValide;
  106.         return $this;
  107.     }
  108.     public function getCommandeSpecial(): ?CommandeSpecial
  109.     {
  110.         return $this->commandeSpecial;
  111.     }
  112.     public function setCommandeSpecial(?CommandeSpecial $commandeSpecial): self
  113.     {
  114.         $this->commandeSpecial $commandeSpecial;
  115.         return $this;
  116.     }
  117.     public function getOrdonnance(): ?Ordonnance
  118.     {
  119.         return $this->ordonnance;
  120.     }
  121.     public function setOrdonnance(?Ordonnance $ordonnance): self
  122.     {
  123.         $this->ordonnance $ordonnance;
  124.         return $this;
  125.     }
  126. }