src/Entity/IctusCommandeLine.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\IctusCommandeLineRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. /**
  8.  * @ORM\Entity(repositoryClass=IctusCommandeLineRepository::class)
  9.  */
  10. class IctusCommandeLine
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.     /**
  19.      * @ORM\Column(type="string", length=255, nullable=true)
  20.      */
  21.     private $cip7;
  22.     /**
  23.      * @ORM\Column(type="string", length=255, nullable=true)
  24.      */
  25.     private $cip13;
  26.     /**
  27.      * @ORM\Column(type="string", length=255)
  28.      */
  29.     private $designation;
  30.     /**
  31.      * @ORM\Column(type="float")
  32.      */
  33.     private $prixunitaire;
  34.     /**
  35.      * @ORM\Column(type="integer")
  36.      */
  37.     private $quantite;
  38.     /**
  39.      * @ORM\Column(type="integer", nullable=true)
  40.      */
  41.     private $remise;
  42.     /**
  43.      * @ORM\ManyToOne(targetEntity=IctusCommande::class, inversedBy="ictusCommandeLines")
  44.      * @ORM\JoinColumn(nullable=false)
  45.      */
  46.     private $commande;
  47.     /**
  48.      * @ORM\ManyToOne(targetEntity=Stockpharmacie::class, inversedBy="ictusCommandeLines")
  49.      * @ORM\JoinColumn(nullable=true)
  50.      */
  51.     private $stockPharmacieProduit;
  52.        /**
  53.      * @ORM\ManyToOne(targetEntity=Ordonnance::class, inversedBy="ictusCommandeLines")
  54.      * @ORM\JoinColumn(nullable=true)
  55.      */
  56.     private $ordonnance;
  57.     /**
  58.      * @ORM\Column(type="boolean", nullable=true)
  59.      */
  60.     private $isValide;
  61.     /**
  62.      * @ORM\Column(type="text", nullable=true)
  63.      */
  64.     private $remarque;
  65.     /**
  66.      * @ORM\OneToOne(targetEntity=IctusCommandeLine::class, cascade={"persist", "remove"})
  67.      */
  68.     private $changed;
  69.     
  70.     public function __construct()
  71.     {
  72.     }
  73.     public function getId(): ?int
  74.     {
  75.         return $this->id;
  76.     }
  77.     public function getCip7(): ?string
  78.     {
  79.         return $this->cip7;
  80.     }
  81.     public function setCip7(?string $cip7): self
  82.     {
  83.         $this->cip7 $cip7;
  84.         return $this;
  85.     }
  86.     public function getCip13(): ?string
  87.     {
  88.         return $this->cip13;
  89.     }
  90.     public function setCip13(?string $cip13): self
  91.     {
  92.         $this->cip13 $cip13;
  93.         return $this;
  94.     }
  95.     public function getDesignation(): ?string
  96.     {
  97.         return $this->designation;
  98.     }
  99.     public function setDesignation(string $designation): self
  100.     {
  101.         $this->designation $designation;
  102.         return $this;
  103.     }
  104.     public function getPrixunitaire(): ?float
  105.     {
  106.         return $this->prixunitaire;
  107.     }
  108.     public function setPrixunitaire(float $prixunitaire): self
  109.     {
  110.         $this->prixunitaire $prixunitaire;
  111.         return $this;
  112.     }
  113.     public function getQuantite(): ?int
  114.     {
  115.         return $this->quantite;
  116.     }
  117.     public function setQuantite(int $quantite): self
  118.     {
  119.         $this->quantite $quantite;
  120.         return $this;
  121.     }
  122.     public function getRemise(): ?int
  123.     {
  124.         return $this->remise;
  125.     }
  126.     public function setRemise(?int $remise): self
  127.     {
  128.         $this->remise $remise;
  129.         return $this;
  130.     }
  131.     public function getCommande(): ?IctusCommande
  132.     {
  133.         return $this->commande;
  134.     }
  135.     public function setCommande(?IctusCommande $commande): self
  136.     {
  137.         $this->commande $commande;
  138.         return $this;
  139.     }
  140.     public function getStockPharmacieProduit(): ?Stockpharmacie
  141.     {
  142.         return $this->stockPharmacieProduit;
  143.     }
  144.     public function setStockPharmacieProduit(?Stockpharmacie $stockPharmacieProduit): self
  145.     {
  146.         $this->stockPharmacieProduit $stockPharmacieProduit;
  147.         return $this;
  148.     }
  149.     public function getOrdonnance(): ?Ordonnance
  150.     {
  151.         return $this->ordonnance;
  152.     }
  153.     public function setOrdonnance(?Ordonnance $ordonnance): self
  154.     {
  155.         $this->ordonnance $ordonnance;
  156.         return $this;
  157.     }
  158.     public function isIsValide(): ?bool
  159.     {
  160.         return $this->isValide;
  161.     }
  162.     public function setIsValide(?bool $isValide): self
  163.     {
  164.         $this->isValide $isValide;
  165.         return $this;
  166.     }
  167.     public function getRemarque(): ?string
  168.     {
  169.         return $this->remarque;
  170.     }
  171.     public function setRemarque(?string $remarque): self
  172.     {
  173.         $this->remarque $remarque;
  174.         return $this;
  175.     }
  176.     public function getChanged(): ?self
  177.     {
  178.         return $this->changed;
  179.     }
  180.     public function setChanged(?self $changed): self
  181.     {
  182.         $this->changed $changed;
  183.         return $this;
  184.     }
  185. }