src/Entity/Inscrit.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\InscritRepository;
  4. use DateTime;
  5. use Doctrine\Common\Collections\ArrayCollection;
  6. use Doctrine\Common\Collections\Collection;
  7. use Doctrine\ORM\Mapping as ORM;
  8. /**
  9.  * @ORM\Entity(repositoryClass=InscritRepository::class)
  10.  */
  11. class Inscrit
  12. {
  13.     /**
  14.      * @ORM\Id
  15.      * @ORM\GeneratedValue
  16.      * @ORM\Column(type="integer")
  17.      */
  18.     private $id;
  19.     /**
  20.      * @ORM\ManyToOne(targetEntity=Session::class, inversedBy="inscrits")
  21.      * @ORM\JoinColumn(nullable=false)
  22.      */
  23.     private $session;
  24.     /**
  25.      * @ORM\OneToMany(targetEntity=JustifFourni::class, mappedBy="inscrit",cascade={"persist"})
  26.      */
  27.     private $justiffourni;
  28.     /**
  29.      * @ORM\ManyToOne(targetEntity=Entreprise::class, inversedBy="inscrits")
  30.      */
  31.     private $entreprise;
  32.     /**
  33.      * @ORM\ManyToOne(targetEntity=Tier::class, inversedBy="inscrits")
  34.      * @ORM\JoinColumn(nullable=false)
  35.      */
  36.     private $tier;
  37.     /**
  38.      * @ORM\ManyToOne(targetEntity=Formation::class)
  39.      * @ORM\JoinColumn(nullable=false)
  40.      */
  41.     private $formation;
  42.     /**
  43.      * @ORM\ManyToOne(targetEntity=TypeInscrit::class, inversedBy="inscrits")
  44.      * @ORM\JoinColumn(nullable=true)
  45.      */
  46.     private $typeinscrit;
  47.     /**
  48.      * @ORM\Column(type="datetime", nullable=true)
  49.      */
  50.     private $created_at;
  51.     /**
  52.      * @ORM\ManyToOne(targetEntity=StatusInscrit::class, inversedBy="inscrits")
  53.      */
  54.     private $statutinscrit;
  55.     /**
  56.      * @ORM\Column(type="float",nullable=true)
  57.      */
  58.     private $pieceFourni;
  59.     /**
  60.      * @ORM\Column(type="float")
  61.      */
  62.     private $remise;
  63.     /**
  64.      * @ORM\Column(type="float", nullable=true)
  65.      */
  66.     private $montantapresremise;
  67.     /**
  68.      * @ORM\Column(type="float")
  69.      */
  70.     private $montanttotal;
  71.     /**
  72.      * @ORM\OneToMany(targetEntity=Financement::class, mappedBy="inscrit",cascade={"persist"})
  73.      */
  74.     private $financements;
  75.     /**
  76.      * @ORM\Column(type="string", length=20,nullable=true)
  77.      */
  78.     private $regler;
  79.     /**
  80.      * @ORM\Column(type="boolean")
  81.      */
  82.     private $isdelete;
  83.     /**
  84.      * @ORM\ManyToOne(targetEntity=EnteteFacture::class, inversedBy="inscrits", cascade={"persist"})
  85.      */
  86.     private $entetefacture;
  87.     /**
  88.      * @ORM\ManyToOne(targetEntity=SourceFinance::class)
  89.      */
  90.     private $sourcefinancement;
  91.     /**
  92.      * @ORM\ManyToOne(targetEntity=Organisme::class)
  93.      */
  94.     private $organisme;
  95.     /**
  96.      * @ORM\OneToMany(targetEntity=Diplome::class, mappedBy="inscrit")
  97.      */
  98.     private $diplomes;
  99.     /**
  100.      * @ORM\OneToOne(targetEntity=LigneConvention::class, mappedBy="inscrit", cascade={"persist", "remove"})
  101.      */
  102.     private $ligneConvention;
  103.     /**
  104.      * @ORM\ManyToOne(targetEntity=EnteteConvention::class)
  105.      */
  106.     private $enteteconvention;
  107.     /**
  108.      * @ORM\ManyToOne(targetEntity=Site::class, inversedBy="inscrits")
  109.      */
  110.     private $site;
  111.     /**
  112.      * @ORM\ManyToOne(targetEntity=EnteteFacture::class)
  113.      */
  114.     private $entetefactureorg;
  115.     /**
  116.      * @ORM\Column(type="string", length=255, nullable=true)
  117.      */
  118.     private $categorieinscrit;
  119.     /**
  120.      * @ORM\ManyToMany(targetEntity=OptionCategorieInscrit::class, inversedBy="inscrits")
  121.      */
  122.     private $optioncategorieinscrit;
  123.     /**
  124.      * @ORM\Column(type="integer", nullable=true)
  125.      */
  126.     private $decisionfinale;
  127.      /**
  128.      * @ORM\OneToMany(targetEntity=Thinkific::class, mappedBy="inscrit")
  129.      */
  130.     private $thinkifics;
  131.      /**
  132.      * @ORM\OneToOne(targetEntity=CompetenceSstMac::class, mappedBy="inscrit", cascade={"persist", "remove"})
  133.      */
  134.     private $competenceSstMac;
  135.     /**
  136.      * @ORM\OneToOne(targetEntity=CompetenceSstInitial::class, mappedBy="inscrit", cascade={"persist", "remove"})
  137.      */
  138.     private $competenceSstInitial;
  139.     /**
  140.      * @ORM\OneToOne(targetEntity=FicheSuivieStagiaireTfpaps::class, mappedBy="inscrit")
  141.      */
  142.     private $ficheSuivieStagiaireTfpaps;
  143.     /**
  144.      * @ORM\OneToOne(targetEntity=FicheSuivieStagiaireSsiap1::class, mappedBy="inscrit")
  145.      */
  146.     private $ficheSuivieStagiaireSsiap1;
  147.     /**
  148.      * @ORM\OneToOne(targetEntity=FicheSuivieStagiaireSsiap2::class, mappedBy="inscrit")
  149.      */
  150.     private $ficheSuivieStagiaireSsiap2;
  151.     /**
  152.      * @ORM\OneToOne(targetEntity=FicheSuivieStagiaireSsiap3::class, mappedBy="inscrit")
  153.      */
  154.     private $ficheSuivieStagiaireSsiap3;
  155.     
  156.     /**
  157.      * @ORM\OneToOne(targetEntity=FicheSuivieStagiaireCqpDssp::class, mappedBy="inscrit", cascade={"persist", "remove"})
  158.      */
  159.     private $ficheSuivieStagiaireCqpDssp;
  160.     /**
  161.      * @ORM\Column(type="string", length=20,nullable=true)
  162.      */
  163.     private $source;
  164.     
  165.      /**
  166.      * @ORM\OneToMany(targetEntity=EvaluationEnvoyer::class, mappedBy="inscrit")
  167.      */
  168.     private $evaluationEnvoyers
  169.     /**
  170.      * @ORM\Column(type="text", nullable=true)
  171.      */
  172.     private $commentaire;
  173.     /**
  174.      * @ORM\OneToMany(targetEntity=ContratElearning::class, mappedBy="inscrit")
  175.      */
  176.     private $contratElearnings;
  177.     /**
  178.      * @ORM\Column(type="string", length=1, nullable=true)
  179.      */
  180.     private $comeSite;
  181.    
  182.     public function __construct()
  183.     {
  184.         $this->justiffourni = new ArrayCollection();
  185.         $this->financements = new ArrayCollection();
  186.         $this->diplomes = new ArrayCollection();
  187.         //$this->enqueteJ30s = new ArrayCollection();
  188.         $this->optioncategorieinscrit = new ArrayCollection();
  189.         $this->thinkifics = new ArrayCollection();
  190.        // $this->contratElearnings = new ArrayCollection();
  191.         $this->evaluationEnvoyers = new ArrayCollection();
  192.        // $this->created_at = new DateTime(); 
  193.       
  194.     }  
  195.     
  196.     public function getId(): ?int
  197.     {
  198.         return $this->id;
  199.     }
  200.     public function getSession(): ?Session
  201.     {
  202.         return $this->session;
  203.     }
  204.     public function setSession(?Session $session): self
  205.     {
  206.         $this->session $session;
  207.         return $this;
  208.     }
  209.     /**
  210.      * @return Collection<int, JustifFourni>
  211.      */
  212.     public function getJustiffourni(): Collection
  213.     {
  214.         return $this->justiffourni;
  215.     }
  216.     public function addJustiffourni(JustifFourni $justiffourni): self
  217.     {
  218.         if (!$this->justiffourni->contains($justiffourni)) {
  219.             $this->justiffourni[] = $justiffourni;
  220.             $justiffourni->setInscrit($this);
  221.         }
  222.         return $this;
  223.     }
  224.     public function removeJustiffourni(JustifFourni $justiffourni): self
  225.     {
  226.         if ($this->justiffourni->removeElement($justiffourni)) {
  227.             // set the owning side to null (unless already changed)
  228.             if ($justiffourni->getInscrit() === $this) {
  229.                 $justiffourni->setInscrit(null);
  230.             }
  231.         }
  232.         return $this;
  233.     }
  234.     public function getEntreprise(): ?Entreprise
  235.     {
  236.         return $this->entreprise;
  237.     }
  238.     public function setEntreprise(?Entreprise $entreprise): self
  239.     {
  240.         $this->entreprise $entreprise;
  241.         return $this;
  242.     }
  243.     public function getTier(): ?Tier
  244.     {
  245.         return $this->tier;
  246.     }
  247.     public function setTier(?Tier $tier): self
  248.     {
  249.         $this->tier $tier;
  250.         return $this;
  251.     }
  252.     public function getFormation(): ?Formation
  253.     {
  254.         return $this->formation;
  255.     }
  256.     public function setFormation(?Formation $formation): self
  257.     {
  258.         $this->formation $formation;
  259.         return $this;
  260.     }
  261.     public function getTypeinscrit(): ?TypeInscrit
  262.     {
  263.         return $this->typeinscrit;
  264.     }
  265.     public function setTypeinscrit(?TypeInscrit $typeinscrit): self
  266.     {
  267.         $this->typeinscrit $typeinscrit;
  268.         return $this;
  269.     }
  270.     
  271.     /**
  272.      * @return \DateTimeInterface|null
  273.      */
  274.     public function getCreatedAt(): ?String
  275.     {
  276.         //return $this->created_at; 
  277.         return $this->created_at $this->created_at->format('Y-m-d H:i:s') : null;
  278.     }
  279.     /**
  280.      * @param \DateTimeInterface|null $createdAt
  281.      * @return $this
  282.      */
  283.     public function setCreatedAt(\DateTimeInterface $created_at): self
  284.     {
  285.         $this->created_at $created_at;
  286.         return $this;
  287.     }
  288.     public function getStatutinscrit(): ?StatusInscrit
  289.     {
  290.         return $this->statutinscrit;
  291.     }
  292.     public function setStatutinscrit(?StatusInscrit $statutinscrit): self
  293.     {
  294.         $this->statutinscrit $statutinscrit;
  295.         return $this;
  296.     }
  297.     public function getPieceFourni(): ?float
  298.     {
  299.         return $this->pieceFourni;
  300.     }
  301.     public function setPieceFourni(float $pieceFourni): self
  302.     {
  303.         $this->pieceFourni $pieceFourni;
  304.         return $this;
  305.     }
  306.     public function getRemise(): ?float
  307.     {
  308.         return $this->remise;
  309.     }
  310.     public function setRemise(float $remise): self
  311.     {
  312.         $this->remise $remise;
  313.         return $this;
  314.     }
  315.     public function getMontantapresremise(): ?float
  316.     {
  317.         return $this->montantapresremise;
  318.     }
  319.     public function setMontantapresremise(?float $montantapresremise): self
  320.     {
  321.         $this->montantapresremise $montantapresremise;
  322.         return $this;
  323.     }
  324.     public function getMontanttotal(): ?float
  325.     {
  326.         return $this->montanttotal;
  327.     }
  328.     public function setMontanttotal(float $montanttotal): self
  329.     {
  330.         $this->montanttotal $montanttotal;
  331.         return $this;
  332.     }
  333.     /**
  334.      * @return Collection<int, Financement>
  335.      */
  336.     public function getFinancements(): Collection
  337.     {
  338.         return $this->financements;
  339.     }
  340.     public function addFinancement(Financement $financement): self
  341.     {
  342.         if (!$this->financements->contains($financement)) {
  343.             $this->financements[] = $financement;
  344.             $financement->setInscrit($this);
  345.         }
  346.         return $this;
  347.     }
  348.     public function removeFinancement(Financement $financement): self
  349.     {
  350.         if ($this->financements->removeElement($financement)) {
  351.             // set the owning side to null (unless already changed)
  352.             if ($financement->getInscrit() === $this) {
  353.                 //$financement->setInscrit(null);
  354.             }
  355.         }
  356.         return $this;
  357.     }
  358.     public function getRegler(): ?string
  359.     {
  360.         return $this->regler;
  361.     }
  362.     public function setRegler(string $regler): self
  363.     {
  364.         $this->regler $regler;
  365.         return $this;
  366.     }
  367.     public function isIsdelete(): ?bool
  368.     {
  369.         return $this->isdelete;
  370.     }
  371.     public function setIsdelete(bool $isdelete): self
  372.     {
  373.         $this->isdelete $isdelete;
  374.         return $this;
  375.     }
  376.     public function getEntetefacture(): ?EnteteFacture
  377.     {
  378.         return $this->entetefacture;
  379.     }
  380.     public function setEntetefacture(?EnteteFacture $entetefacture): self
  381.     {
  382.         $this->entetefacture $entetefacture;
  383.         return $this;
  384.     }
  385.     public function getSourcefinancement(): ?SourceFinance
  386.     {
  387.         return $this->sourcefinancement;
  388.     }
  389.     public function setSourcefinancement(?SourceFinance $sourcefinancement): self
  390.     {
  391.         $this->sourcefinancement $sourcefinancement;
  392.         return $this;
  393.     }
  394.     public function getOrganisme(): ?Organisme
  395.     {
  396.         return $this->organisme;
  397.     }
  398.     public function setOrganisme(?Organisme $organisme): self
  399.     {
  400.         $this->organisme $organisme;
  401.         return $this;
  402.     }
  403.     /**
  404.      * @return Collection<int, Diplome>
  405.      */
  406.     public function getDiplomes(): Collection
  407.     {
  408.         return $this->diplomes;
  409.     }
  410.     public function addDiplome(Diplome $diplome): self
  411.     {
  412.         if (!$this->diplomes->contains($diplome)) {
  413.             $this->diplomes[] = $diplome;
  414.             $diplome->setInscrit($this);
  415.         }
  416.         return $this;
  417.     }
  418.     public function removeDiplome(Diplome $diplome): self
  419.     {
  420.         if ($this->diplomes->removeElement($diplome)) {
  421.             // set the owning side to null (unless already changed)
  422.             if ($diplome->getInscrit() === $this) {
  423.                 $diplome->setInscrit(null);
  424.             }
  425.         }
  426.         return $this;
  427.     }
  428.     public function getLigneConvention(): ?LigneConvention
  429.     {
  430.         return $this->ligneConvention;
  431.     }
  432.     public function setLigneConvention(?LigneConvention $ligneConvention): self
  433.     {
  434.         // unset the owning side of the relation if necessary
  435.         if ($ligneConvention === null && $this->ligneConvention !== null) {
  436.             $this->ligneConvention->setInscrit(null);
  437.         }
  438.         // set the owning side of the relation if necessary
  439.         if ($ligneConvention !== null && $ligneConvention->getInscrit() !== $this) {
  440.             $ligneConvention->setInscrit($this);
  441.         }
  442.         $this->ligneConvention $ligneConvention;
  443.         return $this;
  444.     }
  445.     public function getEnteteconvention(): ?EnteteConvention
  446.     {
  447.         return $this->enteteconvention;
  448.     }
  449.     public function setEnteteconvention(?EnteteConvention $enteteconvention): self
  450.     {
  451.         $this->enteteconvention $enteteconvention;
  452.         return $this;
  453.     }
  454.     public function getSite(): ?Site
  455.     {
  456.         return $this->site;
  457.     }
  458.     public function setSite(?Site $site): self
  459.     {
  460.         $this->site $site;
  461.         return $this;
  462.     }
  463.         public function getEntetefactureorg(): ?EnteteFacture
  464.     {
  465.         return $this->entetefactureorg;
  466.     }
  467.     public function setEntetefactureorg(?EnteteFacture $entetefactureorg): self
  468.     {
  469.         $this->entetefactureorg $entetefactureorg;
  470.         return $this;
  471.     }
  472.     public function getCategorieinscrit(): ?string
  473.     {
  474.         return $this->categorieinscrit;
  475.     }
  476.     public function setCategorieinscrit(?string $categorieinscrit): self
  477.     {
  478.         $this->categorieinscrit $categorieinscrit;
  479.         return $this;
  480.     }
  481.     /**
  482.      * @return Collection<int, OptionCategorieInscrit>
  483.      */
  484.     public function getOptioncategorieinscrit(): Collection
  485.     {
  486.         return $this->optioncategorieinscrit;
  487.     }
  488.     public function addOptioncategorieinscrit(OptionCategorieInscrit $optioncategorieinscrit): self
  489.     {
  490.         if (!$this->optioncategorieinscrit->contains($optioncategorieinscrit)) {
  491.             $this->optioncategorieinscrit[] = $optioncategorieinscrit;
  492.         }
  493.         return $this;
  494.     }
  495.     public function removeOptioncategorieinscrit(OptionCategorieInscrit $optioncategorieinscrit): self
  496.     {
  497.         $this->optioncategorieinscrit->removeElement($optioncategorieinscrit);
  498.         return $this;
  499.     }
  500.     public function getDecisionFinal(): ?int
  501.     {
  502.         return $this->decisionfinale;
  503.     }
  504.     public function setDecisionFinal(int $montanttotal): self
  505.     {
  506.         $this->decisionfinale $montanttotal;
  507.         return $this;
  508.     }
  509.     
  510.     /**
  511.      * @return Collection<int, Thinkific>
  512.      */
  513.     public function getThinkifics(): Collection
  514.     {
  515.         return $this->thinkifics;
  516.     }
  517.     public function addThinkific(Thinkific $thinkific): self
  518.     {
  519.         if (!$this->thinkifics->contains($thinkific)) {
  520.             $this->thinkifics[] = $thinkific;
  521.             $thinkific->setInscrit($this);
  522.         }
  523.         return $this;
  524.     }
  525.     public function removeThinkific(Thinkific $thinkific): self
  526.     {
  527.         if ($this->thinkifics->removeElement($thinkific)) {
  528.             // set the owning side to null (unless already changed)
  529.             if ($thinkific->getInscrit() === $this) {
  530.                 $thinkific->setInscrit(null);
  531.             }
  532.         }
  533.         return $this;
  534.     }
  535.     public function getCompetenceSstMac(): ?CompetenceSstMac
  536.     {
  537.         return $this->competenceSstMac;
  538.     }
  539.     public function setCompetenceSstMac(?CompetenceSstMac $competenceSstMac): self
  540.     {
  541.         // unset the owning side of the relation if necessary
  542.         if ($competenceSstMac === null && $this->competenceSstMac !== null) {
  543.             $this->competenceSstMac->setInscrit(null);
  544.         }
  545.         // set the owning side of the relation if necessary
  546.         if ($competenceSstMac !== null && $competenceSstMac->getInscrit() !== $this) {
  547.             $competenceSstMac->setInscrit($this);
  548.         }
  549.         $this->competenceSstMac $competenceSstMac;
  550.         return $this;
  551.     }
  552.     public function getCompetenceSstInitial(): ?CompetenceSstInitial
  553.     {
  554.         return $this->competenceSstInitial;
  555.     }
  556.     public function setCompetenceSstInitial(?CompetenceSstInitial $competenceSstInitial): self
  557.     {
  558.         // unset the owning side of the relation if necessary
  559.         if ($competenceSstInitial === null && $this->competenceSstInitial !== null) {
  560.             $this->competenceSstInitial->setInscrit(null);
  561.         }
  562.         // set the owning side of the relation if necessary
  563.         if ($competenceSstInitial !== null && $competenceSstInitial->getInscrit() !== $this) {
  564.             $competenceSstInitial->setInscrit($this);
  565.         }
  566.         $this->competenceSstInitial $competenceSstInitial;
  567.         return $this;
  568.     }
  569.     public function getFicheSuivieStagiaireTfpaps(): ?FicheSuivieStagiaireTfpaps
  570.     {
  571.         return $this->ficheSuivieStagiaireTfpaps;
  572.     }
  573.     public function setFicheSuivieStagiaireTfpap(?FicheSuivieStagiaireTfpaps $ficheSuivieStagiaireTfpaps): self
  574.     {
  575.         // unset the owning side of the relation if necessary
  576.         if ($ficheSuivieStagiaireTfpaps === null && $this->ficheSuivieStagiaireTfpaps !== null) {
  577.             $this->competenceSstMac->setInscrit(null);
  578.         }
  579.         // set the owning side of the relation if necessary
  580.         if ($ficheSuivieStagiaireTfpaps !== null && $ficheSuivieStagiaireTfpaps->getInscrit() !== $this) {
  581.             $ficheSuivieStagiaireTfpaps->setInscrit($this);
  582.         }
  583.         $this->ficheSuivieStagiaireTfpaps $ficheSuivieStagiaireTfpaps;
  584.         return $this;
  585.     }
  586.     public function getFicheSuivieStagiaireSsiap1(): ?FicheSuivieStagiaireSsiap1
  587.     {
  588.         return $this->ficheSuivieStagiaireSsiap1;
  589.     }
  590.     public function setFicheSuivieStagiaireSsiap1(?FicheSuivieStagiaireSsiap1 $ficheSuivieStagiaireSsiap1): self
  591.     {
  592.         // unset the owning side of the relation if necessary
  593.         if ($ficheSuivieStagiaireSsiap1 === null && $this->ficheSuivieStagiaireSsiap1 !== null) {
  594.             $this->competenceSstMac->setInscrit(null);
  595.         }
  596.         // set the owning side of the relation if necessary
  597.         if ($ficheSuivieStagiaireSsiap1 !== null && $ficheSuivieStagiaireSsiap1->getInscrit() !== $this) {
  598.             $ficheSuivieStagiaireSsiap1->setInscrit($this);
  599.         }
  600.         $this->ficheSuivieStagiaireSsiap1 $ficheSuivieStagiaireSsiap1;
  601.         return $this;
  602.     }
  603.     public function getFicheSuivieStagiaireSsiap2(): ?FicheSuivieStagiaireSsiap2
  604.     {
  605.         return $this->ficheSuivieStagiaireSsiap2;
  606.     }
  607.     public function setFicheSuivieStagiaireSsiap2(?FicheSuivieStagiaireSsiap2 $ficheSuivieStagiaireSsiap2): self
  608.     {
  609.         // unset the owning side of the relation if necessary
  610.         if ($ficheSuivieStagiaireSsiap2 === null && $this->ficheSuivieStagiaireSsiap2 !== null) {
  611.             $this->competenceSstMac->setInscrit(null);
  612.         }
  613.         // set the owning side of the relation if necessary
  614.         if ($ficheSuivieStagiaireSsiap2 !== null && $ficheSuivieStagiaireSsiap2->getInscrit() !== $this) {
  615.             $ficheSuivieStagiaireSsiap2->setInscrit($this);
  616.         }
  617.         $this->ficheSuivieStagiaireSsiap2 $ficheSuivieStagiaireSsiap2;
  618.         return $this;
  619.     }
  620.     public function getFicheSuivieStagiaireSsiap3(): ?FicheSuivieStagiaireSsiap3
  621.     {
  622.         return $this->ficheSuivieStagiaireSsiap3;
  623.     }
  624.     public function setFicheSuivieStagiaireSsiap3(?FicheSuivieStagiaireSsiap3 $ficheSuivieStagiaireSsiap3): self
  625.     {
  626.         // unset the owning side of the relation if necessary
  627.         if ($ficheSuivieStagiaireSsiap3 === null && $this->ficheSuivieStagiaireSsiap3 !== null) {
  628.             $this->competenceSstMac->setInscrit(null);
  629.         }
  630.         // set the owning side of the relation if necessary
  631.         if ($ficheSuivieStagiaireSsiap3 !== null && $ficheSuivieStagiaireSsiap3->getInscrit() !== $this) {
  632.             $ficheSuivieStagiaireSsiap3->setInscrit($this);
  633.         }
  634.         $this->ficheSuivieStagiaireSsiap3 $ficheSuivieStagiaireSsiap3;
  635.         return $this;
  636.     }
  637.     public function getFicheSuivieStagiaireCqpDssp(): ?FicheSuivieStagiaireCqpDssp
  638.     {
  639.         return $this->ficheSuivieStagiaireCqpDssp;
  640.     }
  641.     public function setFicheSuivieStagiaireCqpDssp(?FicheSuivieStagiaireCqpDssp $ficheSuivieStagiaireCqpDssp): self
  642.     {
  643.         // unset the owning side of the relation if necessary
  644.         if ($ficheSuivieStagiaireCqpDssp === null && $this->ficheSuivieStagiaireCqpDssp !== null) {
  645.             $this->ficheSuivieStagiaireCqpDssp->setInscrit(null);
  646.         }
  647.         // set the owning side of the relation if necessary
  648.         if ($ficheSuivieStagiaireCqpDssp !== null && $ficheSuivieStagiaireCqpDssp->getInscrit() !== $this) {
  649.             $ficheSuivieStagiaireCqpDssp->setInscrit($this);
  650.         }
  651.         $this->ficheSuivieStagiaireCqpDssp $ficheSuivieStagiaireCqpDssp;
  652.         return $this;
  653.     }
  654.     
  655.     public function getSource(): ?string
  656.     {
  657.         return $this->source;
  658.     }
  659.     public function setSource(string $regler): self
  660.     {
  661.         $this->source $regler;
  662.         return $this;
  663.     }
  664.      /**
  665.      * @return Collection<int, EvaluationEnvoyer>
  666.      */
  667.     public function getEvaluationEnvoyers(): Collection
  668.     {
  669.         return $this->evaluationEnvoyers;
  670.     }
  671.     public function addEvaluationEnvoyer(EvaluationEnvoyer $evaluationEnvoyer): self
  672.     {
  673.         if (!$this->evaluationEnvoyers->contains($evaluationEnvoyer)) {
  674.             $this->evaluationEnvoyers[] = $evaluationEnvoyer;
  675.             $evaluationEnvoyer->setInscrit($this);
  676.         }
  677.         return $this;
  678.     }
  679.     public function removeEvaluationEnvoyer(EvaluationEnvoyer $evaluationEnvoyer): self
  680.     {
  681.         if ($this->evaluationEnvoyers->removeElement($evaluationEnvoyer)) {
  682.             // set the owning side to null (unless already changed)
  683.             if ($evaluationEnvoyer->getInscrit() === $this) {
  684.                 $evaluationEnvoyer->setInscrit(null);
  685.             }
  686.         }
  687.         return $this;
  688.     } 
  689.     public function getCommentaire(): ?string
  690.     {
  691.        return $this->commentaire
  692.     }  
  693.     public function setCommentaire(?string $commentaire):self
  694.     {
  695.         $this->commentaire $commentaire
  696.         
  697.         return $this
  698.     }
  699.     /**
  700.      * @return Collection<int, ContratElearning>
  701.      */
  702.     public function getContratElearnings(): Collection
  703.     {
  704.         return $this->contratElearnings;
  705.     }
  706.     public function addContratElearning(ContratElearning $contratElearning): self
  707.     {
  708.         if (!$this->contratElearnings->contains($contratElearning)) {
  709.             $this->contratElearnings[] = $contratElearning;
  710.             $contratElearning->setInscrit($this);
  711.         }
  712.         return $this;
  713.     }
  714.     public function removeContratElearning(ContratElearning $contratElearning): self
  715.     {
  716.         if ($this->contratElearnings->removeElement($contratElearning)) {
  717.             // set the owning side to null (unless already changed)
  718.             if ($contratElearning->getInscrit() === $this) {
  719.                 $contratElearning->setInscrit(null);
  720.             }
  721.         }
  722.         return $this;
  723.     }
  724.     public function getComeSite(): ?string
  725.     {
  726.         return $this->comeSite;
  727.     }
  728.     public function setComeSite(?string $comeSite): self
  729.     {
  730.         $this->comeSite $comeSite;
  731.         return $this;
  732.     }
  733.   
  734.    
  735.    
  736. }