src/Entity/FicheAvoir.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FicheAvoirRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassFicheAvoirRepository::class)]
  6. class FicheAvoir
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'datetime'nullabletrue)]
  13.     private $date_demande;
  14.     #[ORM\Column(type'datetime'nullabletrue)]
  15.     private $date_derniere_fermeture;
  16.     #[ORM\Column(type'datetime'nullabletrue)]
  17.     private $date_statut_qualite;
  18.     #[ORM\Column(type'datetime'nullabletrue)]
  19.     private $date_reception;
  20.     #[ORM\ManyToOne(targetEntityUser::class, inversedBy'ficheAvoirsFerme')]
  21.     private $user_avoir_ferme;
  22.     #[ORM\ManyToOne(targetEntityUser::class, inversedBy'ficheAvoirsQualite')]
  23.     private $user_qualite;
  24.     #[ORM\Column(type'string'length255nullabletrue)]
  25.     private $numero_avoir;
  26.     #[ORM\ManyToOne(targetEntityStatutAvoirAchat::class, inversedBy'ficheAvoirs')]
  27.     private $statut_achat;
  28.     #[ORM\ManyToOne(targetEntityStatutAvoirQualite::class, inversedBy'ficheAvoirs')]
  29.     private $statut_qualite;
  30.     #[ORM\ManyToOne(targetEntityAtelier::class, inversedBy'ficheAvoirs')]
  31.     private $atelier;
  32.     #[ORM\Column(type'string'length255nullabletrue)]
  33.     private $numero_lancement;
  34.     #[ORM\Column(type'string'length255nullabletrue)]
  35.     private $reference;
  36.     #[ORM\Column(type'string'length255nullabletrue)]
  37.     private $coloris;
  38.     #[ORM\Column(type'float'nullabletrue)]
  39.     private $quantite_reception;
  40.     #[ORM\Column(type'float'nullabletrue)]
  41.     private $quantite_non_conforme;
  42.     #[ORM\Column(type'text'nullabletrue)]
  43.     private $commentaires_achat;
  44.     #[ORM\Column(type'text'nullabletrue)]
  45.     private $commentaires_qualite;
  46.     #[ORM\Column(type'float'nullabletrue)]
  47.     private $temps_operation;
  48.     #[ORM\Column(type'float'nullabletrue)]
  49.     private $cout_matiere;
  50.     #[ORM\Column(type'float'nullabletrue)]
  51.     private $cout_autre;
  52.     #[ORM\Column(type'text'nullabletrue)]
  53.     private $commentaires_autre;
  54.     #[ORM\Column(type'float'nullabletrue)]
  55.     private $cout_transport;
  56.     #[ORM\Column(type'float'nullabletrue)]
  57.     private $remise;
  58.     #[ORM\Column(type'float'nullabletrue)]
  59.     private $montant_total;
  60.     #[ORM\Column(type'float'nullabletrue)]
  61.     private $montant_fige;
  62.     #[ORM\Column(type'float'nullabletrue)]
  63.     private $cout_article;
  64.     #[ORM\Column(type'boolean'nullabletrue)]
  65.     private $bool_article;
  66.     #[ORM\Column(type'text'nullabletrue)]
  67.     private $causes;
  68.     #[ORM\Column(type'string'length255nullabletrue)]
  69.     private $numero_facture;
  70.     #[ORM\Column(type'datetime'nullabletrue)]
  71.     private $date_statut_achat;
  72.     public function getId(): ?int
  73.     {
  74.         return $this->id;
  75.     }
  76.     public function getDateDemande(): ?\DateTimeInterface
  77.     {
  78.         return $this->date_demande;
  79.     }
  80.     public function setDateDemande(?\DateTimeInterface $date_demande): self
  81.     {
  82.         $this->date_demande $date_demande;
  83.         return $this;
  84.     }
  85.     public function getDateDerniereFermeture(): ?\DateTimeInterface
  86.     {
  87.         return $this->date_derniere_fermeture;
  88.     }
  89.     public function setDateDerniereFermeture(?\DateTimeInterface $date_derniere_fermeture): self
  90.     {
  91.         $this->date_derniere_fermeture $date_derniere_fermeture;
  92.         return $this;
  93.     }
  94.     public function getDateStatutQualite(): ?\DateTimeInterface
  95.     {
  96.         return $this->date_statut_qualite;
  97.     }
  98.     public function setDateStatutQualite(?\DateTimeInterface $date_statut_qualite): self
  99.     {
  100.         $this->date_statut_qualite $date_statut_qualite;
  101.         return $this;
  102.     }
  103.     public function getDateReception(): ?\DateTimeInterface
  104.     {
  105.         return $this->date_reception;
  106.     }
  107.     public function setDateReception(?\DateTimeInterface $date_reception): self
  108.     {
  109.         $this->date_reception $date_reception;
  110.         return $this;
  111.     }
  112.     public function getUserAvoirFerme(): ?User
  113.     {
  114.         return $this->user_avoir_ferme;
  115.     }
  116.     public function setUserAvoirFerme(?User $user_avoir_ferme): self
  117.     {
  118.         $this->user_avoir_ferme $user_avoir_ferme;
  119.         return $this;
  120.     }
  121.     public function getUserQualite(): ?User
  122.     {
  123.         return $this->user_qualite;
  124.     }
  125.     public function setUserQualite(?User $user_qualite): self
  126.     {
  127.         $this->user_qualite $user_qualite;
  128.         return $this;
  129.     }
  130.     public function getNumeroAvoir(): ?string
  131.     {
  132.         return $this->numero_avoir;
  133.     }
  134.     public function setNumeroAvoir(?string $numero_avoir): self
  135.     {
  136.         $this->numero_avoir $numero_avoir;
  137.         return $this;
  138.     }
  139.     public function getStatutAchat(): ?StatutAvoirAchat
  140.     {
  141.         return $this->statut_achat;
  142.     }
  143.     public function setStatutAchat(?StatutAvoirAchat $statut_achat): self
  144.     {
  145.         $this->statut_achat $statut_achat;
  146.         return $this;
  147.     }
  148.     public function getStatutQualite(): ?StatutAvoirQualite
  149.     {
  150.         return $this->statut_qualite;
  151.     }
  152.     public function setStatutQualite(?StatutAvoirQualite $statut_qualite): self
  153.     {
  154.         $this->statut_qualite $statut_qualite;
  155.         return $this;
  156.     }
  157.     public function getAtelier(): ?Atelier
  158.     {
  159.         return $this->atelier;
  160.     }
  161.     public function setAtelier(?Atelier $atelier): self
  162.     {
  163.         $this->atelier $atelier;
  164.         return $this;
  165.     }
  166.     public function getNumeroLancement(): ?string
  167.     {
  168.         return $this->numero_lancement;
  169.     }
  170.     public function setNumeroLancement(?string $numero_lancement): self
  171.     {
  172.         $this->numero_lancement $numero_lancement;
  173.         return $this;
  174.     }
  175.     public function getReference(): ?string
  176.     {
  177.         return $this->reference;
  178.     }
  179.     public function setReference(?string $reference): self
  180.     {
  181.         $this->reference $reference;
  182.         return $this;
  183.     }
  184.     public function getColoris(): ?string
  185.     {
  186.         return $this->coloris;
  187.     }
  188.     public function setColoris(?string $coloris): self
  189.     {
  190.         $this->coloris $coloris;
  191.         return $this;
  192.     }
  193.     public function getQuantiteReception(): ?float
  194.     {
  195.         return $this->quantite_reception;
  196.     }
  197.     public function setQuantiteReception(?float $quantite_reception): self
  198.     {
  199.         $this->quantite_reception $quantite_reception;
  200.         return $this;
  201.     }
  202.     public function getQuantiteNonConforme(): ?float
  203.     {
  204.         return $this->quantite_non_conforme;
  205.     }
  206.     public function setQuantiteNonConforme(?float $quantite_non_conforme): self
  207.     {
  208.         $this->quantite_non_conforme $quantite_non_conforme;
  209.         return $this;
  210.     }
  211.     public function getCommentairesAchat(): ?string
  212.     {
  213.         return $this->commentaires_achat;
  214.     }
  215.     public function setCommentairesAchat(?string $commentaires_achat): self
  216.     {
  217.         $this->commentaires_achat $commentaires_achat;
  218.         return $this;
  219.     }
  220.     public function getCommentairesQualite(): ?string
  221.     {
  222.         return $this->commentaires_qualite;
  223.     }
  224.     public function setCommentairesQualite(?string $commentaires_qualite): self
  225.     {
  226.         $this->commentaires_qualite $commentaires_qualite;
  227.         return $this;
  228.     }
  229.     public function getTempsOperation(): ?float
  230.     {
  231.         return $this->temps_operation;
  232.     }
  233.     public function setTempsOperation(?float $temps_operation): self
  234.     {
  235.         $this->temps_operation $temps_operation;
  236.         return $this;
  237.     }
  238.     public function getCoutMatiere(): ?float
  239.     {
  240.         return $this->cout_matiere;
  241.     }
  242.     public function setCoutMatiere(?float $cout_matiere): self
  243.     {
  244.         $this->cout_matiere $cout_matiere;
  245.         return $this;
  246.     }
  247.     public function getCoutAutre(): ?float
  248.     {
  249.         return $this->cout_autre;
  250.     }
  251.     public function setCoutAutre(?float $cout_autre): self
  252.     {
  253.         $this->cout_autre $cout_autre;
  254.         return $this;
  255.     }
  256.     public function getCommentairesAutre(): ?string
  257.     {
  258.         return $this->commentaires_autre;
  259.     }
  260.     public function setCommentairesAutre(?string $commentaires_autre): self
  261.     {
  262.         $this->commentaires_autre $commentaires_autre;
  263.         return $this;
  264.     }
  265.     public function getCoutTransport(): ?float
  266.     {
  267.         return $this->cout_transport;
  268.     }
  269.     public function setCoutTransport(?float $cout_transport): self
  270.     {
  271.         $this->cout_transport $cout_transport;
  272.         return $this;
  273.     }
  274.     public function getRemise(): ?float
  275.     {
  276.         return $this->remise;
  277.     }
  278.     public function setRemise(?float $remise): self
  279.     {
  280.         $this->remise $remise;
  281.         return $this;
  282.     }
  283.     public function getMontantTotal(): ?float
  284.     {
  285.         return $this->montant_total;
  286.     }
  287.     public function setMontantTotal(?float $montant_total): self
  288.     {
  289.         $this->montant_total $montant_total;
  290.         return $this;
  291.     }
  292.     public function getMontantFige(): ?float
  293.     {
  294.         return $this->montant_fige;
  295.     }
  296.     public function setMontantFige(?float $montant_fige): self
  297.     {
  298.         $this->montant_fige $montant_fige;
  299.         return $this;
  300.     }
  301.     public function getCoutArticle(): ?float
  302.     {
  303.         return $this->cout_article;
  304.     }
  305.     public function setCoutArticle(?float $cout_article): self
  306.     {
  307.         $this->cout_article $cout_article;
  308.         return $this;
  309.     }
  310.     public function getBoolArticle(): ?bool
  311.     {
  312.         return $this->bool_article;
  313.     }
  314.     public function setBoolArticle(?bool $bool_article): self
  315.     {
  316.         $this->bool_article $bool_article;
  317.         return $this;
  318.     }
  319.     public function getCauses(): ?string
  320.     {
  321.         return $this->causes;
  322.     }
  323.     public function setCauses(?string $causes): self
  324.     {
  325.         $this->causes $causes;
  326.         return $this;
  327.     }
  328.     public function getNumeroFacture(): ?string
  329.     {
  330.         return $this->numero_facture;
  331.     }
  332.     public function setNumeroFacture(?string $numero_facture): self
  333.     {
  334.         $this->numero_facture $numero_facture;
  335.         return $this;
  336.     }
  337.     public function getDateStatutAchat(): ?\DateTimeInterface
  338.     {
  339.         return $this->date_statut_achat;
  340.     }
  341.     public function setDateStatutAchat(?\DateTimeInterface $date_statut_achat): self
  342.     {
  343.         $this->date_statut_achat $date_statut_achat;
  344.         return $this;
  345.     }
  346. }