src/Entity/AdminDonneurOrdre.php line 13

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. use Symfony\Component\Validator\Constraints as Assert;
  7. /**
  8.  * @ORM\Entity(repositoryClass="App\Repository\AdminDonneurOrdreRepository")
  9.  */
  10. class AdminDonneurOrdre
  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 $type;
  22.     /**
  23.      * @ORM\Column(type="string", length=255, nullable=true)
  24.      */
  25.     private $code;
  26.     /**
  27.      * @ORM\Column(type="string", length=255, nullable=true)
  28.      */
  29.     private $raison;
  30.     /**
  31.      * @ORM\Column(type="string", length=255, nullable=true)
  32.      */
  33.     private $identifiant;
  34.     /**
  35.      * @ORM\Column(type="string", length=255, nullable=true)
  36.      */
  37.     private $adresse;
  38.     /**
  39.      * @ORM\Column(type="string", length=255, nullable=true)
  40.      */
  41.     private $cp;
  42.     /**
  43.      * @ORM\Column(type="string", length=255, nullable=true)
  44.      */
  45.     private $tel;
  46.     /**
  47.      * @ORM\Column(type="string", length=255, nullable=true)
  48.      */
  49.     private $email;
  50.     /**
  51.      * @ORM\Column(type="string", length=255, nullable=true)
  52.      */
  53.     private $dirigeant;
  54.     /**
  55.      * @ORM\Column(type="string", length=255, nullable=true)
  56.      */
  57.     private $fonction;
  58.     /**
  59.      * @ORM\Column(type="string", length=255, nullable=true)
  60.      */
  61.     private $produit;
  62.     /**
  63.      * @ORM\Column(type="string", length=255, nullable=true)
  64.      */
  65.     private $capacite;
  66.     /**
  67.      * @ORM\Column(type="string", length=255, nullable=true)
  68.      */
  69.     private $prix_fob;
  70.     /**
  71.      * @ORM\Column(type="string", length=255, nullable=true)
  72.      */
  73.     private $ut;
  74.     /**
  75.      * @ORM\Column(type="string", length=255, nullable=true)
  76.      */
  77.     private $certification;
  78.     /**
  79.      * @ORM\Column(type="string", length=255, nullable=true)
  80.      */
  81.     private $mode_reglement;
  82.     /**
  83.      * @ORM\Column(type="string", length=255, nullable=true)
  84.      */
  85.     private $banque;
  86.     /**
  87.      * @ORM\Column(type="string", length=255, nullable=true)
  88.      */
  89.     private $banque_adresse;
  90.     /**
  91.      * @ORM\Column(type="string", length=255, nullable=true)
  92.      */
  93.     private $code_swift;
  94.     /**
  95.      * @ORM\Column(type="string", length=255, nullable=true)
  96.      */
  97.     private $iban;
  98.     /**
  99.      * @ORM\Column(type="string", length=255, nullable=true)
  100.      */
  101.     private $num_compte;
  102.     /**
  103.      * @ORM\Column(type="string", length=255, nullable=true)
  104.      */
  105.     private $titulaire_compte;
  106.     /**
  107.      * @ORM\Column(type="string", length=255, nullable=true)
  108.      */
  109.     private $gestionnaire_compte;
  110.     /**
  111.      * @ORM\Column(type="datetime", nullable=true)
  112.      */
  113.     private $date_d;
  114.     /**
  115.      * @ORM\Column(type="string", length=255, nullable=true)
  116.      */
  117.     private $tc;
  118.     /**
  119.      * @ORM\Column(type="string", length=255, nullable=true)
  120.      */
  121.     private $numero;
  122.     /**
  123.      * @ORM\Column(type="string", length=255, nullable=true)
  124.      */
  125.     /**
  126.      * @ORM\Column(type="string", length=255, nullable=true)
  127.      */
  128.     private $pays;
  129.     /**
  130.      * @ORM\Column(type="string", length=255, nullable=true)
  131.      */
  132.     private $ville;
  133.     /**
  134.      * @ORM\Column(type="string", length=255, nullable=true)
  135.      */
  136.     private $website;
  137.     /**
  138.      * @ORM\Column(type="string", length=255, nullable=true)
  139.      */
  140.     private $produit1;
  141.     /**
  142.      * @ORM\Column(type="string", length=255, nullable=true)
  143.      */
  144.     private $produit2;
  145.     /**
  146.      * @ORM\Column(type="string", length=255, nullable=true)
  147.      */
  148.     private $produit3;
  149.     /**
  150.      * @ORM\Column(type="string", length=255, nullable=true)
  151.      */
  152.     private $capacite1;
  153.     /**
  154.      * @ORM\Column(type="string", length=255, nullable=true)
  155.      */
  156.     private $capacite2;
  157.     /**
  158.      * @ORM\Column(type="string", length=255, nullable=true)
  159.      */
  160.     private $capacite3;
  161.     /**
  162.      * @ORM\Column(type="integer", nullable=true)
  163.      * @Assert\GreaterThanOrEqual(0, message="l'évaluation doit etre superieur ou egale à 0 ")
  164.      */
  165.     private $evaluation;
  166.     /**
  167.      * @ORM\Column(type="string", length=255, nullable=true)
  168.      */
  169.     private $prix_fob1;
  170.     /**
  171.      * @ORM\Column(type="string", length=255, nullable=true)
  172.      */
  173.     private $prix_fob2;
  174.     /**
  175.      * @ORM\Column(type="string", length=255, nullable=true)
  176.      */
  177.     private $prix_fob3;
  178.     /**
  179.      * @ORM\Column(type="string", length=255, nullable=true)
  180.      */
  181.     private $certification1;
  182.     /**
  183.      * @ORM\Column(type="string", length=255, nullable=true)
  184.      */
  185.     private $certification2;
  186.     /**
  187.      * @ORM\Column(type="string", length=255, nullable=true)
  188.      */
  189.     private $certification3;
  190.     /**
  191.      * @ORM\Column(type="string", length=255, nullable=true)
  192.      */
  193.     private $gestionnaire_email;
  194.     /**
  195.      * @ORM\Column(type="string", length=255, nullable=true)
  196.      */
  197.     private $ut1;
  198.     /**
  199.      * @ORM\Column(type="string", length=255, nullable=true)
  200.      */
  201.     private $ut2;
  202.     /**
  203.      * @ORM\Column(type="string", length=255, nullable=true)
  204.      */
  205.     private $ut3;
  206.     /**
  207.      * @ORM\Column(type="datetime")
  208.      */
  209.     private $createdAt;
  210.     /**
  211.      * @ORM\OneToMany(targetEntity="App\Entity\OperationDeCourtage", mappedBy="donneur")
  212.      */
  213.     private $donneurOperation;
  214.     /**
  215.      * @ORM\ManyToOne(targetEntity="App\Entity\User", inversedBy="adminDonneurOrdres")
  216.      */
  217.     private $lead;
  218.     /**
  219.      * @ORM\ManyToOne(targetEntity="App\Entity\User", inversedBy="adminDonneurOrdres_suivi")
  220.      */
  221.     private $suivi_par;
  222.     /**
  223.      * @ORM\ManyToOne(targetEntity="App\Entity\Devise", inversedBy="adminDonneurOrdres")
  224.      */
  225.     private $devise;
  226.     /**
  227.      * @ORM\ManyToOne(targetEntity="App\Entity\Unite", inversedBy="adminDonneurOrdres")
  228.      */
  229.     private $unite;
  230.     /**
  231.      * @ORM\ManyToOne(targetEntity="App\Entity\SousJacent", inversedBy="adminDonneurOrdres")
  232.      */
  233.     private $sous_jacent;
  234.     /**
  235.      * @ORM\Column(type="string", length=255, nullable=true)
  236.      */
  237.     private $envoi_echantillon;
  238.     /**
  239.      * @ORM\Column(type="string", length=255, nullable=true)
  240.      */
  241.     private $autres;
  242.     /**
  243.      * @ORM\Column(type="string", length=255, nullable=true)
  244.      */
  245.     private $activite;
  246.     /**
  247.      * @ORM\Column(type="string", length=255, nullable=true)
  248.      */
  249.     private $couriel;
  250.     /**
  251.      * @ORM\Column(type="string", length=255, nullable=true)
  252.      */
  253.     private $port;
  254.     /**
  255.      * @ORM\Column(type="text", nullable=true)
  256.      */
  257.     private $description;
  258.     /**
  259.      * @ORM\Column(type="string", length=255, nullable=true)
  260.      */
  261.     private $referent;
  262.     /**
  263.      * @ORM\ManyToOne(targetEntity="App\Entity\Products", inversedBy="adminDonneurOrdres")
  264.      */
  265.     private $filiere;
  266.     /**
  267.      * @ORM\Column(type="string", length=255, nullable=true)
  268.      */
  269.     private $origine_dest;
  270.     /**
  271.      * @ORM\Column(type="integer", nullable=true)
  272.      */
  273.     private $spot_target;
  274.     /**
  275.      * @ORM\Column(type="integer", nullable=true)
  276.      */
  277.     private $quantite_contactuelle;
  278.     /**
  279.      * @ORM\ManyToOne(targetEntity="App\Entity\SousJacent", inversedBy="adminDonneurOrdres1")
  280.      */
  281.     private $sousJacent1;
  282.     /**
  283.      * @ORM\ManyToOne(targetEntity="App\Entity\SousJacent", inversedBy="adminDonneurOrdres2")
  284.      */
  285.     private $sousJacent2;
  286.     /**
  287.      * @ORM\OneToMany(targetEntity="App\Entity\Appariement", mappedBy="acheteur")
  288.      */
  289.     private $appariementAcheteurs;
  290.     /**
  291.      * @ORM\OneToMany(targetEntity="App\Entity\SousJacent", mappedBy="mandat")
  292.      */
  293.     private $mandats;
  294.     /**
  295.      * @ORM\OneToMany(targetEntity="App\Entity\Quotation", mappedBy="mandat")
  296.      */
  297.     private $qmandats;
  298.     /**
  299.      * @ORM\OneToMany(targetEntity="App\Entity\Appariement", mappedBy="vendeur")
  300.      */
  301.     private $appariementVendeurs;
  302.     /**
  303.      * @ORM\OneToMany(targetEntity="App\Entity\Transaction", mappedBy="vendeur")
  304.      */
  305.     private $transactions;
  306.     /**
  307.      * @ORM\OneToMany(targetEntity="App\Entity\Operation", mappedBy="vendeur")
  308.      */
  309.     private $operations;
  310.     /**
  311.      * @ORM\ManyToOne(targetEntity="App\Entity\Niveau", inversedBy="adminDonneurOrdres")
  312.      */
  313.     private $niveau;
  314.     /**
  315.      * @ORM\ManyToOne(targetEntity="App\Entity\Status", inversedBy="adminDonneurOrdres")
  316.      */
  317.     private $status;
  318.     /**
  319.      * @ORM\ManyToOne(targetEntity="App\Entity\Incoterm", inversedBy="adminDonneurOrdres")
  320.      */
  321.     private $base;
  322.     /**
  323.      * @ORM\ManyToOne(targetEntity="App\Entity\Products", inversedBy="adminDonneurOrdreFiliere1")
  324.      */
  325.     private $filiere1;
  326.     /**
  327.      * @ORM\ManyToOne(targetEntity="App\Entity\Products", inversedBy="adminDonneurOrdreFiliere2")
  328.      */
  329.     private $filiere2;
  330.     /**
  331.      * @ORM\ManyToOne(targetEntity="App\Entity\Products")
  332.      */
  333.     private $filiere3;
  334.     /**
  335.      * @ORM\ManyToOne(targetEntity="App\Entity\Duree", inversedBy="adminDonneurOrdres")
  336.      */
  337.     private $duree;
  338.     /**
  339.      * @ORM\ManyToOne(targetEntity="App\Entity\Position", inversedBy="adminDonneurOrdres")
  340.      */
  341.     private $position;
  342.     /**
  343.      * @ORM\ManyToOne(targetEntity="App\Entity\NatureContrat", inversedBy="adminDonneurOrdres")
  344.      */
  345.     private $nature_contrat;
  346.     /**
  347.      * @ORM\OneToMany(targetEntity="App\Entity\FraisDeCourtage", mappedBy="client")
  348.      */
  349.     private $fraisDeCourtages;
  350.     /**
  351.      * @ORM\OneToMany(targetEntity="App\Entity\Operation", mappedBy="acheteur")
  352.      */
  353.     private $operationAcheteur;
  354.     /**
  355.      * @ORM\OneToMany(targetEntity="App\Entity\LetterOfIntentToPurchase", mappedBy="recipient")
  356.      */
  357.     private $recipient;
  358.     public function __construct()
  359.     {
  360.         $this->createdAt = new \DateTime('now');
  361.         $this->date_d = new \DateTime('now');
  362.         $this->identifiant 'ID-R.C-SIREN'.random_int(1,900).date('s');
  363.         $this->numero 'ADO'.random_int(1,900).date('s');
  364.         $this->donneurOperation = new ArrayCollection();
  365.         $this->appariementAcheteurs = new ArrayCollection();
  366.         $this->appariementVendeurs = new ArrayCollection();
  367.         $this->transactions = new ArrayCollection();
  368.         $this->operations = new ArrayCollection();
  369.         $this->fraisDeCourtages = new ArrayCollection();
  370.         $this->operationAcheteur = new ArrayCollection();
  371.         $this->recipient = new ArrayCollection();
  372.         $this->mandats = new ArrayCollection();
  373.         $this->qmandats = new ArrayCollection();
  374.     }
  375.     public function getId(): ?int
  376.     {
  377.         return $this->id;
  378.     }
  379.     public function getType(): ?string
  380.     {
  381.         return $this->type;
  382.     }
  383.     public function setType(string $type): self
  384.     {
  385.         $this->type $type;
  386.         return $this;
  387.     }
  388.     public function getCode(): ?string
  389.     {
  390.         return $this->code;
  391.     }
  392.     public function setCode(?string $code): self
  393.     {
  394.         $this->code $code;
  395.         return $this;
  396.     }
  397.     public function getEvaluation(): ?string
  398.     {
  399.         return $this->evaluation;
  400.     }
  401.     public function setEvaluation(?string $evaluation): self
  402.     {
  403.         $this->evaluation $evaluation;
  404.         return $this;
  405.     }
  406.     public function getRaison(): ?string
  407.     {
  408.         return $this->raison;
  409.     }
  410.     public function setRaison(string $raison): self
  411.     {
  412.         $this->raison $raison;
  413.         return $this;
  414.     }
  415.     public function getIdentifiant(): ?string
  416.     {
  417.         return $this->identifiant;
  418.     }
  419.     public function setIdentifiant(?string $identifiant): self
  420.     {
  421.         $this->identifiant $identifiant;
  422.         return $this;
  423.     }
  424.     public function getAdresse(): ?string
  425.     {
  426.         return $this->adresse;
  427.     }
  428.     public function setAdresse(?string $adresse): self
  429.     {
  430.         $this->adresse $adresse;
  431.         return $this;
  432.     }
  433.     public function getCp(): ?string
  434.     {
  435.         return $this->cp;
  436.     }
  437.     public function setCp(?string $cp): self
  438.     {
  439.         $this->cp $cp;
  440.         return $this;
  441.     }
  442.     public function getTel(): ?string
  443.     {
  444.         return $this->tel;
  445.     }
  446.     public function setTel(?string $tel): self
  447.     {
  448.         $this->tel $tel;
  449.         return $this;
  450.     }
  451.     public function getEmail(): ?string
  452.     {
  453.         return $this->email;
  454.     }
  455.     public function setEmail(?string $email): self
  456.     {
  457.         $this->email $email;
  458.         return $this;
  459.     }
  460.     public function getDirigeant(): ?string
  461.     {
  462.         return $this->dirigeant;
  463.     }
  464.     public function setDirigeant(?string $dirigeant): self
  465.     {
  466.         $this->dirigeant $dirigeant;
  467.         return $this;
  468.     }
  469.     public function getFonction(): ?string
  470.     {
  471.         return $this->fonction;
  472.     }
  473.     public function setFonction(?string $fonction): self
  474.     {
  475.         $this->fonction $fonction;
  476.         return $this;
  477.     }
  478.     public function getProduit(): ?string
  479.     {
  480.         return $this->produit;
  481.     }
  482.     public function setProduit(string $produit): self
  483.     {
  484.         $this->produit $produit;
  485.         return $this;
  486.     }
  487.     public function getCapacite(): ?string
  488.     {
  489.         return $this->capacite;
  490.     }
  491.     public function setCapacite(?string $capacite): self
  492.     {
  493.         $this->capacite $capacite;
  494.         return $this;
  495.     }
  496.     public function getPrixFob(): ?string
  497.     {
  498.         return $this->prix_fob;
  499.     }
  500.     public function setPrixFob(?string $prix_fob): self
  501.     {
  502.         $this->prix_fob $prix_fob;
  503.         return $this;
  504.     }
  505.     public function getUt(): ?string
  506.     {
  507.         return $this->ut;
  508.     }
  509.     public function setUt(?string $ut): self
  510.     {
  511.         $this->ut $ut;
  512.         return $this;
  513.     }
  514.     public function getCertification(): ?string
  515.     {
  516.         return $this->certification;
  517.     }
  518.     public function setCertification(?string $certification): self
  519.     {
  520.         $this->certification $certification;
  521.         return $this;
  522.     }
  523.     public function getModeReglement(): ?string
  524.     {
  525.         return $this->mode_reglement;
  526.     }
  527.     public function setModeReglement(?string $mode_reglement): self
  528.     {
  529.         $this->mode_reglement $mode_reglement;
  530.         return $this;
  531.     }
  532.     public function getBanque(): ?string
  533.     {
  534.         return $this->banque;
  535.     }
  536.     public function setBanque(?string $banque): self
  537.     {
  538.         $this->banque $banque;
  539.         return $this;
  540.     }
  541.     public function getBanqueAdresse(): ?string
  542.     {
  543.         return $this->banque_adresse;
  544.     }
  545.     public function setBanqueAdresse(?string $banque_adresse): self
  546.     {
  547.         $this->banque_adresse $banque_adresse;
  548.         return $this;
  549.     }
  550.     public function getCodeSwift(): ?string
  551.     {
  552.         return $this->code_swift;
  553.     }
  554.     public function setCodeSwift(?string $code_swift): self
  555.     {
  556.         $this->code_swift $code_swift;
  557.         return $this;
  558.     }
  559.     public function getIban(): ?string
  560.     {
  561.         return $this->iban;
  562.     }
  563.     public function setIban(?string $iban): self
  564.     {
  565.         $this->iban $iban;
  566.         return $this;
  567.     }
  568.     public function getNumCompte(): ?string
  569.     {
  570.         return $this->num_compte;
  571.     }
  572.     public function setNumCompte(?string $num_compte): self
  573.     {
  574.         $this->num_compte $num_compte;
  575.         return $this;
  576.     }
  577.     public function getTitulaireCompte(): ?string
  578.     {
  579.         return $this->titulaire_compte;
  580.     }
  581.     public function setTitulaireCompte(?string $titulaire_compte): self
  582.     {
  583.         $this->titulaire_compte $titulaire_compte;
  584.         return $this;
  585.     }
  586.     public function getGestionnaireCompte(): ?string
  587.     {
  588.         return $this->gestionnaire_compte;
  589.     }
  590.     public function setGestionnaireCompte(?string $gestionnaire_compte): self
  591.     {
  592.         $this->gestionnaire_compte $gestionnaire_compte;
  593.         return $this;
  594.     }
  595.     public function getCreatedAt(): ?\DateTimeInterface
  596.     {
  597.         return $this->createdAt;
  598.     }
  599.     public function setCreatedAt(\DateTimeInterface $createdAt): self
  600.     {
  601.         $this->createdAt $createdAt;
  602.         return $this;
  603.     }
  604.     public function getDateD():?\DateTimeInterface
  605.     {
  606.         return $this->date_d;
  607.     }
  608.     public function setDateD(?\DateTimeInterface $date_d): self
  609.     {
  610.         $this->date_d $date_d;
  611.         return $this;
  612.     }
  613.     public function getTc(): ?string
  614.     {
  615.         return $this->tc;
  616.     }
  617.     public function setTc(?string $tc): self
  618.     {
  619.         $this->tc $tc;
  620.         return $this;
  621.     }
  622.     public function getNumero(): ?string
  623.     {
  624.         return $this->numero;
  625.     }
  626.     public function setNumero(?string $numero): self
  627.     {
  628.         $this->numero $numero;
  629.         return $this;
  630.     }
  631.     public function getPays(): ?string
  632.     {
  633.         return $this->pays;
  634.     }
  635.     public function setPays(?string $pays): self
  636.     {
  637.         $this->pays $pays;
  638.         return $this;
  639.     }
  640.     public function getVille(): ?string
  641.     {
  642.         return $this->ville;
  643.     }
  644.     public function setVille(?string $ville): self
  645.     {
  646.         $this->ville $ville;
  647.         return $this;
  648.     }
  649.     public function getWebsite(): ?string
  650.     {
  651.         return $this->website;
  652.     }
  653.     public function setWebsite(?string $website): self
  654.     {
  655.         $this->website $website;
  656.         return $this;
  657.     }
  658.     public function getProduit1(): ?string
  659.     {
  660.         return $this->produit1;
  661.     }
  662.     public function setProduit1(?string $produit1): self
  663.     {
  664.         $this->produit1 $produit1;
  665.         return $this;
  666.     }
  667.     public function getProduit2(): ?string
  668.     {
  669.         return $this->produit2;
  670.     }
  671.     public function setProduit2(?string $produit2): self
  672.     {
  673.         $this->produit2 $produit2;
  674.         return $this;
  675.     }
  676.     public function getProduit3(): ?string
  677.     {
  678.         return $this->produit3;
  679.     }
  680.     public function setProduit3(?string $produit3): self
  681.     {
  682.         $this->produit3 $produit3;
  683.         return $this;
  684.     }
  685.     public function getCapacite1(): ?string
  686.     {
  687.         return $this->capacite1;
  688.     }
  689.     public function setCapacite1(?string $capacite1): self
  690.     {
  691.         $this->capacite1 $capacite1;
  692.         return $this;
  693.     }
  694.     public function getCapacite2(): ?string
  695.     {
  696.         return $this->capacite2;
  697.     }
  698.     public function setCapacite2(?string $capacite2): self
  699.     {
  700.         $this->capacite2 $capacite2;
  701.         return $this;
  702.     }
  703.     public function getCapacite3(): ?string
  704.     {
  705.         return $this->capacite3;
  706.     }
  707.     public function setCapacite3(?string $capacite3): self
  708.     {
  709.         $this->capacite3 $capacite3;
  710.         return $this;
  711.     }
  712.     public function getPrixFob1(): ?string
  713.     {
  714.         return $this->prix_fob1;
  715.     }
  716.     public function setPrixFob1(?string $prix_fob1): self
  717.     {
  718.         $this->prix_fob1 $prix_fob1;
  719.         return $this;
  720.     }
  721.     public function getPrixFob2(): ?string
  722.     {
  723.         return $this->prix_fob2;
  724.     }
  725.     public function setPrixFob2(?string $prix_fob2): self
  726.     {
  727.         $this->prix_fob2 $prix_fob2;
  728.         return $this;
  729.     }
  730.     public function getPrixFob3(): ?string
  731.     {
  732.         return $this->prix_fob3;
  733.     }
  734.     public function setPrixFob3(?string $prix_fob3): self
  735.     {
  736.         $this->prix_fob3 $prix_fob3;
  737.         return $this;
  738.     }
  739.     public function getCertification1(): ?string
  740.     {
  741.         return $this->certification1;
  742.     }
  743.     public function setCertification1(?string $certification1): self
  744.     {
  745.         $this->certification1 $certification1;
  746.         return $this;
  747.     }
  748.     public function getCertification2(): ?string
  749.     {
  750.         return $this->certification2;
  751.     }
  752.     public function setCertification2(?string $certification2): self
  753.     {
  754.         $this->certification2 $certification2;
  755.         return $this;
  756.     }
  757.     public function getCertification3(): ?string
  758.     {
  759.         return $this->certification3;
  760.     }
  761.     public function setCertification3(?string $certification3): self
  762.     {
  763.         $this->certification3 $certification3;
  764.         return $this;
  765.     }
  766.     public function getGestionnaireEmail(): ?string
  767.     {
  768.         return $this->gestionnaire_email;
  769.     }
  770.     public function setGestionnaireEmail(?string $gestionnaire_email): self
  771.     {
  772.         $this->gestionnaire_email $gestionnaire_email;
  773.         return $this;
  774.     }
  775.     public function getUt1(): ?string
  776.     {
  777.         return $this->ut1;
  778.     }
  779.     public function setUt1(?string $ut1): self
  780.     {
  781.         $this->ut1 $ut1;
  782.         return $this;
  783.     }
  784.     public function getUt2(): ?string
  785.     {
  786.         return $this->ut2;
  787.     }
  788.     public function setUt2(?string $ut2): self
  789.     {
  790.         $this->ut2 $ut2;
  791.         return $this;
  792.     }
  793.     public function getUt3(): ?string
  794.     {
  795.         return $this->ut3;
  796.     }
  797.     public function setUt3(?string $ut3): self
  798.     {
  799.         $this->ut3 $ut3;
  800.         return $this;
  801.     }
  802. //    public function __toString(){
  803. //        return $this->numero;
  804. //    }
  805.     /**
  806.      * @return Collection|OperationDeCourtage[]
  807.      */
  808.     public function getDonneurOperation(): Collection
  809.     {
  810.         return $this->donneurOperation;
  811.     }
  812.     public function addDonneurOperation(OperationDeCourtage $donneurOperation): self
  813.     {
  814.         if (!$this->donneurOperation->contains($donneurOperation)) {
  815.             $this->donneurOperation[] = $donneurOperation;
  816.             $donneurOperation->setDonneur($this);
  817.         }
  818.         return $this;
  819.     }
  820.     public function removeDonneurOperation(OperationDeCourtage $donneurOperation): self
  821.     {
  822.         if ($this->donneurOperation->contains($donneurOperation)) {
  823.             $this->donneurOperation->removeElement($donneurOperation);
  824.             // set the owning side to null (unless already changed)
  825.             if ($donneurOperation->getDonneur() === $this) {
  826.                 $donneurOperation->setDonneur(null);
  827.             }
  828.         }
  829.         return $this;
  830.     }
  831.     /**
  832.      * @return Collection
  833.      */
  834.     public function getRecipient(): Collection
  835.     {
  836.         return $this->recipient;
  837.     }
  838.     public function addRecipient(LetterOfIntentToPurchase $recipient): self
  839.     {
  840.         if (!$this->recipient->contains($recipient)) {
  841.             $this->recipient[] = $recipient;
  842.             $recipient->setRecipient($this);
  843.         }
  844.         return $this;
  845.     }
  846.     public function removeRecipient(LetterOfIntentToPurchase $recipient): self
  847.     {
  848.         if ($this->recipient->contains($recipient)) {
  849.             $this->recipient->removeElement($recipient);
  850.             // set the owning side to null (unless already changed)
  851.             if ($recipient->getRecipient() === $this) {
  852.                 $recipient->setRecipient(null);
  853.             }
  854.         }
  855.         return $this;
  856.     }
  857.     public function getLead(): ?User
  858.     {
  859.         return $this->lead;
  860.     }
  861.     public function setLead(?User $lead): self
  862.     {
  863.         $this->lead $lead;
  864.         return $this;
  865.     }
  866.     public function getSuiviPar(): ?User
  867.     {
  868.         return $this->suivi_par;
  869.     }
  870.     public function setSuiviPar(?User $suivi_par): self
  871.     {
  872.         $this->suivi_par $suivi_par;
  873.         return $this;
  874.     }
  875.     
  876.     public function getDevise(): ?Devise
  877.     {
  878.         return $this->devise;
  879.     }
  880.     public function setDevise(?Devise $devise): self
  881.     {
  882.         $this->devise $devise;
  883.         return $this;
  884.     }
  885.     public function getUnite(): ?Unite
  886.     {
  887.         return $this->unite;
  888.     }
  889.     public function setUnite(?Unite $unite): self
  890.     {
  891.         $this->unite $unite;
  892.         return $this;
  893.     }
  894.     public function getSousJacent(): ?SousJacent
  895.     {
  896.         return $this->sous_jacent;
  897.     }
  898.     public function setSousJacent(?SousJacent $sous_jacent): self
  899.     {
  900.         $this->sous_jacent $sous_jacent;
  901.         return $this;
  902.     }
  903.     
  904.     public function getEnvoiEchantillon(): ?string
  905.     {
  906.         return $this->envoi_echantillon;
  907.     }
  908.     public function setEnvoiEchantillon(?string $envoi_echantillon): self
  909.     {
  910.         $this->envoi_echantillon $envoi_echantillon;
  911.         return $this;
  912.     }
  913.     public function getAutres(): ?string
  914.     {
  915.         return $this->autres;
  916.     }
  917.     public function setAutres(?string $autres): self
  918.     {
  919.         $this->autres $autres;
  920.         return $this;
  921.     }
  922.     public function getActivite(): ?string
  923.     {
  924.         return $this->activite;
  925.     }
  926.     public function setActivite(?string $activite): self
  927.     {
  928.         $this->activite $activite;
  929.         return $this;
  930.     }
  931.     public function getCouriel(): ?string
  932.     {
  933.         return $this->couriel;
  934.     }
  935.     public function setCouriel(?string $couriel): self
  936.     {
  937.         $this->couriel $couriel;
  938.         return $this;
  939.     }
  940.     public function getPort(): ?string
  941.     {
  942.         return $this->port;
  943.     }
  944.     public function setPort(?string $port): self
  945.     {
  946.         $this->port $port;
  947.         return $this;
  948.     }
  949.     public function getDescription(): ?string
  950.     {
  951.         return $this->description;
  952.     }
  953.     public function setDescription(?string $description): self
  954.     {
  955.         $this->description $description;
  956.         return $this;
  957.     }
  958.     public function getReferent(): ?string
  959.     {
  960.         return $this->referent;
  961.     }
  962.     public function setReferent(?string $referent): self
  963.     {
  964.         $this->referent $referent;
  965.         return $this;
  966.     }
  967.     public function getFiliere(): ?Products
  968.     {
  969.         return $this->filiere;
  970.     }
  971.     public function setFiliere(?Products $filiere): self
  972.     {
  973.         $this->filiere $filiere;
  974.         return $this;
  975.     }
  976.     public function getOrigineDest(): ?string
  977.     {
  978.         return $this->origine_dest;
  979.     }
  980.     public function setOrigineDest(?string $origine_dest): self
  981.     {
  982.         $this->origine_dest $origine_dest;
  983.         return $this;
  984.     }
  985.     public function getSpotTarget(): ?string
  986.     {
  987.         return $this->spot_target;
  988.     }
  989.     public function setSpotTarget(?int $spot_target): self
  990.     {
  991.         $this->spot_target $spot_target;
  992.         return $this;
  993.     }
  994.     public function getQuantiteContactuelle(): ?int
  995.     {
  996.         return $this->quantite_contactuelle;
  997.     }
  998.     public function setQuantiteContactuelle(?int $quantite_contactuelle): self
  999.     {
  1000.         $this->quantite_contactuelle $quantite_contactuelle;
  1001.         return $this;
  1002.     }
  1003.     public function getSousJacent1(): ?SousJacent
  1004.     {
  1005.         return $this->sousJacent1;
  1006.     }
  1007.     public function setSousJacent1(?SousJacent $sousJacent1): self
  1008.     {
  1009.         $this->sousJacent1 $sousJacent1;
  1010.         return $this;
  1011.     }
  1012.     public function getSousJacent2(): ?SousJacent
  1013.     {
  1014.         return $this->sousJacent2;
  1015.     }
  1016.     public function setSousJacent2(?SousJacent $sousJacent2): self
  1017.     {
  1018.         $this->sousJacent2 $sousJacent2;
  1019.         return $this;
  1020.     }
  1021.     /**
  1022.      * @return Collection|Appariement[]
  1023.      */
  1024.     public function getAppariementAcheteurs(): Collection
  1025.     {
  1026.         return $this->appariementAcheteurs;
  1027.     }
  1028.     public function addAppariementAcheteur(Appariement $appariementAcheteur): self
  1029.     {
  1030.         if (!$this->appariementAcheteurs->contains($appariementAcheteur)) {
  1031.             $this->appariementAcheteurs[] = $appariementAcheteur;
  1032.             $appariementAcheteur->setAcheteur($this);
  1033.         }
  1034.         return $this;
  1035.     }
  1036.     public function removeAppariementAcheteur(Appariement $appariementAcheteur): self
  1037.     {
  1038.         if ($this->appariementAcheteurs->contains($appariementAcheteur)) {
  1039.             $this->appariementAcheteurs->removeElement($appariementAcheteur);
  1040.             // set the owning side to null (unless already changed)
  1041.             if ($appariementAcheteur->getAcheteur() === $this) {
  1042.                 $appariementAcheteur->setAcheteur(null);
  1043.             }
  1044.         }
  1045.         return $this;
  1046.     }
  1047.     /**
  1048.      * @return Collection|Appariement[]
  1049.      */
  1050.     public function getAppariementVendeurs(): Collection
  1051.     {
  1052.         return $this->appariementVendeurs;
  1053.     }
  1054.     public function addAppariementVendeur(Appariement $appariementVendeur): self
  1055.     {
  1056.         if (!$this->appariementVendeurs->contains($appariementVendeur)) {
  1057.             $this->appariementVendeurs[] = $appariementVendeur;
  1058.             $appariementVendeur->setVendeur($this);
  1059.         }
  1060.         return $this;
  1061.     }
  1062.     public function removeAppariementVendeur(Appariement $appariementVendeur): self
  1063.     {
  1064.         if ($this->appariementVendeurs->contains($appariementVendeur)) {
  1065.             $this->appariementVendeurs->removeElement($appariementVendeur);
  1066.             // set the owning side to null (unless already changed)
  1067.             if ($appariementVendeur->getVendeur() === $this) {
  1068.                 $appariementVendeur->setVendeur(null);
  1069.             }
  1070.         }
  1071.         return $this;
  1072.     }
  1073.     /**
  1074.      * @return Collection|Transaction[]
  1075.      */
  1076.     public function getTransactions(): Collection
  1077.     {
  1078.         return $this->transactions;
  1079.     }
  1080.     public function addTransaction(Transaction $transaction): self
  1081.     {
  1082.         if (!$this->transactions->contains($transaction)) {
  1083.             $this->transactions[] = $transaction;
  1084.             $transaction->setVendeur($this);
  1085.         }
  1086.         return $this;
  1087.     }
  1088.     public function removeTransaction(Transaction $transaction): self
  1089.     {
  1090.         if ($this->transactions->contains($transaction)) {
  1091.             $this->transactions->removeElement($transaction);
  1092.             // set the owning side to null (unless already changed)
  1093.             if ($transaction->getVendeur() === $this) {
  1094.                 $transaction->setVendeur(null);
  1095.             }
  1096.         }
  1097.         return $this;
  1098.     }
  1099.     /**
  1100.      * @return Collection|Operation[]
  1101.      */
  1102.     public function getOperations(): Collection
  1103.     {
  1104.         return $this->operations;
  1105.     }
  1106.     public function addOperation(Operation $operation): self
  1107.     {
  1108.         if (!$this->operations->contains($operation)) {
  1109.             $this->operations[] = $operation;
  1110.             $operation->setVendeur($this);
  1111.         }
  1112.         return $this;
  1113.     }
  1114.     public function removeOperation(Operation $operation): self
  1115.     {
  1116.         if ($this->operations->contains($operation)) {
  1117.             $this->operations->removeElement($operation);
  1118.             // set the owning side to null (unless already changed)
  1119.             if ($operation->getVendeur() === $this) {
  1120.                 $operation->setVendeur(null);
  1121.             }
  1122.         }
  1123.         return $this;
  1124.     }
  1125.     public function __toString(): string {
  1126.         return $this->raison;
  1127.     }
  1128.     public function getNiveau(): ?Niveau
  1129.     {
  1130.         return $this->niveau;
  1131.     }
  1132.     public function setNiveau(?Niveau $niveau): self
  1133.     {
  1134.         $this->niveau $niveau;
  1135.         return $this;
  1136.     }
  1137.     public function getStatus(): ?Status
  1138.     {
  1139.         return $this->status;
  1140.     }
  1141.     public function setStatus(?Status $status): self
  1142.     {
  1143.         $this->status $status;
  1144.         return $this;
  1145.     }
  1146.     public function getBase(): ?Incoterm
  1147.     {
  1148.         return $this->base;
  1149.     }
  1150.     public function setBase(?Incoterm $base): self
  1151.     {
  1152.         $this->base $base;
  1153.         return $this;
  1154.     }
  1155.     public function getFiliere1(): ?Products
  1156.     {
  1157.         return $this->filiere1;
  1158.     }
  1159.     public function setFiliere1(?Products $filiere1): self
  1160.     {
  1161.         $this->filiere1 $filiere1;
  1162.         return $this;
  1163.     }
  1164.     public function getFiliere2(): ?Products
  1165.     {
  1166.         return $this->filiere2;
  1167.     }
  1168.     public function setFiliere2(?Products $filiere2): self
  1169.     {
  1170.         $this->filiere2 $filiere2;
  1171.         return $this;
  1172.     }
  1173.     public function getFiliere3(): ?Products
  1174.     {
  1175.         return $this->filiere3;
  1176.     }
  1177.     public function setFiliere3(?Products $filiere3): self
  1178.     {
  1179.         $this->filiere3 $filiere3;
  1180.         return $this;
  1181.     }
  1182.     public function getDuree(): ?Duree
  1183.     {
  1184.         return $this->duree;
  1185.     }
  1186.     public function setDuree(?Duree $duree): self
  1187.     {
  1188.         $this->duree $duree;
  1189.         return $this;
  1190.     }
  1191.     public function getPosition(): ?Position
  1192.     {
  1193.         return $this->position;
  1194.     }
  1195.     public function setPosition(?Position $position): self
  1196.     {
  1197.         $this->position $position;
  1198.         return $this;
  1199.     }
  1200.     public function getNatureContrat(): ?NatureContrat
  1201.     {
  1202.         return $this->nature_contrat;
  1203.     }
  1204.     public function setNatureContrat(?NatureContrat $nature_contrat): self
  1205.     {
  1206.         $this->nature_contrat $nature_contrat;
  1207.         return $this;
  1208.     }
  1209.     /**
  1210.      * @return Collection|FraisDeCourtage[]
  1211.      */
  1212.     public function getFraisDeCourtages(): Collection
  1213.     {
  1214.         return $this->fraisDeCourtages;
  1215.     }
  1216.     public function addFraisDeCourtage(FraisDeCourtage $fraisDeCourtage): self
  1217.     {
  1218.         if (!$this->fraisDeCourtages->contains($fraisDeCourtage)) {
  1219.             $this->fraisDeCourtages[] = $fraisDeCourtage;
  1220.             $fraisDeCourtage->setClient($this);
  1221.         }
  1222.         return $this;
  1223.     }
  1224.     public function removeFraisDeCourtage(FraisDeCourtage $fraisDeCourtage): self
  1225.     {
  1226.         if ($this->fraisDeCourtages->contains($fraisDeCourtage)) {
  1227.             $this->fraisDeCourtages->removeElement($fraisDeCourtage);
  1228.             // set the owning side to null (unless already changed)
  1229.             if ($fraisDeCourtage->getClient() === $this) {
  1230.                 $fraisDeCourtage->setClient(null);
  1231.             }
  1232.         }
  1233.         return $this;
  1234.     }
  1235.     /**
  1236.      * @return Collection|Operation[]
  1237.      */
  1238.     public function getOperationAcheteur(): Collection
  1239.     {
  1240.         return $this->operationAcheteur;
  1241.     }
  1242.     public function addOperationAcheteur(Operation $operationAcheteur): self
  1243.     {
  1244.         if (!$this->operationAcheteur->contains($operationAcheteur)) {
  1245.             $this->operationAcheteur[] = $operationAcheteur;
  1246.             $operationAcheteur->setAcheteur($this);
  1247.         }
  1248.         return $this;
  1249.     }
  1250.     public function removeOperationAcheteur(Operation $operationAcheteur): self
  1251.     {
  1252.         if ($this->operationAcheteur->contains($operationAcheteur)) {
  1253.             $this->operationAcheteur->removeElement($operationAcheteur);
  1254.             // set the owning side to null (unless already changed)
  1255.             if ($operationAcheteur->getAcheteur() === $this) {
  1256.                 $operationAcheteur->setAcheteur(null);
  1257.             }
  1258.         }
  1259.         return $this;
  1260.     }
  1261.     /**
  1262.      * @return Collection|SousJacent[]
  1263.      */
  1264.     public function getManddats(): Collection
  1265.     {
  1266.         return $this->mandats;
  1267.     }
  1268.     public function addMandat(SousJacent $mandat): self
  1269.     {
  1270.         if (!$this->mandats->contains($mandat)) {
  1271.             $this->mandats[] = $mandat;
  1272.             $mandat->setMandat($this);
  1273.         }
  1274.         return $this;
  1275.     }
  1276.     public function removeMandat(SousJacent $mandat): self
  1277.     {
  1278.         if ($this->mandats->contains($mandat)) {
  1279.             $this->mandats->removeElement($mandat);
  1280.             // set the owning side to null (unless already changed)
  1281.             if ($mandat->getMandat() === $this) {
  1282.                 $mandat->setMandat(null);
  1283.             }
  1284.         }
  1285.         return $this;
  1286.     }
  1287.     /**
  1288.      * @return Collection|Quotation[]
  1289.      */
  1290.     public function getQmandat(): Collection
  1291.     {
  1292.         return $this->qmandats;
  1293.     }
  1294.     public function addQmandat(Quotation $qmandat): self
  1295.     {
  1296.         if (!$this->qmandats->contains($qmandat)) {
  1297.             $this->qmandats[] = $qmandat;
  1298.             $qmandat->setMandat($this);
  1299.         }
  1300.         return $this;
  1301.     }
  1302.     public function removeQmandat(Quotation $qmandat): self
  1303.     {
  1304.         if ($this->qmandats->contains($qmandat)) {
  1305.             $this->qmandats->removeElement($qmandat);
  1306.             // set the owning side to null (unless already changed)
  1307.             if ($qmandat->getMandat() === $this) {
  1308.                 $qmandat->setMandat(null);
  1309.             }
  1310.         }
  1311.         return $this;
  1312.     }
  1313. }