src/Entity/SousJacent.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\Common\Collections\ArrayCollection;
  4. use Doctrine\Common\Collections\Collection;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass="App\Repository\SousJacentRepository")
  8.  */
  9. class SousJacent
  10. {
  11.     /**
  12.      * @ORM\Id()
  13.      * @ORM\GeneratedValue()
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="string", length=255, nullable=true)
  19.      */
  20.     private $produit_en_gestion;
  21.     /**
  22.      * @ORM\Column(type="string", length=255, nullable=true)
  23.      */
  24.     private $numero;
  25.     /**
  26.      * @ORM\Column(type="string", length=255, nullable=true)
  27.      */
  28.     private $hscode;
  29.     /**
  30.      * @ORM\Column(type="string", length=255, nullable=true)
  31.      */
  32.     private $donneur_d_ordre;
  33.     /**
  34.      * @ORM\Column(type="string", length=255, nullable=true)
  35.      */
  36.     private $stock;
  37.     /**
  38.      * @ORM\Column(type="string", length=255, nullable=true)
  39.      */
  40.     private $tc;
  41.     /**
  42.      * @ORM\Column(type="string", length=255, nullable=true)
  43.      */
  44.     private $nom_scientifique;
  45.     /**
  46.      * @ORM\Column(type="string", length=255, nullable=true)
  47.      */
  48.     private $origine;
  49.     /**
  50.      * @ORM\Column(type="string", length=255, nullable=true)
  51.      */
  52.     private $certification;
  53.     /**
  54.      * @ORM\Column(type="integer", nullable=true)
  55.      */
  56.     private $idea_scoring;
  57.     /**
  58.      * @ORM\Column(type="string", length=255, nullable=true)
  59.      */
  60.     private $prod_annuelle;
  61.     /**
  62.      * @ORM\Column(type="text", nullable=true, nullable=true)
  63.      */
  64.     private $crit_org;
  65.     /**
  66.      * @ORM\Column(type="text", nullable=true)
  67.      */
  68.     private $crit_ph;
  69.     /**
  70.      * @ORM\Column(type="text", nullable=true)
  71.      */
  72.     private $crit_mic;
  73.     /**
  74.      * @ORM\Column(type="text", nullable=true)
  75.      */
  76.     private $concervation;
  77.     /**
  78.      * @ORM\Column(type="text", nullable=true)
  79.      */
  80.     private $domaine_d_utilisation;
  81.     /**
  82.      * @ORM\Column(type="string", length=255, nullable=true)
  83.      */
  84.     private $type_marq_ut;
  85.     /**
  86.      * @ORM\Column(type="string", length=255, nullable=true)
  87.      */
  88.     private $type_marq_colis;
  89.     /**
  90.      * @ORM\Column(type="string", length=255, nullable=true)
  91.      */
  92.     private $localisation_ut;
  93.     /**
  94.      * @ORM\Column(type="string", length=255, nullable=true)
  95.      */
  96.     private $localisation_colis;
  97.     /**
  98.      * @ORM\Column(type="string", length=255, nullable=true)
  99.      */
  100.     private $signification_marq_ut;
  101.     /**
  102.      * @ORM\Column(type="string", length=255, nullable=true)
  103.      */
  104.     private $signification_marq_colis;
  105.     /**
  106.      * @ORM\Column(type="text", nullable=true)
  107.      */
  108.     private $presentation;
  109.     /**
  110.      * @ORM\Column(type="string", length=255, nullable=true)
  111.      */
  112.     private $nature_emballage;
  113.     /**
  114.      * @ORM\Column(type="string", length=255, nullable=true)
  115.      */
  116.     private $dimenssion;
  117.     /**
  118.      * @ORM\Column(type="string", length=255, nullable=true)
  119.      */
  120.     private $poids_emballage;
  121.     /**
  122.      * @ORM\Column(type="string", length=255, nullable=true)
  123.      */
  124.     private $poids_fixe_ou_variable;
  125.     /**
  126.      * @ORM\Column(type="string", length=255, nullable=true)
  127.      */
  128.     private $poids_net;
  129.     /**
  130.      * @ORM\Column(type="string", length=255, nullable=true)
  131.      */
  132.     private $sous_emballage1;
  133.     /**
  134.      * @ORM\Column(type="string", length=255, nullable=true)
  135.      */
  136.     private $sous_emballage2;
  137.     /**
  138.      * @ORM\Column(type="string", length=255, nullable=true)
  139.      */
  140.     private $sous_emballage3;
  141.     /**
  142.      * @ORM\Column(type="string", length=255, nullable=true)
  143.      */
  144.     private $sous_emballage4;
  145.     /**
  146.      * @ORM\Column(type="string", length=255, nullable=true)
  147.      */
  148.     private $sous_emballage5;
  149.     /**
  150.      * @ORM\Column(type="string", length=255, nullable=true)
  151.      */
  152.     private $sous_emballage6;
  153.     /**
  154.      * @ORM\Column(type="string", length=255, nullable=true)
  155.      */
  156.     private $nombre_de_colis_par_couche;
  157.     /**
  158.      * @ORM\Column(type="string", length=255, nullable=true)
  159.      */
  160.     private $nombre_de_couche_par_palette;
  161.     /**
  162.      * @ORM\Column(type="string", length=255, nullable=true)
  163.      */
  164.     private $nombre_de_colis_par_palette;
  165.     /**
  166.      * @ORM\Column(type="string", length=255, nullable=true)
  167.      */
  168.     private $nombre_d_unite_par_palette;
  169.     /**
  170.      * @ORM\Column(type="string", length=255, nullable=true)
  171.      */
  172.     private $dimension_palette;
  173.     /**
  174.      * @ORM\Column(type="string", length=255, nullable=true)
  175.      */
  176.     private $poids_net_palette;
  177.     /**
  178.      * @ORM\Column(type="datetime")
  179.      */
  180.     private $createdAt;
  181.     /**
  182.      * @ORM\Column(type="string", length=255, nullable=true)
  183.      */
  184.     private $px_spot;
  185.     /**
  186.      * @ORM\ManyToMany(targetEntity="App\Entity\Unite", inversedBy="sousJacents")
  187.      */
  188.     private $px_unite;
  189.     
  190.     /**
  191.      * @ORM\Column(type="string", length=255, nullable=true)
  192.      */
  193.     private $unite4;
  194.     /**
  195.      * @ORM\Column(type="integer", nullable=true)
  196.      */
  197.     private $vol_disp;
  198.     /**
  199.      * @ORM\Column(type="integer", nullable=true)
  200.      */
  201.     private $qt_min;
  202.     /**
  203.      * @ORM\OneToMany(targetEntity="App\Entity\AdminDonneurOrdre", mappedBy="sous_jacent")
  204.      */
  205.     private $adminDonneurOrdres;
  206.     /**
  207.      * @ORM\OneToMany(targetEntity="App\Entity\Appariement", mappedBy="sous_jacent")
  208.      */
  209.     private $appariements;
  210.     /**
  211.      * @ORM\OneToMany(targetEntity="App\Entity\Transaction", mappedBy="sous_jacent")
  212.      */
  213.     private $transactions;
  214.     /**
  215.      * @ORM\OneToMany(targetEntity="App\Entity\Operation", mappedBy="sous_jacent")
  216.      */
  217.     private $operations;
  218.     /**
  219.      * @ORM\OneToMany(targetEntity="App\Entity\AdminDonneurOrdre", mappedBy="sousJacent1")
  220.      */
  221.     private $adminDonneurOrdres1;
  222.     /**
  223.      * @ORM\ManyToOne(targetEntity="App\Entity\AdminDonneurOrdre", inversedBy="sousJacents")
  224.      */
  225.     private $mandat;
  226.     /**
  227.      * @ORM\OneToMany(targetEntity="App\Entity\AdminDonneurOrdre", mappedBy="sousJacent2")
  228.      */
  229.     private $adminDonneurOrdres2;
  230.     /**
  231.      * @ORM\OneToMany(targetEntity="App\Entity\LetterOfIntentToPurchase", mappedBy="sousJacent")
  232.      */
  233.     private $letterOfIntentToPurchases;
  234.     /**
  235.      * @ORM\OneToMany(targetEntity="App\Entity\AppelDeMarge", mappedBy="sous_jacent")
  236.      */
  237.     private $appelDeMarges;
  238.     /**
  239.      * @ORM\ManyToOne(targetEntity="App\Entity\Products", inversedBy="sousJacents")
  240.      */
  241.     private $filiere;
  242.     /**
  243.      * @ORM\ManyToOne(targetEntity="App\Entity\Qualite", inversedBy="sousJacents")
  244.      */
  245.     private $qualite;
  246.     /**
  247.      * @ORM\ManyToOne(targetEntity="App\Entity\Unite", inversedBy="qt_min_unite")
  248.      */
  249.     private $qt_min_unite;
  250.     /**
  251.      * @ORM\ManyToOne(targetEntity="App\Entity\Devise", inversedBy="sousJacents")
  252.      */
  253.     private $unite2;
  254.     /**
  255.      * @ORM\ManyToOne(targetEntity="App\Entity\Devise", inversedBy="unite2")
  256.      */
  257.     private $unite1;
  258.     /**
  259.      * @ORM\ManyToOne(targetEntity="App\Entity\Niveau", inversedBy="sousJacents")
  260.      */
  261.     private $niveau;
  262.     /**
  263.      * @ORM\ManyToOne(targetEntity="App\Entity\Unite", inversedBy="unite3")
  264.      */
  265.     private $unite3;
  266.     /**
  267.      * @ORM\ManyToOne(targetEntity="App\Entity\Status", inversedBy="sousJacents")
  268.      */
  269.     private $status;
  270.     /**
  271.      * @ORM\OneToMany(targetEntity="App\Entity\TraitementDsDemdDachat", mappedBy="sous_jacent")
  272.      */
  273.     private $traitementDsDemdDachats;
  274.     /**
  275.      * @ORM\ManyToOne(targetEntity="App\Entity\Stade", inversedBy="sousJacents")
  276.      */
  277.     private $stade;
  278.     /**
  279.      * @ORM\OneToMany(targetEntity="App\Entity\Quotation", mappedBy="sous_jacent")
  280.      */
  281.     private $quotations;
  282.     /**
  283.      * @ORM\OneToMany(targetEntity="App\Entity\DemandeDeCotation", mappedBy="sousjacent")
  284.      */
  285.     private $demandeDeCotations;
  286.     public  function __construct(){
  287.         $this->createdAt = new \DateTime('now');
  288.         if (!isset($this->numero)){
  289.             $this->numero 'SJ'.random_int(10,500).date('s');
  290.         }else{
  291.             $this->numero 'SJ'.random_int(10,500).date('s');
  292.         }
  293.         $this->px_unite = new ArrayCollection();
  294.         $this->adminDonneurOrdres = new ArrayCollection();
  295.         $this->appariements = new ArrayCollection();
  296.         $this->transactions = new ArrayCollection();
  297.         $this->operations = new ArrayCollection();
  298.         $this->adminDonneurOrdres1 = new ArrayCollection();
  299.         $this->adminDonneurOrdres2 = new ArrayCollection();
  300.         $this->letterOfIntentToPurchases = new ArrayCollection();
  301.         $this->appelDeMarges = new ArrayCollection();
  302.         $this->traitementDsDemdDachats = new ArrayCollection();
  303.         $this->quotations = new ArrayCollection();
  304.         $this->demandeDeCotations = new ArrayCollection();
  305.     }
  306.     public function getId(): ?int
  307.     {
  308.         return $this->id;
  309.     }
  310.     public function getProduitEnGestion(): ?string
  311.     {
  312.         return $this->produit_en_gestion;
  313.     }
  314.     public function setProduitEnGestion(string $produit_en_gestion): self
  315.     {
  316.         $this->produit_en_gestion $produit_en_gestion;
  317.         return $this;
  318.     }
  319.     public function getNumero(): ?string
  320.     {
  321.         return $this->numero;
  322.     }
  323.     public function setNumero(string $numero): self
  324.     {
  325.         $this->numero $numero;
  326.         return $this;
  327.     }
  328.     public function getDonneurDOrdre(): ?string
  329.     {
  330.         return $this->donneur_d_ordre;
  331.     }
  332.     public function setDonneurDOrdre(string $donneur_d_ordre): self
  333.     {
  334.         $this->donneur_d_ordre $donneur_d_ordre;
  335.         return $this;
  336.     }
  337.     public function getQtMin(): ?int
  338.     {
  339.         return $this->qt_min;
  340.     }
  341.     public function setQtMin(int $qt_min): self
  342.     {
  343.         $this->qt_min $qt_min;
  344.         return $this;
  345.     }
  346.     public function getStock(): ?string
  347.     {
  348.         return $this->stock;
  349.     }
  350.     public function setStock(string $stock): self
  351.     {
  352.         $this->stock $stock;
  353.         return $this;
  354.     }
  355.     public function getStockUnite(): ?string
  356.     {
  357.         return $this->stock_unite;
  358.     }
  359.     public function setStockUnite(string $stock_unite): self
  360.     {
  361.         $this->stock_unite $stock_unite;
  362.         return $this;
  363.     }
  364.     public function getTc(): ?string
  365.     {
  366.         return $this->tc;
  367.     }
  368.     public function setTc(string $tc): self
  369.     {
  370.         $this->tc $tc;
  371.         return $this;
  372.     }
  373.     public function getNomScientifique(): ?string
  374.     {
  375.         return $this->nom_scientifique;
  376.     }
  377.     public function setNomScientifique(string $nom_scientifique): self
  378.     {
  379.         $this->nom_scientifique $nom_scientifique;
  380.         return $this;
  381.     }
  382.     public function getOrigine(): ?string
  383.     {
  384.         return $this->origine;
  385.     }
  386.     public function setOrigine(string $origine): self
  387.     {
  388.         $this->origine $origine;
  389.         return $this;
  390.     }
  391.     public function getCertification(): ?string
  392.     {
  393.         return $this->certification;
  394.     }
  395.     public function setCertification(string $certification): self
  396.     {
  397.         $this->certification $certification;
  398.         return $this;
  399.     }
  400.     public function getIdeaScoring(): ?int
  401.     {
  402.         return $this->idea_scoring;
  403.     }
  404.     public function setIdeaScoring(int $idea_scoring): self
  405.     {
  406.         $this->idea_scoring $idea_scoring;
  407.         return $this;
  408.     }
  409.     public function getProdAnnuelle(): ?string
  410.     {
  411.         return $this->prod_annuelle;
  412.     }
  413.     public function setProdAnnuelle(string $prod_annuelle): self
  414.     {
  415.         $this->prod_annuelle $prod_annuelle;
  416.         return $this;
  417.     }
  418.     public function getCritOrg(): ?string
  419.     {
  420.         return $this->crit_org;
  421.     }
  422.     public function setCritOrg(string $crit_org): self
  423.     {
  424.         $this->crit_org $crit_org;
  425.         return $this;
  426.     }
  427.     public function getCritPh(): ?string
  428.     {
  429.         return $this->crit_ph;
  430.     }
  431.     public function setCritPh(?string $crit_ph): self
  432.     {
  433.         $this->crit_ph $crit_ph;
  434.         return $this;
  435.     }
  436.     public function getCritMic(): ?string
  437.     {
  438.         return $this->crit_mic;
  439.     }
  440.     public function setCritMic(?string $crit_mic): self
  441.     {
  442.         $this->crit_mic $crit_mic;
  443.         return $this;
  444.     }
  445.     public function getConcervation(): ?string
  446.     {
  447.         return $this->concervation;
  448.     }
  449.     public function setConcervation(?string $concervation): self
  450.     {
  451.         $this->concervation $concervation;
  452.         return $this;
  453.     }
  454.     public function getDomaineDUtilisation(): ?string
  455.     {
  456.         return $this->domaine_d_utilisation;
  457.     }
  458.     public function setDomaineDUtilisation(?string $domaine_d_utilisation): self
  459.     {
  460.         $this->domaine_d_utilisation $domaine_d_utilisation;
  461.         return $this;
  462.     }
  463.     public function getTypeMarqUt(): ?string
  464.     {
  465.         return $this->type_marq_ut;
  466.     }
  467.     public function setTypeMarqUt(string $type_marq_ut): self
  468.     {
  469.         $this->type_marq_ut $type_marq_ut;
  470.         return $this;
  471.     }
  472.     public function getTypeMarqColis(): ?string
  473.     {
  474.         return $this->type_marq_colis;
  475.     }
  476.     public function setTypeMarqColis(string $type_marq_colis): self
  477.     {
  478.         $this->type_marq_colis $type_marq_colis;
  479.         return $this;
  480.     }
  481.     public function getLocalisationUt(): ?string
  482.     {
  483.         return $this->localisation_ut;
  484.     }
  485.     public function setLocalisationUt(string $localisation_ut): self
  486.     {
  487.         $this->localisation_ut $localisation_ut;
  488.         return $this;
  489.     }
  490.     public function getLocalisationColis(): ?string
  491.     {
  492.         return $this->localisation_colis;
  493.     }
  494.     public function setLocalisationColis(string $localisation_colis): self
  495.     {
  496.         $this->localisation_colis $localisation_colis;
  497.         return $this;
  498.     }
  499.     public function getSignificationMarqUt(): ?string
  500.     {
  501.         return $this->signification_marq_ut;
  502.     }
  503.     public function setSignificationMarqUt(string $signification_marq_ut): self
  504.     {
  505.         $this->signification_marq_ut $signification_marq_ut;
  506.         return $this;
  507.     }
  508.     public function getSignificationMarqColis(): ?string
  509.     {
  510.         return $this->signification_marq_colis;
  511.     }
  512.     public function setSignificationMarqColis(string $signification_marq_colis): self
  513.     {
  514.         $this->signification_marq_colis $signification_marq_colis;
  515.         return $this;
  516.     }
  517.     public function getPresentation(): ?string
  518.     {
  519.         return $this->presentation;
  520.     }
  521.     public function setPresentation(string $presentation): self
  522.     {
  523.         $this->presentation $presentation;
  524.         return $this;
  525.     }
  526.     public function getNatureEmballage(): ?string
  527.     {
  528.         return $this->nature_emballage;
  529.     }
  530.     public function setNatureEmballage(string $nature_emballage): self
  531.     {
  532.         $this->nature_emballage $nature_emballage;
  533.         return $this;
  534.     }
  535.     public function getDimenssion(): ?string
  536.     {
  537.         return $this->dimenssion;
  538.     }
  539.     public function setDimenssion(string $dimenssion): self
  540.     {
  541.         $this->dimenssion $dimenssion;
  542.         return $this;
  543.     }
  544.     public function getPoidsEmballage(): ?string
  545.     {
  546.         return $this->poids_emballage;
  547.     }
  548.     public function setPoidsEmballage(string $poids_emballage): self
  549.     {
  550.         $this->poids_emballage $poids_emballage;
  551.         return $this;
  552.     }
  553.     public function getPoidsFixeOuVariable(): ?string
  554.     {
  555.         return $this->poids_fixe_ou_variable;
  556.     }
  557.     public function setPoidsFixeOuVariable(string $poids_fixe_ou_variable): self
  558.     {
  559.         $this->poids_fixe_ou_variable $poids_fixe_ou_variable;
  560.         return $this;
  561.     }
  562.     public function getPoidsNet(): ?string
  563.     {
  564.         return $this->poids_net;
  565.     }
  566.     public function setPoidsNet(string $poids_net): self
  567.     {
  568.         $this->poids_net $poids_net;
  569.         return $this;
  570.     }
  571.     public function getSousEmballage1(): ?string
  572.     {
  573.         return $this->sous_emballage1;
  574.     }
  575.     public function setSousEmballage1(string $sous_emballage1): self
  576.     {
  577.         $this->sous_emballage1 $sous_emballage1;
  578.         return $this;
  579.     }
  580.     public function getSousEmballage2(): ?string
  581.     {
  582.         return $this->sous_emballage2;
  583.     }
  584.     public function setSousEmballage2(string $sous_emballage2): self
  585.     {
  586.         $this->sous_emballage2 $sous_emballage2;
  587.         return $this;
  588.     }
  589.     public function getSousEmballage3(): ?string
  590.     {
  591.         return $this->sous_emballage3;
  592.     }
  593.     public function setSousEmballage3(string $sous_emballage3): self
  594.     {
  595.         $this->sous_emballage3 $sous_emballage3;
  596.         return $this;
  597.     }
  598.     public function getSousEmballage4(): ?string
  599.     {
  600.         return $this->sous_emballage4;
  601.     }
  602.     public function setSousEmballage4(string $sous_emballage4): self
  603.     {
  604.         $this->sous_emballage4 $sous_emballage4;
  605.         return $this;
  606.     }
  607.     public function getSousEmballage5(): ?string
  608.     {
  609.         return $this->sous_emballage5;
  610.     }
  611.     public function setSousEmballage5(string $sous_emballage5): self
  612.     {
  613.         $this->sous_emballage5 $sous_emballage5;
  614.         return $this;
  615.     }
  616.     public function getSousEmballage6(): ?string
  617.     {
  618.         return $this->sous_emballage6;
  619.     }
  620.     public function setSousEmballage6(string $sous_emballage6): self
  621.     {
  622.         $this->sous_emballage6 $sous_emballage6;
  623.         return $this;
  624.     }
  625.     public function getNombreDeColisParCouche(): ?string
  626.     {
  627.         return $this->nombre_de_colis_par_couche;
  628.     }
  629.     public function setNombreDeColisParCouche(?string $nombre_de_colis_par_couche): self
  630.     {
  631.         $this->nombre_de_colis_par_couche $nombre_de_colis_par_couche;
  632.         return $this;
  633.     }
  634.     public function getNombreDeCoucheParPalette(): ?string
  635.     {
  636.         return $this->nombre_de_couche_par_palette;
  637.     }
  638.     public function setNombreDeCoucheParPalette(string $nombre_de_couche_par_palette): self
  639.     {
  640.         $this->nombre_de_couche_par_palette $nombre_de_couche_par_palette;
  641.         return $this;
  642.     }
  643.     public function getNombreDeColisParPalette(): ?string
  644.     {
  645.         return $this->nombre_de_colis_par_palette;
  646.     }
  647.     public function setNombreDeColisParPalette(string $nombre_de_colis_par_palette): self
  648.     {
  649.         $this->nombre_de_colis_par_palette $nombre_de_colis_par_palette;
  650.         return $this;
  651.     }
  652.     public function getNombreDUniteParPalette(): ?string
  653.     {
  654.         return $this->nombre_d_unite_par_palette;
  655.     }
  656.     public function setNombreDUniteParPalette(string $nombre_d_unite_par_palette): self
  657.     {
  658.         $this->nombre_d_unite_par_palette $nombre_d_unite_par_palette;
  659.         return $this;
  660.     }
  661.     public function getDimensionPalette(): ?string
  662.     {
  663.         return $this->dimension_palette;
  664.     }
  665.     public function setDimensionPalette(string $dimension_palette): self
  666.     {
  667.         $this->dimension_palette $dimension_palette;
  668.         return $this;
  669.     }
  670.     public function getPoidsNetPalette(): ?string
  671.     {
  672.         return $this->poids_net_palette;
  673.     }
  674.     public function setPoidsNetPalette(string $poids_net_palette): self
  675.     {
  676.         $this->poids_net_palette $poids_net_palette;
  677.         return $this;
  678.     }
  679.     public function getCreatedAt(): ?\DateTimeInterface
  680.     {
  681.         return $this->createdAt;
  682.     }
  683.     public function setCreatedAt(\DateTimeInterface $createdAt): self
  684.     {
  685.         $this->createdAt $createdAt;
  686.         return $this;
  687.     }
  688.     public function getHscode(): ?string
  689.     {
  690.         return $this->hscode;
  691.     }
  692.     public function setHscode(?string $hscode): self
  693.     {
  694.         $this->hscode $hscode;
  695.         return $this;
  696.     }
  697.    public function __toString(): string
  698.    {
  699.        return $this->produit_en_gestion;
  700.    }
  701.     public function getPxSpot(): ?string
  702.     {
  703.         return $this->px_spot;
  704.     }
  705.     public function setPxSpot(?string $px_spot): self
  706.     {
  707.         $this->px_spot $px_spot;
  708.         return $this;
  709.     }
  710.     /**
  711.      * @return Collection|Unite[]
  712.      */
  713.     public function getPxUnite(): Collection
  714.     {
  715.         return $this->px_unite;
  716.     }
  717.     public function addPxUnite(Unite $pxUnite): self
  718.     {
  719.         if (!$this->px_unite->contains($pxUnite)) {
  720.             $this->px_unite[] = $pxUnite;
  721.         }
  722.         return $this;
  723.     }
  724.     public function removePxUnite(Unite $pxUnite): self
  725.     {
  726.         if ($this->px_unite->contains($pxUnite)) {
  727.             $this->px_unite->removeElement($pxUnite);
  728.         }
  729.         return $this;
  730.     }
  731.     public function getUnite4(): ?string
  732.     {
  733.         return $this->unite4;
  734.     }
  735.     public function setUnite4(?string $unite4): self
  736.     {
  737.         $this->unite4 $unite4;
  738.         return $this;
  739.     }
  740.     public function getVolDisp(): ?int
  741.     {
  742.         return $this->vol_disp;
  743.     }
  744.     public function setVolDisp(?int $vol_disp): self
  745.     {
  746.         $this->vol_disp $vol_disp;
  747.         return $this;
  748.     }
  749.     /**
  750.      * @return Collection|AdminDonneurOrdre[]
  751.      */
  752.     public function getAdminDonneurOrdres(): Collection
  753.     {
  754.         return $this->adminDonneurOrdres;
  755.     }
  756.     public function addAdminDonneurOrdre(AdminDonneurOrdre $adminDonneurOrdre): self
  757.     {
  758.         if (!$this->adminDonneurOrdres->contains($adminDonneurOrdre)) {
  759.             $this->adminDonneurOrdres[] = $adminDonneurOrdre;
  760.             $adminDonneurOrdre->setSousJacent($this);
  761.         }
  762.         return $this;
  763.     }
  764.     public function removeAdminDonneurOrdre(AdminDonneurOrdre $adminDonneurOrdre): self
  765.     {
  766.         if ($this->adminDonneurOrdres->contains($adminDonneurOrdre)) {
  767.             $this->adminDonneurOrdres->removeElement($adminDonneurOrdre);
  768.             // set the owning side to null (unless already changed)
  769.             if ($adminDonneurOrdre->getSousJacent() === $this) {
  770.                 $adminDonneurOrdre->setSousJacent(null);
  771.             }
  772.         }
  773.         return $this;
  774.     }
  775.     /**
  776.      * @return Collection|Appariement[]
  777.      */
  778.     public function getAppariements(): Collection
  779.     {
  780.         return $this->appariements;
  781.     }
  782.     public function addAppariement(Appariement $appariement): self
  783.     {
  784.         if (!$this->appariements->contains($appariement)) {
  785.             $this->appariements[] = $appariement;
  786.             $appariement->setSousJacent($this);
  787.         }
  788.         return $this;
  789.     }
  790.     public function removeAppariement(Appariement $appariement): self
  791.     {
  792.         if ($this->appariements->contains($appariement)) {
  793.             $this->appariements->removeElement($appariement);
  794.             // set the owning side to null (unless already changed)
  795.             if ($appariement->getSousJacent() === $this) {
  796.                 $appariement->setSousJacent(null);
  797.             }
  798.         }
  799.         return $this;
  800.     }
  801.     /**
  802.      * @return Collection|Transaction[]
  803.      */
  804.     public function getTransactions(): Collection
  805.     {
  806.         return $this->transactions;
  807.     }
  808.     public function addTransaction(Transaction $transaction): self
  809.     {
  810.         if (!$this->transactions->contains($transaction)) {
  811.             $this->transactions[] = $transaction;
  812.             $transaction->setSousJacent($this);
  813.         }
  814.         return $this;
  815.     }
  816.     public function removeTransaction(Transaction $transaction): self
  817.     {
  818.         if ($this->transactions->contains($transaction)) {
  819.             $this->transactions->removeElement($transaction);
  820.             // set the owning side to null (unless already changed)
  821.             if ($transaction->getSousJacent() === $this) {
  822.                 $transaction->setSousJacent(null);
  823.             }
  824.         }
  825.         return $this;
  826.     }
  827.     /**
  828.      * @return Collection|Operation[]
  829.      */
  830.     public function getOperations(): Collection
  831.     {
  832.         return $this->operations;
  833.     }
  834.     public function addOperation(Operation $operation): self
  835.     {
  836.         if (!$this->operations->contains($operation)) {
  837.             $this->operations[] = $operation;
  838.             $operation->setSousJacent($this);
  839.         }
  840.         return $this;
  841.     }
  842.     public function removeOperation(Operation $operation): self
  843.     {
  844.         if ($this->operations->contains($operation)) {
  845.             $this->operations->removeElement($operation);
  846.             // set the owning side to null (unless already changed)
  847.             if ($operation->getSousJacent() === $this) {
  848.                 $operation->setSousJacent(null);
  849.             }
  850.         }
  851.         return $this;
  852.     }
  853.     /**
  854.      * @return Collection|AdminDonneurOrdre[]
  855.      */
  856.     public function getAdminDonneurOrdres1(): Collection
  857.     {
  858.         return $this->adminDonneurOrdres1;
  859.     }
  860.     public function addAdminDonneurOrdres1(AdminDonneurOrdre $adminDonneurOrdres1): self
  861.     {
  862.         if (!$this->adminDonneurOrdres1->contains($adminDonneurOrdres1)) {
  863.             $this->adminDonneurOrdres1[] = $adminDonneurOrdres1;
  864.             $adminDonneurOrdres1->setSousJacent1($this);
  865.         }
  866.         return $this;
  867.     }
  868.     public function removeAdminDonneurOrdres1(AdminDonneurOrdre $adminDonneurOrdres1): self
  869.     {
  870.         if ($this->adminDonneurOrdres1->contains($adminDonneurOrdres1)) {
  871.             $this->adminDonneurOrdres1->removeElement($adminDonneurOrdres1);
  872.             // set the owning side to null (unless already changed)
  873.             if ($adminDonneurOrdres1->getSousJacent1() === $this) {
  874.                 $adminDonneurOrdres1->setSousJacent1(null);
  875.             }
  876.         }
  877.         return $this;
  878.     }
  879.     /**
  880.      * @return Collection|AdminDonneurOrdre[]
  881.      */
  882.     public function getAdminDonneurOrdres2(): Collection
  883.     {
  884.         return $this->adminDonneurOrdres2;
  885.     }
  886.     public function addAdminDonneurOrdres2(AdminDonneurOrdre $adminDonneurOrdres2): self
  887.     {
  888.         if (!$this->adminDonneurOrdres2->contains($adminDonneurOrdres2)) {
  889.             $this->adminDonneurOrdres2[] = $adminDonneurOrdres2;
  890.             $adminDonneurOrdres2->setSousJacent2($this);
  891.         }
  892.         return $this;
  893.     }
  894.     public function removeAdminDonneurOrdres2(AdminDonneurOrdre $adminDonneurOrdres2): self
  895.     {
  896.         if ($this->adminDonneurOrdres2->contains($adminDonneurOrdres2)) {
  897.             $this->adminDonneurOrdres2->removeElement($adminDonneurOrdres2);
  898.             // set the owning side to null (unless already changed)
  899.             if ($adminDonneurOrdres2->getSousJacent2() === $this) {
  900.                 $adminDonneurOrdres2->setSousJacent2(null);
  901.             }
  902.         }
  903.         return $this;
  904.     }
  905.     /**
  906.      * @return Collection|LetterOfIntentToPurchase[]
  907.      */
  908.     public function getLetterOfIntentToPurchases(): Collection
  909.     {
  910.         return $this->letterOfIntentToPurchases;
  911.     }
  912.     public function addLetterOfIntentToPurchase(LetterOfIntentToPurchase $letterOfIntentToPurchase): self
  913.     {
  914.         if (!$this->letterOfIntentToPurchases->contains($letterOfIntentToPurchase)) {
  915.             $this->letterOfIntentToPurchases[] = $letterOfIntentToPurchase;
  916.             $letterOfIntentToPurchase->setSousJacent($this);
  917.         }
  918.         return $this;
  919.     }
  920.     public function removeLetterOfIntentToPurchase(LetterOfIntentToPurchase $letterOfIntentToPurchase): self
  921.     {
  922.         if ($this->letterOfIntentToPurchases->contains($letterOfIntentToPurchase)) {
  923.             $this->letterOfIntentToPurchases->removeElement($letterOfIntentToPurchase);
  924.             // set the owning side to null (unless already changed)
  925.             if ($letterOfIntentToPurchase->getSousJacent() === $this) {
  926.                 $letterOfIntentToPurchase->setSousJacent(null);
  927.             }
  928.         }
  929.         return $this;
  930.     }
  931.     /**
  932.      * @return Collection|AppelDeMarge[]
  933.      */
  934.     public function getAppelDeMarges(): Collection
  935.     {
  936.         return $this->appelDeMarges;
  937.     }
  938.     public function addAppelDeMarge(AppelDeMarge $appelDeMarge): self
  939.     {
  940.         if (!$this->appelDeMarges->contains($appelDeMarge)) {
  941.             $this->appelDeMarges[] = $appelDeMarge;
  942.             $appelDeMarge->setSousJacent($this);
  943.         }
  944.         return $this;
  945.     }
  946.     public function removeAppelDeMarge(AppelDeMarge $appelDeMarge): self
  947.     {
  948.         if ($this->appelDeMarges->contains($appelDeMarge)) {
  949.             $this->appelDeMarges->removeElement($appelDeMarge);
  950.             // set the owning side to null (unless already changed)
  951.             if ($appelDeMarge->getSousJacent() === $this) {
  952.                 $appelDeMarge->setSousJacent(null);
  953.             }
  954.         }
  955.         return $this;
  956.     }
  957.     public function getFiliere(): ?Products
  958.     {
  959.         return $this->filiere;
  960.     }
  961.     public function setFiliere(?Products $filiere): self
  962.     {
  963.         $this->filiere $filiere;
  964.         return $this;
  965.     }
  966.     public function getQualite(): ?Qualite
  967.     {
  968.         return $this->qualite;
  969.     }
  970.     public function setQualite(?Qualite $qualite): self
  971.     {
  972.         $this->qualite $qualite;
  973.         return $this;
  974.     }
  975.     public function getMandat(): ?AdminDonneurOrdre
  976.     {
  977.         return $this->mandat;
  978.     }
  979.     public function setMandat(?AdminDonneurOrdre $mandat): self
  980.     {
  981.         $this->mandat $mandat;
  982.         return $this;
  983.     }
  984.     public function getQtMinUnite(): ?Unite
  985.     {
  986.         return $this->qt_min_unite;
  987.     }
  988.     public function setQtMinUnite(?Unite $qt_min_unite): self
  989.     {
  990.         $this->qt_min_unite $qt_min_unite;
  991.         return $this;
  992.     }
  993.     public function getUnite2(): ?Devise
  994.     {
  995.         return $this->unite2;
  996.     }
  997.     public function setUnite2(?Devise $unite2): self
  998.     {
  999.         $this->unite2 $unite2;
  1000.         return $this;
  1001.     }
  1002.     public function getUnite1(): ?Devise
  1003.     {
  1004.         return $this->unite1;
  1005.     }
  1006.     public function setUnite1(?Devise $unite1): self
  1007.     {
  1008.         $this->unite1 $unite1;
  1009.         return $this;
  1010.     }
  1011.     public function getNiveau(): ?Niveau
  1012.     {
  1013.         return $this->niveau;
  1014.     }
  1015.     public function setNiveau(?Niveau $niveau): self
  1016.     {
  1017.         $this->niveau $niveau;
  1018.         return $this;
  1019.     }
  1020.     public function getUnite3(): ?Unite
  1021.     {
  1022.         return $this->unite3;
  1023.     }
  1024.     public function setUnite3(?Unite $unite3): self
  1025.     {
  1026.         $this->unite3 $unite3;
  1027.         return $this;
  1028.     }
  1029.     public function getStatus(): ?Status
  1030.     {
  1031.         return $this->status;
  1032.     }
  1033.     public function setStatus(?Status $status): self
  1034.     {
  1035.         $this->status $status;
  1036.         return $this;
  1037.     }
  1038.     /**
  1039.      * @return Collection|TraitementDsDemdDachat[]
  1040.      */
  1041.     public function getTraitementDsDemdDachats(): Collection
  1042.     {
  1043.         return $this->traitementDsDemdDachats;
  1044.     }
  1045.     public function addTraitementDsDemdDachat(TraitementDsDemdDachat $traitementDsDemdDachat): self
  1046.     {
  1047.         if (!$this->traitementDsDemdDachats->contains($traitementDsDemdDachat)) {
  1048.             $this->traitementDsDemdDachats[] = $traitementDsDemdDachat;
  1049.             $traitementDsDemdDachat->setSousJacent($this);
  1050.         }
  1051.         return $this;
  1052.     }
  1053.     public function removeTraitementDsDemdDachat(TraitementDsDemdDachat $traitementDsDemdDachat): self
  1054.     {
  1055.         if ($this->traitementDsDemdDachats->contains($traitementDsDemdDachat)) {
  1056.             $this->traitementDsDemdDachats->removeElement($traitementDsDemdDachat);
  1057.             // set the owning side to null (unless already changed)
  1058.             if ($traitementDsDemdDachat->getSousJacent() === $this) {
  1059.                 $traitementDsDemdDachat->setSousJacent(null);
  1060.             }
  1061.         }
  1062.         return $this;
  1063.     }
  1064.     public function getStade(): ?Stade
  1065.     {
  1066.         return $this->stade;
  1067.     }
  1068.     public function setStade(?Stade $stade): self
  1069.     {
  1070.         $this->stade $stade;
  1071.         return $this;
  1072.     }
  1073.     /**
  1074.      * @return Collection|Quotation[]
  1075.      */
  1076.     public function getQuotations(): Collection
  1077.     {
  1078.         return $this->quotations;
  1079.     }
  1080.     public function addQuotation(Quotation $quotation): self
  1081.     {
  1082.         if (!$this->quotations->contains($quotation)) {
  1083.             $this->quotations[] = $quotation;
  1084.             $quotation->setSousJacent($this);
  1085.         }
  1086.         return $this;
  1087.     }
  1088.     public function removeQuotation(Quotation $quotation): self
  1089.     {
  1090.         if ($this->quotations->contains($quotation)) {
  1091.             $this->quotations->removeElement($quotation);
  1092.             // set the owning side to null (unless already changed)
  1093.             if ($quotation->getSousJacent() === $this) {
  1094.                 $quotation->setSousJacent(null);
  1095.             }
  1096.         }
  1097.         return $this;
  1098.     }
  1099.     /**
  1100.      * @return Collection|DemandeDeCotation[]
  1101.      */
  1102.     public function getDemandeDeCotations(): Collection
  1103.     {
  1104.         return $this->demandeDeCotations;
  1105.     }
  1106.     public function addDemandeDeCotation(DemandeDeCotation $demandeDeCotation): self
  1107.     {
  1108.         if (!$this->demandeDeCotations->contains($demandeDeCotation)) {
  1109.             $this->demandeDeCotations[] = $demandeDeCotation;
  1110.             $demandeDeCotation->setSousjacent($this);
  1111.         }
  1112.         return $this;
  1113.     }
  1114.     public function removeDemandeDeCotation(DemandeDeCotation $demandeDeCotation): self
  1115.     {
  1116.         if ($this->demandeDeCotations->contains($demandeDeCotation)) {
  1117.             $this->demandeDeCotations->removeElement($demandeDeCotation);
  1118.             // set the owning side to null (unless already changed)
  1119.             if ($demandeDeCotation->getSousjacent() === $this) {
  1120.                 $demandeDeCotation->setSousjacent(null);
  1121.             }
  1122.         }
  1123.         return $this;
  1124.     }
  1125. }