src/Entity/Produit.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ProduitRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassProduitRepository::class)]
  6. class Produit
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length255nullabletrue)]
  13.     private ?string $designation null;
  14.     #[ORM\Column(length255nullabletrue)]
  15.     private ?string $qte null;
  16.     #[ORM\Column(length255nullabletrue)]
  17.     private ?string $remise null;
  18.     #[ORM\Column(length255nullabletrue)]
  19.     private ?string $montantht null;
  20.     #[ORM\Column(length255nullabletrue)]
  21.     private ?string $code null;
  22.     #[ORM\ManyToOne(inversedBy'produit'cascade: ["persist"])]
  23.     private ?Devis $devis null;
  24.     #[ORM\Column(length255nullabletrue)]
  25.     private ?string $type null;
  26.     #[ORM\Column(length255nullabletrue)]
  27.     private ?string $prix null;
  28.     #[ORM\Column(length255nullabletrue)]
  29.     private ?string $tva null;
  30.     #[ORM\Column(length255nullabletrue)]
  31.     private ?string $deviss null;
  32.     #[ORM\Column(length255nullabletrue)]
  33.     private ?string $coursdejours null;
  34.     #[ORM\Column(length255nullabletrue)]
  35.     private ?string $prixunitdt null;
  36.     #[ORM\Column(length255nullabletrue)]
  37.     private ?string $demande null;
  38.     #[ORM\Column(nullabletrue)]
  39.     private ?bool $confermation null;
  40.     #[ORM\Column(length255nullabletrue)]
  41.     private ?string $qtestock null;
  42.     #[ORM\Column(length255nullabletrue)]
  43.     private ?string $qtef null;
  44.     #[ORM\Column(length255nullabletrue)]
  45.     private ?string $qterest null;
  46.     #[ORM\Column(nullabletrue)]
  47.     private ?bool $IsFact null;
  48.     public function getId(): ?int
  49.     {
  50.         return $this->id;
  51.     }
  52.     public function getDesignation(): ?string
  53.     {
  54.         return $this->designation;
  55.     }
  56.     public function setDesignation(?string $designation): self
  57.     {
  58.         $this->designation $designation;
  59.         return $this;
  60.     }
  61.     public function getQte(): ?string
  62.     {
  63.         return $this->qte;
  64.     }
  65.     public function setQte(?string $qte): self
  66.     {
  67.         $this->qte $qte;
  68.         return $this;
  69.     }
  70.     public function getRemise(): ?string
  71.     {
  72.         return $this->remise;
  73.     }
  74.     public function setRemise(?string $remise): self
  75.     {
  76.         $this->remise $remise;
  77.         return $this;
  78.     }
  79.     public function getMontantht(): ?string
  80.     {
  81.         return $this->montantht;
  82.     }
  83.     public function setMontantht(?string $montantht): self
  84.     {
  85.         $this->montantht $montantht;
  86.         return $this;
  87.     }
  88.     public function getCode(): ?string
  89.     {
  90.         return $this->code;
  91.     }
  92.     public function setCode(?string $code): self
  93.     {
  94.         $this->code $code;
  95.         return $this;
  96.     }
  97.     public function getDevis(): ?Devis
  98.     {
  99.         return $this->devis;
  100.     }
  101.     public function setDevis(?Devis $devis): self
  102.     {
  103.         $this->devis $devis;
  104.         return $this;
  105.     }
  106.     public function getType(): ?string
  107.     {
  108.         return $this->type;
  109.     }
  110.     public function setType(?string $type): self
  111.     {
  112.         $this->type $type;
  113.         return $this;
  114.     }
  115.     public function getPrix(): ?string
  116.     {
  117.         return $this->prix;
  118.     }
  119.     public function setPrix(?string $prix): self
  120.     {
  121.         $this->prix $prix;
  122.         return $this;
  123.     }
  124.     public function getTva(): ?string
  125.     {
  126.         return $this->tva;
  127.     }
  128.     public function setTva(?string $tva): self
  129.     {
  130.         $this->tva $tva;
  131.         return $this;
  132.     }
  133.     public function getDeviss(): ?string
  134.     {
  135.         return $this->deviss;
  136.     }
  137.     public function setDeviss(?string $deviss): static
  138.     {
  139.         $this->deviss $deviss;
  140.         return $this;
  141.     }
  142.     public function getCoursdejours(): ?string
  143.     {
  144.         return $this->coursdejours;
  145.     }
  146.     public function setCoursdejours(?string $coursdejours): static
  147.     {
  148.         $this->coursdejours $coursdejours;
  149.         return $this;
  150.     }
  151.     public function getPrixunitdt(): ?string
  152.     {
  153.         return $this->prixunitdt;
  154.     }
  155.     public function setPrixunitdt(?string $prixunitdt): static
  156.     {
  157.         $this->prixunitdt $prixunitdt;
  158.         return $this;
  159.     }
  160.     public function getDemande(): ?string
  161.     {
  162.         return $this->demande;
  163.     }
  164.     public function setDemande(?string $demande): static
  165.     {
  166.         $this->demande $demande;
  167.         return $this;
  168.     }
  169.     public function isConfermation(): ?bool
  170.     {
  171.         return $this->confermation;
  172.     }
  173.     public function setConfermation(?bool $confermation): static
  174.     {
  175.         $this->confermation $confermation;
  176.         return $this;
  177.     }
  178.     public function getQtestock(): ?string
  179.     {
  180.         return $this->qtestock;
  181.     }
  182.     public function setQtestock(?string $qtestock): static
  183.     {
  184.         $this->qtestock $qtestock;
  185.         return $this;
  186.     }
  187.     public function getQtef(): ?string
  188.     {
  189.         return $this->qtef;
  190.     }
  191.     public function setQtef(?string $qtef): self
  192.     {
  193.         $this->qtef $qtef;
  194.         return $this;
  195.     }
  196.     public function getQterest(): ?string
  197.     {
  198.         return $this->qterest;
  199.     }
  200.     public function setQterest(?string $qterest): self
  201.     {
  202.         $this->qterest $qterest;
  203.         return $this;
  204.     }
  205.     public function isIsFact(): ?bool
  206.     {
  207.         return $this->IsFact;
  208.     }
  209.     public function getIsFact(): ?bool
  210.     {
  211.         return $this->IsFact;
  212.     }
  213.     public function setIsFact(?bool $IsFact): self
  214.     {
  215.         $this->IsFact $IsFact;
  216.         return $this;
  217.     }
  218. }