src/Entity/IctusCommandeLine.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Doctrine\Common\Collections\Collection;
  5. use App\Repository\IctusCommandeLineRepository;
  6. use Doctrine\Common\Collections\ArrayCollection;
  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.      * @ORM\Column(type="boolean", nullable=true)
  71.      */
  72.     private $isPrisencharge;
  73.     
  74.     public function __construct()
  75.     {
  76.     }
  77.     public function getId(): ?int
  78.     {
  79.         return $this->id;
  80.     }
  81.     public function getCip7(): ?string
  82.     {
  83.         return $this->cip7;
  84.     }
  85.     public function setCip7(?string $cip7): self
  86.     {
  87.         $this->cip7 $cip7;
  88.         return $this;
  89.     }
  90.     public function getCip13(): ?string
  91.     {
  92.         return $this->cip13;
  93.     }
  94.     public function setCip13(?string $cip13): self
  95.     {
  96.         $this->cip13 $cip13;
  97.         return $this;
  98.     }
  99.     public function getDesignation(): ?string
  100.     {
  101.         return $this->designation;
  102.     }
  103.     public function setDesignation(string $designation): self
  104.     {
  105.         $this->designation $designation;
  106.         return $this;
  107.     }
  108.     public function getPrixunitaire(): ?float
  109.     {
  110.         return $this->prixunitaire;
  111.     }
  112.     public function setPrixunitaire(float $prixunitaire): self
  113.     {
  114.         $this->prixunitaire $prixunitaire;
  115.         return $this;
  116.     }
  117.     public function getQuantite(): ?int
  118.     {
  119.         return $this->quantite;
  120.     }
  121.     public function setQuantite(int $quantite): self
  122.     {
  123.         $this->quantite $quantite;
  124.         return $this;
  125.     }
  126.     public function getRemise(): ?int
  127.     {
  128.         return $this->remise;
  129.     }
  130.     public function setRemise(?int $remise): self
  131.     {
  132.         $this->remise $remise;
  133.         return $this;
  134.     }
  135.     public function getCommande(): ?IctusCommande
  136.     {
  137.         return $this->commande;
  138.     }
  139.     public function setCommande(?IctusCommande $commande): self
  140.     {
  141.         $this->commande $commande;
  142.         return $this;
  143.     }
  144.     public function getStockPharmacieProduit(): ?Stockpharmacie
  145.     {
  146.         return $this->stockPharmacieProduit;
  147.     }
  148.     public function setStockPharmacieProduit(?Stockpharmacie $stockPharmacieProduit): self
  149.     {
  150.         $this->stockPharmacieProduit $stockPharmacieProduit;
  151.         return $this;
  152.     }
  153.     public function getOrdonnance(): ?Ordonnance
  154.     {
  155.         return $this->ordonnance;
  156.     }
  157.     public function setOrdonnance(?Ordonnance $ordonnance): self
  158.     {
  159.         $this->ordonnance $ordonnance;
  160.         return $this;
  161.     }
  162.     public function isIsValide(): ?bool
  163.     {
  164.         return $this->isValide;
  165.     }
  166.     public function setIsValide(?bool $isValide): self
  167.     {
  168.         $this->isValide $isValide;
  169.         return $this;
  170.     }
  171.     public function getRemarque(): ?string
  172.     {
  173.         return $this->remarque;
  174.     }
  175.     public function setRemarque(?string $remarque): self
  176.     {
  177.         $this->remarque $remarque;
  178.         return $this;
  179.     }
  180.     public function getChanged(): ?self
  181.     {
  182.         return $this->changed;
  183.     }
  184.     public function setChanged(?self $changed): self
  185.     {
  186.         $this->changed $changed;
  187.         return $this;
  188.     }
  189.     public function isIsPrisencharge(): ?bool
  190.     {
  191.         return $this->isPrisencharge;
  192.     }
  193.     public function setIsPrisencharge(?bool $isPrisencharge): self
  194.     {
  195.         $this->isPrisencharge $isPrisencharge;
  196.         return $this;
  197.     }
  198. }