src/Entity/Gestiform/Formations/Catalogue/Parcours/Parcours.php line 27

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Gestiform\Formations\Catalogue\Parcours;
  3. use App\Entity\AbstractEntity;
  4. use App\Entity\Common\Document;
  5. use App\Entity\Common\Upload;
  6. use App\Entity\Gestiform\Admin\ApiGestiform;
  7. use App\Entity\Gestiform\Admin\MasterListe\Masterlistelg;
  8. use App\Entity\Gestiform\Admin\Tarifs\TarifVenteParcours;
  9. use App\Entity\Gestiform\Formations\Catalogue\Filiere;
  10. use App\Entity\Gestiform\Formations\Catalogue\Module\ModaliteEvaluation;
  11. use App\Entity\Gestiform\Formations\Catalogue\Niveau;
  12. use App\Entity\Gestiform\Formations\Catalogue\Parcours\Bloc\Bloc;
  13. use App\Entity\Gestiform\Formations\Catalogue\Theme\Theme;
  14. use App\Entity\Gestiform\Formations\Session\Session;
  15. use App\Entity\Gestiform\Users\Formateur;
  16. use App\Repository\Gestiform\Formations\Catalogue\Parcours\ParcoursRepository;
  17. use App\Trait\ApiGestiformEntity;
  18. use Doctrine\Common\Collections\ArrayCollection;
  19. use Doctrine\Common\Collections\Collection;
  20. use Doctrine\ORM\Mapping as ORM;
  21. /**
  22.  * @ORM\Entity(repositoryClass=ParcoursRepository::class)
  23.  */
  24. class Parcours extends AbstractEntity
  25. {
  26.     use ApiGestiformEntity;
  27.     /**
  28.      * @ORM\Column(type="string", length=255, nullable=true)
  29.      */
  30.     private ?string $intitule null;
  31.     /**
  32.      * @ORM\Column(type="string", length=255, nullable=true)
  33.      */
  34.     private ?string $intituleOfficiel null;
  35.     /**
  36.      * @ORM\Column(type="string", length=255, nullable=true)
  37.      */
  38.     private ?string $code null;
  39.     /**
  40.      * @ORM\Column(type="string", length=255, nullable=true)
  41.      */
  42.     private ?string $codeDiplome null;
  43.     /**
  44.      * @ORM\Column(type="string", length=255, nullable=true)
  45.      */
  46.     private ?string $sigle null;
  47.     /**
  48.      * @ORM\Column(type="datetime", nullable=true)
  49.      */
  50.     private ?\DateTime $dateDebutValide null;
  51.     /**
  52.      * @ORM\Column(type="datetime", nullable=true)
  53.      */
  54.     private ?\DateTime $dateFinValide null;
  55.     /**
  56.      * @ORM\Column(type="datetime", nullable=true)
  57.      */
  58.     private ?\DateTime $datePublicationOfficiel null;
  59.     /**
  60.      * @ORM\Column(type="text", nullable=true, nullable=true)
  61.      */
  62.     private ?string $plus null;
  63.     /**
  64.      * @ORM\Column(type="text", nullable=true)
  65.      */
  66.     private ?string $redirection null;
  67.     /**
  68.      * @ORM\Column(type="boolean", nullable=true)
  69.      */
  70.     private ?bool $publication false;
  71.     /**
  72.      * @ORM\Column(type="boolean", nullable=true)
  73.      */
  74.     private ?bool $publicationApi false;
  75.     /**
  76.      * @ORM\Column(type="text", nullable=true)
  77.      */
  78.     private ?string $tauxObtention null;
  79.     /**
  80.      * @ORM\Column(type="text", nullable=true)
  81.      */
  82.     private ?string $tauxAbandon null;
  83.     /**
  84.      * @ORM\Column(type="text", nullable=true)
  85.      */
  86.     private ?string $tauxSatisfaction null;
  87.     /**
  88.      * @ORM\Column(type="text", nullable=true)
  89.      */
  90.     private ?string $tauxPourSuiteEtude null;
  91.     /**
  92.      * @ORM\Column(type="text", nullable=true)
  93.      */
  94.     private ?string $tauxEmployabilite null;
  95.     /**
  96.      * @ORM\Column(type="text", nullable=true)
  97.      */
  98.     private ?string $prerequis null;
  99.     /**
  100.      * @ORM\Column(type="text", nullable=true)
  101.      */
  102.     private ?string $salaireMoyen null;
  103.     /**
  104.      * @ORM\Column(type="text", nullable=true)
  105.      */
  106.     private ?string $livrable null;
  107.     /**
  108.      * @ORM\Column(type="string", length=255, nullable=true)
  109.      */
  110.     private ?string $altBanniere null;
  111.     /**
  112.      * @ORM\Column(type="string", length=255, nullable=true)
  113.      */
  114.     private ?string $altVignette null;
  115.     /**
  116.      * @ORM\Column(type="decimal", precision=10, scale=0, nullable=true)
  117.      */
  118.     private ?float $tarifJury null;
  119.     /**
  120.      * @ORM\Column(type="decimal", precision=10, scale=0, nullable=true)
  121.      */
  122.     private ?float $tarifJury2 null;
  123.     /**
  124.      * @ORM\Column(type="boolean", nullable=true)
  125.      */
  126.     private ?bool $cpf false;
  127.     /**
  128.      * @ORM\Column(type="string", length=255, nullable=true)
  129.      */
  130.     private ?string $codeCpf null;
  131.     /**
  132.      * @ORM\Column(type="string", length=255, nullable=true)
  133.      */
  134.     private ?string $codeRncpRs null;
  135.     /**
  136.      * @ORM\Column(type="string", length=255, nullable=true)
  137.      */
  138.     private ?string $codeCpfSalarie null;
  139.     /**
  140.      * @ORM\Column(type="string", length=255, nullable=true)
  141.      */
  142.     private ?string $codeCpfDemandeurEmploi null;
  143.     /**
  144.      * @ORM\Column(type="string", length=255, nullable=true)
  145.      */
  146.     private ?string $codeNsf null;
  147.     /**
  148.      * @ORM\Column(type="integer", nullable=true)
  149.      */
  150.     private ?int $duree null;
  151.     /**
  152.      * @ORM\Column(type="integer", nullable=true)
  153.      */
  154.     private ?int $dureeModulaire null;
  155.     /**
  156.      * @ORM\Column(type="boolean", nullable=true)
  157.      */
  158.     private ?bool $rncp null;
  159.     /**
  160.      * @ORM\Column(type="integer", nullable=true)
  161.      */
  162.     private ?int $dureeAccompagnement null;
  163.     /**
  164.      * @ORM\Column(type="integer", nullable=true)
  165.      */
  166.     private ?int $dureeStage null;
  167.     /**
  168.      * @ORM\Column(type="integer", nullable=true)
  169.      */
  170.     private ?int $dureeCenter null;
  171.     /**
  172.      * @ORM\Column(type="integer", nullable=true)
  173.      */
  174.     private ?int $dureeElearning null;
  175.     /**
  176.      * @ORM\Column(type="boolean", nullable=true)
  177.      */
  178.     private ?bool $stageObligatoire false;
  179.     /**
  180.      * @ORM\Column(type="boolean", nullable=true)
  181.      */
  182.     private ?bool $formationPermanente false;
  183.     /**
  184.      * @ORM\Column(type="text", nullable=true)
  185.      */
  186.     private ?string $sanctionResume null;
  187.     /**
  188.      * @ORM\Column(type="text", nullable=true)
  189.      */
  190.     private ?string $sanctionLong null;
  191.     /**
  192.      * @ORM\Column(type="text", nullable=true)
  193.      */
  194.     private ?string $metier null;
  195.     /**
  196.      * @ORM\Column(type="string", length=255, nullable=true)
  197.      */
  198.     private ?string $text null;
  199.     /**
  200.      * @ORM\Column(type="text", nullable=true)
  201.      */
  202.     private ?string $objectif null;
  203.     /**
  204.      * @ORM\Column(type="text", nullable=true)
  205.      */
  206.     private ?string $debouche null;
  207.     /**
  208.      * @ORM\Column(type="text", nullable=true)
  209.      */
  210.     private ?string $conditionAdmission null;
  211.     /**
  212.      * @ORM\Column(type="text", nullable=true)
  213.      */
  214.     private ?string $public null;
  215.     /**
  216.      * @ORM\Column(type="text", nullable=true)
  217.      */
  218.     private ?string $detailExamen null;
  219.     /**
  220.      * @ORM\Column(type="text", nullable=true)
  221.      */
  222.     private ?string $fraisPedagogique null;
  223.     /**
  224.      * @ORM\Column(type="text", nullable=true)
  225.      */
  226.     private ?string $seoTitre null;
  227.     /**
  228.      * @ORM\Column(type="string", length=255, nullable=true)
  229.      */
  230.     private ?string $seoDescription null;
  231.     /**
  232.      * @ORM\Column(type="text", nullable=true)
  233.      */
  234.     private ?string $rythme null;
  235.     /**
  236.      * @ORM\Column(type="text", nullable=true)
  237.      */
  238.     private ?string $identifiantDokelio null;
  239.     /**
  240.      * @ORM\Column(type="text", nullable=true)
  241.      */
  242.     private ?string $dokelioParcours null;
  243.     /**
  244.      * @ORM\Column(type="text", nullable=true)
  245.      */
  246.     private ?string $contenuApres null;
  247.     /**
  248.      * @ORM\Column(type="text", nullable=true)
  249.      */
  250.     private ?string $contenuAvant null;
  251.     /**
  252.      * @ORM\Column(type="string", length=255, nullable=true)
  253.      */
  254.     private ?string $path null;
  255.     /**
  256.      * @ORM\Column(type="text", nullable=true)
  257.      */
  258.     private ?string $items null;
  259.     /**
  260.      * @ORM\ManyToMany(targetEntity=Theme::class, inversedBy="parcours")
  261.      */
  262.     private Collection $themes;
  263.     /**
  264.      * @ORM\ManyToOne(targetEntity=Theme::class, inversedBy="defaultParcours")
  265.      * @ORM\JoinColumn(nullable=true)
  266.      */
  267.     private ?Theme $theme null;
  268.     /**
  269.      * @ORM\ManyToOne(targetEntity=Parcours::class, inversedBy="enfants",cascade={"persist"})
  270.      * @ORM\JoinColumn(nullable=true)
  271.      */
  272.     private ?Parcours $parent null;
  273.     /**
  274.      * @ORM\OneToMany(targetEntity=Parcours::class, mappedBy="parent",cascade={"persist"})
  275.      */
  276.     private Collection $enfants;
  277.     /**
  278.      * @ORM\ManyToOne(targetEntity=Masterlistelg::class)
  279.      */
  280.     private ?Masterlistelg $autoriteDelivranceCpf null;
  281.     /**
  282.      * @ORM\ManyToOne(targetEntity=Masterlistelg::class)
  283.      * @ORM\JoinColumn(nullable=true)
  284.      */
  285.     private ?Masterlistelg $nsf null;
  286.     /**
  287.      * @ORM\ManyToOne(targetEntity=Masterlistelg::class)
  288.      * @ORM\JoinColumn(nullable=true)
  289.      */
  290.     private ?Masterlistelg $diplomesTitresParcours null;
  291.     /**
  292.      * @ORM\ManyToMany(targetEntity=Masterlistelg::class)
  293.      * @ORM\JoinTable(name="parcoursformacodes")
  294.      */
  295.     private Collection $formaCodes;
  296.     /**
  297.      * @ORM\ManyToOne(targetEntity=Filiere::class, inversedBy="parcours")
  298.      * @ORM\JoinColumn(nullable=true)
  299.      */
  300.     private ?Filiere $filiere null;
  301.     /**
  302.      * @ORM\ManyToOne(targetEntity=Niveau::class, inversedBy="parcoursAsNiveauEntree")
  303.      * @ORM\JoinColumn(nullable=true)
  304.      */
  305.     private ?Niveau $niveauEntree null;
  306.     /**
  307.      * @ORM\ManyToOne(targetEntity=Niveau::class, inversedBy="parcoursAsNiveauSortie")
  308.      * @ORM\JoinColumn(nullable=true)
  309.      */
  310.     private ?Niveau $niveauSortie null;
  311.     /**
  312.      * @ORM\ManyToOne(targetEntity=Masterlistelg::class)
  313.      */
  314.     private ?Masterlistelg $niveauTechnique null;
  315.     /**
  316.      * @ORM\ManyToOne(targetEntity=Masterlistelg::class)
  317.      */
  318.     private ?Masterlistelg $qualifiant null;
  319.     /**
  320.      * @ORM\ManyToOne(targetEntity=Masterlistelg::class)
  321.      * @ORM\JoinColumn(nullable=true)
  322.      */
  323.     private ?Masterlistelg $typeFormation null;
  324.     /**
  325.      * @ORM\ManyToOne(targetEntity=Masterlistelg::class)
  326.      */
  327.     private ?Masterlistelg $autoriteDelivrance null;
  328.     /**
  329.      * @ORM\ManyToMany(targetEntity=Parcours::class)
  330.      * @ORM\JoinTable(name="parcours_avant")
  331.      */
  332.     private Collection $parcoursAvant;
  333.     /**
  334.      * @ORM\ManyToMany(targetEntity=Parcours::class)
  335.      * @ORM\JoinTable(name="parcours_apres")
  336.      */
  337.     private Collection $parcoursApres;
  338.     /**
  339.      * @ORM\ManyToMany(targetEntity=Masterlistelg::class)
  340.      * @ORM\JoinTable(name="parcours_coderome")
  341.      */
  342.     private Collection $codesromes;
  343.     /**
  344.      * @ORM\ManyToOne(targetEntity=Masterlistelg::class, inversedBy="parcours")
  345.      * @ORM\JoinColumn(nullable=true)
  346.      */
  347.     private ?Masterlistelg $modeFormation null;
  348.     /**
  349.      * @ORM\ManyToOne(targetEntity=Formateur::class, inversedBy="parcoursRNCP")
  350.      * @ORM\JoinColumn(nullable=true)
  351.      */
  352.     private ?Formateur $formateur null;
  353.     /**
  354.      * @ORM\OneToOne(targetEntity=Upload::class, cascade={"persist", "remove"})
  355.      * @ORM\JoinColumn(nullable=true)
  356.      */
  357.     private ?Upload $banniere null;
  358.     /**
  359.      * @ORM\OneToOne(targetEntity=Upload::class, cascade={"persist", "remove"})
  360.      * @ORM\JoinColumn(nullable=true)
  361.      */
  362.     private ?Upload $vignette null;
  363.     /**
  364.      * @ORM\OneToMany(targetEntity=Session::class, mappedBy="parcours")
  365.      */
  366.     private Collection $sessions;
  367.     /**
  368.      * @ORM\OneToMany(targetEntity=Bloc::class, mappedBy="parcours", cascade={"persist", "remove"})
  369.      */
  370.     private Collection $blocs;
  371.     /**
  372.      * @ORM\OneToMany(targetEntity=ModaliteEvaluation::class, mappedBy="parcours", cascade={"persist", "remove"})
  373.      */
  374.     private Collection $modaliteEvaluations;
  375.     /**
  376.      * @ORM\Column(type="boolean")
  377.      */
  378.     private bool $isDefault false;
  379.     /**
  380.      * @ORM\OneToMany(targetEntity=TarifVenteParcours::class, cascade={"persist", "remove"}, mappedBy="parcours", orphanRemoval=true)
  381.      */
  382.     private Collection $tarifVentes;
  383.     /**
  384.      * @ORM\OneToMany(targetEntity=Document::class, mappedBy="parcours",cascade={"persist"})
  385.      */
  386.     private Collection $documents;
  387.     private ?ApiGestiform $apiGestiform null;
  388.     public function __construct()
  389.     {
  390.         $this->themes = new ArrayCollection();
  391.         $this->enfants = new ArrayCollection();
  392.         $this->formaCodes = new ArrayCollection();
  393.         $this->parcoursAvant = new ArrayCollection();
  394.         $this->parcoursApres = new ArrayCollection();
  395.         $this->codesromes = new ArrayCollection();
  396.         $this->sessions = new ArrayCollection();
  397.         $this->blocs = new ArrayCollection();
  398.         $this->modaliteEvaluations = new ArrayCollection();
  399.         $this->tarifVentes = new ArrayCollection();
  400.         $this->documents = new ArrayCollection();
  401.     }
  402.     public function getIntitule(): ?string
  403.     {
  404.         return $this->intitule;
  405.     }
  406.     public function setIntitule(string $intitule): self
  407.     {
  408.         $this->intitule $intitule;
  409.         return $this;
  410.     }
  411.     public function getIntituleOfficiel(): ?string
  412.     {
  413.         return $this->intituleOfficiel;
  414.     }
  415.     public function setIntituleOfficiel(?string $intituleOfficiel): self
  416.     {
  417.         $this->intituleOfficiel $intituleOfficiel;
  418.         return $this;
  419.     }
  420.     public function getCode(): ?string
  421.     {
  422.         return $this->code;
  423.     }
  424.     public function setCode(?string $code): self
  425.     {
  426.         $this->code $code;
  427.         return $this;
  428.     }
  429.     public function getSigle(): ?string
  430.     {
  431.         return $this->sigle;
  432.     }
  433.     public function setSigle(?string $sigle): self
  434.     {
  435.         $this->sigle $sigle;
  436.         return $this;
  437.     }
  438.     public function getDateDebutValide(): ?\DateTime
  439.     {
  440.         return $this->dateDebutValide;
  441.     }
  442.     public function setDateDebutValide(?\DateTime $dateDebutValide): self
  443.     {
  444.         $this->dateDebutValide $dateDebutValide;
  445.         return $this;
  446.     }
  447.     public function getDateFinValide(): ?\DateTime
  448.     {
  449.         return $this->dateFinValide;
  450.     }
  451.     public function setDateFinValide(?\DateTime $dateFinValide): self
  452.     {
  453.         $this->dateFinValide $dateFinValide;
  454.         return $this;
  455.     }
  456.     public function getDatePublicationOfficiel(): ?\DateTime
  457.     {
  458.         return $this->datePublicationOfficiel;
  459.     }
  460.     public function setDatePublicationOfficiel(?\DateTime $datePublicationOfficiel): self
  461.     {
  462.         $this->datePublicationOfficiel $datePublicationOfficiel;
  463.         return $this;
  464.     }
  465.     public function getPlus(): ?string
  466.     {
  467.         return $this->plus;
  468.     }
  469.     public function setPlus(?string $plus): self
  470.     {
  471.         $this->plus $plus;
  472.         return $this;
  473.     }
  474.     public function getRedirection(): ?string
  475.     {
  476.         return $this->redirection;
  477.     }
  478.     public function setRedirection(?string $redirection): self
  479.     {
  480.         $this->redirection $redirection;
  481.         return $this;
  482.     }
  483.     public function isPublication(): ?bool
  484.     {
  485.         return $this->publication;
  486.     }
  487.     public function setPublication(?bool $publication): self
  488.     {
  489.         $this->publication $publication;
  490.         return $this;
  491.     }
  492.     public function isPublicationApi(): ?bool
  493.     {
  494.         return $this->publicationApi;
  495.     }
  496.     public function setPublicationApi(?bool $publicationApi): self
  497.     {
  498.         $this->publicationApi $publicationApi;
  499.         return $this;
  500.     }
  501.     public function getTauxObtention(): ?string
  502.     {
  503.         return $this->tauxObtention;
  504.     }
  505.     public function setTauxObtention(?string $tauxObtention): self
  506.     {
  507.         $this->tauxObtention $tauxObtention;
  508.         return $this;
  509.     }
  510.     public function getTauxAbandon(): ?string
  511.     {
  512.         return $this->tauxAbandon;
  513.     }
  514.     public function setTauxAbandon(?string $tauxAbandon): self
  515.     {
  516.         $this->tauxAbandon $tauxAbandon;
  517.         return $this;
  518.     }
  519.     public function getTauxSatisfaction(): ?string
  520.     {
  521.         return $this->tauxSatisfaction;
  522.     }
  523.     public function setTauxSatisfaction(?string $tauxSatisfaction): self
  524.     {
  525.         $this->tauxSatisfaction $tauxSatisfaction;
  526.         return $this;
  527.     }
  528.     public function getTauxPourSuiteEtude(): ?string
  529.     {
  530.         return $this->tauxPourSuiteEtude;
  531.     }
  532.     public function setTauxPourSuiteEtude(?string $tauxPourSuiteEtude): self
  533.     {
  534.         $this->tauxPourSuiteEtude $tauxPourSuiteEtude;
  535.         return $this;
  536.     }
  537.     public function getTauxEmployabilite(): ?string
  538.     {
  539.         return $this->tauxEmployabilite;
  540.     }
  541.     public function setTauxEmployabilite(?string $tauxEmployabilite): self
  542.     {
  543.         $this->tauxEmployabilite $tauxEmployabilite;
  544.         return $this;
  545.     }
  546.     public function getSalaireMoyen(): ?string
  547.     {
  548.         return $this->salaireMoyen;
  549.     }
  550.     public function setSalaireMoyen(?string $salaireMoyen): self
  551.     {
  552.         $this->salaireMoyen $salaireMoyen;
  553.         return $this;
  554.     }
  555.     public function getLivrable(): ?string
  556.     {
  557.         return $this->livrable;
  558.     }
  559.     public function setLivrable(?string $livrable): self
  560.     {
  561.         $this->livrable $livrable;
  562.         return $this;
  563.     }
  564.     public function getAltBanniere(): ?string
  565.     {
  566.         return $this->altBanniere;
  567.     }
  568.     public function setAltBanniere(?string $altBanniere): self
  569.     {
  570.         $this->altBanniere $altBanniere;
  571.         return $this;
  572.     }
  573.     public function getAltVignette(): ?string
  574.     {
  575.         return $this->altVignette;
  576.     }
  577.     public function setAltVignette(?string $altVignette): self
  578.     {
  579.         $this->altVignette $altVignette;
  580.         return $this;
  581.     }
  582.     public function getTarifJury(): ?float
  583.     {
  584.         return $this->tarifJury;
  585.     }
  586.     public function setTarifJury(?float $tarifJury): self
  587.     {
  588.         $this->tarifJury $tarifJury;
  589.         return $this;
  590.     }
  591.     public function isCpf(): ?bool
  592.     {
  593.         return $this->cpf;
  594.     }
  595.     public function setCpf(?bool $cpf): self
  596.     {
  597.         $this->cpf $cpf;
  598.         return $this;
  599.     }
  600.     public function getCodeCpf(): ?string
  601.     {
  602.         return $this->codeCpf;
  603.     }
  604.     public function setCodeCpf(?string $codeCpf): self
  605.     {
  606.         $this->codeCpf $codeCpf;
  607.         return $this;
  608.     }
  609.     public function getCodeRncpRs(): ?string
  610.     {
  611.         return $this->codeRncpRs;
  612.     }
  613.     public function setCodeRncpRs(?string $codeRncpRs): self
  614.     {
  615.         $this->codeRncpRs $codeRncpRs;
  616.         return $this;
  617.     }
  618.     public function getCodeCpfSalarie(): ?string
  619.     {
  620.         return $this->codeCpfSalarie;
  621.     }
  622.     public function setCodeCpfSalarie(?string $codeCpfSalarie): self
  623.     {
  624.         $this->codeCpfSalarie $codeCpfSalarie;
  625.         return $this;
  626.     }
  627.     public function getCodeCpfDemandeurEmploi(): ?string
  628.     {
  629.         return $this->codeCpfDemandeurEmploi;
  630.     }
  631.     public function setCodeCpfDemandeurEmploi(?string $codeCpfDemandeurEmploi): self
  632.     {
  633.         $this->codeCpfDemandeurEmploi $codeCpfDemandeurEmploi;
  634.         return $this;
  635.     }
  636.     public function getCodeNsf(): ?string
  637.     {
  638.         return $this->codeNsf;
  639.     }
  640.     public function setCodeNsf(?string $codeNsf): self
  641.     {
  642.         $this->codeNsf $codeNsf;
  643.         return $this;
  644.     }
  645.     public function getDuree(): ?int
  646.     {
  647.         return $this->duree;
  648.     }
  649.     public function setDuree(?int $duree): self
  650.     {
  651.         $this->duree $duree;
  652.         return $this;
  653.     }
  654.     public function getDureeModulaire(): ?int
  655.     {
  656.         return $this->dureeModulaire;
  657.     }
  658.     public function setDureeModulaire(?int $dureeModulaire): self
  659.     {
  660.         $this->dureeModulaire $dureeModulaire;
  661.         return $this;
  662.     }
  663.     public function getDureeAccompagnement(): ?int
  664.     {
  665.         return $this->dureeAccompagnement;
  666.     }
  667.     public function setDureeAccompagnement(?int $dureeAccompagnement): self
  668.     {
  669.         $this->dureeAccompagnement $dureeAccompagnement;
  670.         return $this;
  671.     }
  672.     public function getDureeStage(): ?int
  673.     {
  674.         return $this->dureeStage;
  675.     }
  676.     public function setDureeStage(?int $dureeStage): self
  677.     {
  678.         $this->dureeStage $dureeStage;
  679.         return $this;
  680.     }
  681.     public function getDureeCenter(): ?int
  682.     {
  683.         return $this->dureeCenter;
  684.     }
  685.     public function setDureeCenter(?int $dureeCenter): self
  686.     {
  687.         $this->dureeCenter $dureeCenter;
  688.         return $this;
  689.     }
  690.     public function getDureeElearning(): ?int
  691.     {
  692.         return $this->dureeElearning;
  693.     }
  694.     public function setDureeElearning(?int $dureeElearning): self
  695.     {
  696.         $this->dureeElearning $dureeElearning;
  697.         return $this;
  698.     }
  699.     public function isStageObligatoire(): ?bool
  700.     {
  701.         return $this->stageObligatoire;
  702.     }
  703.     public function setStageObligatoire(?bool $stageObligatoire): self
  704.     {
  705.         $this->stageObligatoire $stageObligatoire;
  706.         return $this;
  707.     }
  708.     public function isFormationPermanente(): ?bool
  709.     {
  710.         return $this->formationPermanente;
  711.     }
  712.     public function setFormationPermanente(?bool $formationPermanente): self
  713.     {
  714.         $this->formationPermanente $formationPermanente;
  715.         return $this;
  716.     }
  717.     public function getSanctionResume(): ?string
  718.     {
  719.         return $this->sanctionResume;
  720.     }
  721.     public function setSanctionResume(?string $sanctionResume): self
  722.     {
  723.         $this->sanctionResume $sanctionResume;
  724.         return $this;
  725.     }
  726.     public function getSanctionLong(): ?string
  727.     {
  728.         return $this->sanctionLong;
  729.     }
  730.     public function setSanctionLong(?string $sanctionLong): self
  731.     {
  732.         $this->sanctionLong $sanctionLong;
  733.         return $this;
  734.     }
  735.     public function getMetier(): ?string
  736.     {
  737.         return $this->metier;
  738.     }
  739.     public function setMetier(?string $metier): self
  740.     {
  741.         $this->metier $metier;
  742.         return $this;
  743.     }
  744.     public function getText(): ?string
  745.     {
  746.         return $this->text;
  747.     }
  748.     public function setText(?string $text): self
  749.     {
  750.         $this->text $text;
  751.         return $this;
  752.     }
  753.     public function getObjectif(): ?string
  754.     {
  755.         return $this->objectif;
  756.     }
  757.     public function setObjectif(?string $objectif): self
  758.     {
  759.         $this->objectif $objectif;
  760.         return $this;
  761.     }
  762.     public function getDebouche(): ?string
  763.     {
  764.         return $this->debouche;
  765.     }
  766.     public function setDebouche(?string $debouche): self
  767.     {
  768.         $this->debouche $debouche;
  769.         return $this;
  770.     }
  771.     public function getConditionAdmission(): ?string
  772.     {
  773.         return $this->conditionAdmission;
  774.     }
  775.     public function setConditionAdmission(?string $conditionAdmission): self
  776.     {
  777.         $this->conditionAdmission $conditionAdmission;
  778.         return $this;
  779.     }
  780.     public function getPublic(): ?string
  781.     {
  782.         return $this->public;
  783.     }
  784.     public function setPublic(?string $public): self
  785.     {
  786.         $this->public $public;
  787.         return $this;
  788.     }
  789.     public function getDetailExamen(): ?string
  790.     {
  791.         return $this->detailExamen;
  792.     }
  793.     public function setDetailExamen(?string $detailExamen): self
  794.     {
  795.         $this->detailExamen $detailExamen;
  796.         return $this;
  797.     }
  798.     public function getFraisPedagogique(): ?string
  799.     {
  800.         return $this->fraisPedagogique;
  801.     }
  802.     public function setFraisPedagogique(?string $fraisPedagogique): self
  803.     {
  804.         $this->fraisPedagogique $fraisPedagogique;
  805.         return $this;
  806.     }
  807.     public function getSeoTitre(): ?string
  808.     {
  809.         return $this->seoTitre;
  810.     }
  811.     public function setSeoTitre(?string $seoTitre): self
  812.     {
  813.         $this->seoTitre $seoTitre;
  814.         return $this;
  815.     }
  816.     public function getSeoDescription(): ?string
  817.     {
  818.         return $this->seoDescription;
  819.     }
  820.     public function setSeoDescription(?string $seoDescription): self
  821.     {
  822.         $this->seoDescription $seoDescription;
  823.         return $this;
  824.     }
  825.     public function getRythme(): ?string
  826.     {
  827.         return $this->rythme;
  828.     }
  829.     public function setRythme(?string $rythme): self
  830.     {
  831.         $this->rythme $rythme;
  832.         return $this;
  833.     }
  834.     public function getIdentifiantDokelio(): ?string
  835.     {
  836.         return $this->identifiantDokelio;
  837.     }
  838.     public function setIdentifiantDokelio(?string $identifiantDokelio): self
  839.     {
  840.         $this->identifiantDokelio $identifiantDokelio;
  841.         return $this;
  842.     }
  843.     public function getDokelioParcours(): ?string
  844.     {
  845.         return $this->dokelioParcours;
  846.     }
  847.     public function setDokelioParcours(?string $dokelioParcours): self
  848.     {
  849.         $this->dokelioParcours $dokelioParcours;
  850.         return $this;
  851.     }
  852.     public function getContenuApres(): ?string
  853.     {
  854.         return $this->contenuApres;
  855.     }
  856.     public function setContenuApres(?string $contenuApres): self
  857.     {
  858.         $this->contenuApres $contenuApres;
  859.         return $this;
  860.     }
  861.     public function getContenuAvant(): ?string
  862.     {
  863.         return $this->contenuAvant;
  864.     }
  865.     public function setContenuAvant(?string $contenuAvant): self
  866.     {
  867.         $this->contenuAvant $contenuAvant;
  868.         return $this;
  869.     }
  870.     public function getPath(): ?string
  871.     {
  872.         return $this->path;
  873.     }
  874.     public function setPath(?string $path): self
  875.     {
  876.         $this->path $path;
  877.         return $this;
  878.     }
  879.     public function getPrerequis(): ?string
  880.     {
  881.         return $this->prerequis;
  882.     }
  883.     public function setPrerequis(?string $prerequis): self
  884.     {
  885.         $this->prerequis $prerequis;
  886.         return $this;
  887.     }
  888.     public function getItems(): ?string
  889.     {
  890.         return $this->items;
  891.     }
  892.     public function setItems(?string $items): self
  893.     {
  894.         $this->items $items;
  895.         return $this;
  896.     }
  897.     /**
  898.      * @return Collection<int, Theme>
  899.      */
  900.     public function getThemes(): Collection
  901.     {
  902.         return $this->themes;
  903.     }
  904.     public function addTheme(Theme $theme): self
  905.     {
  906.         if (!$this->themes->contains($theme)) {
  907.             $this->themes->add($theme);
  908.         }
  909.         return $this;
  910.     }
  911.     public function removeTheme(Theme $theme): self
  912.     {
  913.         $this->themes->removeElement($theme);
  914.         return $this;
  915.     }
  916.     /**
  917.      * @return Collection<int, Parcours>
  918.      */
  919.     public function getEnfants(): Collection
  920.     {
  921.         return $this->enfants;
  922.     }
  923.     public function setEnfants(Collection $enfants): self
  924.     {
  925.         $this->enfants $enfants;
  926.         return $this;
  927.     }
  928.     public function addEnfant(Parcours $enfant): self
  929.     {
  930.         if (!$this->enfants->contains($enfant)) {
  931.             $this->enfants->add($enfant);
  932.             $enfant->setParent($this);
  933.         }
  934.         return $this;
  935.     }
  936.     public function removeEnfant(Parcours $enfant): self
  937.     {
  938.         if ($this->enfants->removeElement($enfant)) {
  939.             // set the owning side to null (unless already changed)
  940.             if ($enfant->getParent() === $this) {
  941.                 $enfant->setParent(null);
  942.             }
  943.         }
  944.         return $this;
  945.     }
  946.     public function getParent(): ?self
  947.     {
  948.         return $this->parent;
  949.     }
  950.     public function setParent(?self $parent): self
  951.     {
  952.         $this->parent $parent;
  953.         return $this;
  954.     }
  955.     public function getAutoriteDelivranceCpf(): ?Masterlistelg
  956.     {
  957.         return $this->autoriteDelivranceCpf;
  958.     }
  959.     public function setAutoriteDelivranceCpf(?Masterlistelg $autoriteDelivranceCpf): self
  960.     {
  961.         $this->autoriteDelivranceCpf $autoriteDelivranceCpf;
  962.         return $this;
  963.     }
  964.     public function getNsf(): ?Masterlistelg
  965.     {
  966.         return $this->nsf;
  967.     }
  968.     public function setNsf(?Masterlistelg $nsf): self
  969.     {
  970.         $this->nsf $nsf;
  971.         return $this;
  972.     }
  973.     /**
  974.      * @return Collection<int, Masterlistelg>
  975.      */
  976.     public function getFormaCodes(): Collection
  977.     {
  978.         return $this->formaCodes;
  979.     }
  980.     public function addFormaCode(Masterlistelg $formaCode): self
  981.     {
  982.         if (!$this->formaCodes->contains($formaCode)) {
  983.             $this->formaCodes->add($formaCode);
  984.         }
  985.         return $this;
  986.     }
  987.     public function removeFormaCode(Masterlistelg $formaCode): self
  988.     {
  989.         $this->formaCodes->removeElement($formaCode);
  990.         return $this;
  991.     }
  992.     public function getFiliere(): ?Filiere
  993.     {
  994.         return $this->filiere;
  995.     }
  996.     public function setFiliere(?Filiere $filiere): self
  997.     {
  998.         $this->filiere $filiere;
  999.         return $this;
  1000.     }
  1001.     public function getNiveauEntree(): ?Niveau
  1002.     {
  1003.         return $this->niveauEntree;
  1004.     }
  1005.     public function setNiveauEntree(?Niveau $niveauEntree): self
  1006.     {
  1007.         $this->niveauEntree $niveauEntree;
  1008.         return $this;
  1009.     }
  1010.     public function getNiveauSortie(): ?Niveau
  1011.     {
  1012.         return $this->niveauSortie;
  1013.     }
  1014.     public function setNiveauSortie(?Niveau $niveauSortie): self
  1015.     {
  1016.         $this->niveauSortie $niveauSortie;
  1017.         return $this;
  1018.     }
  1019.     public function getNiveauTechnique(): ?Masterlistelg
  1020.     {
  1021.         return $this->niveauTechnique;
  1022.     }
  1023.     public function setNiveauTechnique(?Masterlistelg $niveauTechnique): self
  1024.     {
  1025.         $this->niveauTechnique $niveauTechnique;
  1026.         return $this;
  1027.     }
  1028.     public function getQualifiant(): ?Masterlistelg
  1029.     {
  1030.         return $this->qualifiant;
  1031.     }
  1032.     public function setQualifiant(?Masterlistelg $qualifiant): self
  1033.     {
  1034.         $this->qualifiant $qualifiant;
  1035.         return $this;
  1036.     }
  1037.     public function getTypeFormation(): ?Masterlistelg
  1038.     {
  1039.         return $this->typeFormation;
  1040.     }
  1041.     public function setTypeFormation(?Masterlistelg $typeFormation): self
  1042.     {
  1043.         $this->typeFormation $typeFormation;
  1044.         return $this;
  1045.     }
  1046.     public function getAutoriteDelivrance(): ?Masterlistelg
  1047.     {
  1048.         return $this->autoriteDelivrance;
  1049.     }
  1050.     public function setAutoriteDelivrance(?Masterlistelg $autoriteDelivrance): self
  1051.     {
  1052.         $this->autoriteDelivrance $autoriteDelivrance;
  1053.         return $this;
  1054.     }
  1055.     /**
  1056.      * @return Collection<int, Parcours>
  1057.      */
  1058.     public function getParcoursAvant(): Collection
  1059.     {
  1060.         return $this->parcoursAvant;
  1061.     }
  1062.     public function addParcoursAvant(Parcours $parcoursAvant): self
  1063.     {
  1064.         if (!$this->parcoursAvant->contains($parcoursAvant)) {
  1065.             $this->parcoursAvant->add($parcoursAvant);
  1066.         }
  1067.         return $this;
  1068.     }
  1069.     public function removeParcoursAvant(Parcours $parcoursAvant): self
  1070.     {
  1071.         $this->parcoursAvant->removeElement($parcoursAvant);
  1072.         return $this;
  1073.     }
  1074.     /**
  1075.      * @return Collection<int, Parcours>
  1076.      */
  1077.     public function getParcoursApres(): Collection
  1078.     {
  1079.         return $this->parcoursApres;
  1080.     }
  1081.     public function addParcoursApre(Parcours $parcoursApre): self
  1082.     {
  1083.         if (!$this->parcoursApres->contains($parcoursApre)) {
  1084.             $this->parcoursApres->add($parcoursApre);
  1085.         }
  1086.         return $this;
  1087.     }
  1088.     public function removeParcoursApre(Parcours $parcoursApre): self
  1089.     {
  1090.         $this->parcoursApres->removeElement($parcoursApre);
  1091.         return $this;
  1092.     }
  1093.     /**
  1094.      * @return Collection<int, Masterlistelg>
  1095.      */
  1096.     public function getCodesromes(): Collection
  1097.     {
  1098.         return $this->codesromes;
  1099.     }
  1100.     public function addCodesrome(Masterlistelg $codesrome): self
  1101.     {
  1102.         if (!$this->codesromes->contains($codesrome)) {
  1103.             $this->codesromes->add($codesrome);
  1104.         }
  1105.         return $this;
  1106.     }
  1107.     public function removeCodesrome(Masterlistelg $codesrome): self
  1108.     {
  1109.         $this->codesromes->removeElement($codesrome);
  1110.         return $this;
  1111.     }
  1112.     public function getModeFormation(): ?Masterlistelg
  1113.     {
  1114.         return $this->modeFormation;
  1115.     }
  1116.     public function setModeFormation(?Masterlistelg $modeFormation): self
  1117.     {
  1118.         $this->modeFormation $modeFormation;
  1119.         return $this;
  1120.     }
  1121.     public function getBanniere(): ?Upload
  1122.     {
  1123.         return $this->banniere;
  1124.     }
  1125.     public function setBanniere(?Upload $banniere): self
  1126.     {
  1127.         $this->banniere $banniere;
  1128.         return $this;
  1129.     }
  1130.     public function getVignette(): ?Upload
  1131.     {
  1132.         return $this->vignette;
  1133.     }
  1134.     public function setVignette(?Upload $vignette): self
  1135.     {
  1136.         $this->vignette $vignette;
  1137.         return $this;
  1138.     }
  1139.     public function getSessions(): Collection
  1140.     {
  1141.         return $this->sessions;
  1142.     }
  1143.     public function addSession(Session $session): self
  1144.     {
  1145.         if (!$this->sessions->contains($session)) {
  1146.             $this->sessions->add($session);
  1147.             $session->setParcours($this);
  1148.         }
  1149.         return $this;
  1150.     }
  1151.     public function removeSession(Session $session): self
  1152.     {
  1153.         if ($this->sessions->removeElement($session)) {
  1154.             // set the owning side to null (unless already changed)
  1155.             if ($session->getParcours() === $this) {
  1156.                 $session->setParcours(null);
  1157.             }
  1158.         }
  1159.         return $this;
  1160.     }
  1161.     public function getBlocs(): Collection
  1162.     {
  1163.         return $this->blocs;
  1164.     }
  1165.     public function setBlocs(Collection $blocs): self
  1166.     {
  1167.         $this->blocs $blocs;
  1168.         return $this;
  1169.     }
  1170.     public function addBloc(Bloc $bloc): self
  1171.     {
  1172.         if (!$this->blocs->contains($bloc)) {
  1173.             $this->blocs->add($bloc);
  1174.             $bloc->setParcours($this);
  1175.         }
  1176.         return $this;
  1177.     }
  1178.     public function removeBloc(Bloc $bloc): self
  1179.     {
  1180.         if ($this->blocs->removeElement($bloc)) {
  1181.             // set the owning side to null (unless already changed)
  1182.             if ($bloc->getParcours() === $this) {
  1183.                 $bloc->setParcours(null);
  1184.             }
  1185.         }
  1186.         return $this;
  1187.     }
  1188.     public function getIsDefault(): ?bool
  1189.     {
  1190.         return $this->isDefault;
  1191.     }
  1192.     public function setIsDefault(?bool $isDefault): self
  1193.     {
  1194.         $this->isDefault $isDefault;
  1195.         return $this;
  1196.     }
  1197.     public function isIsDefault(): ?bool
  1198.     {
  1199.         return $this->isDefault;
  1200.     }
  1201.     public function getRncp(): ?bool
  1202.     {
  1203.         return $this->rncp;
  1204.     }
  1205.     public function setRncp(?bool $rncp): self
  1206.     {
  1207.         $this->rncp $rncp;
  1208.         return $this;
  1209.     }
  1210.     /**
  1211.      * @return Collection<int, TarifVenteParcours>
  1212.      */
  1213.     public function getTarifVentes(): Collection
  1214.     {
  1215.         return $this->tarifVentes;
  1216.     }
  1217.     public function addTarifVente(TarifVenteParcours $tarifVente): self
  1218.     {
  1219.         if (!$this->tarifVentes->contains($tarifVente)) {
  1220.             $this->tarifVentes->add($tarifVente);
  1221.             $tarifVente->setParcours($this);
  1222.         }
  1223.         return $this;
  1224.     }
  1225.     public function removeTarifVente(TarifVenteParcours $tarifVente): self
  1226.     {
  1227.         if ($this->tarifVentes->removeElement($tarifVente)) {
  1228.             // set the owning side to null (unless already changed)
  1229.             if ($tarifVente->getParcours() === $this) {
  1230.                 $tarifVente->setParcours(null);
  1231.             }
  1232.         }
  1233.         return $this;
  1234.     }
  1235.     public function getTarifJury2(): ?float
  1236.     {
  1237.         return $this->tarifJury2;
  1238.     }
  1239.     public function setTarifJury2(?float $tarifJury2): self
  1240.     {
  1241.         $this->tarifJury2 $tarifJury2;
  1242.         return $this;
  1243.     }
  1244.     public function getFormateur(): ?Formateur
  1245.     {
  1246.         return $this->formateur;
  1247.     }
  1248.     public function setFormateur(?Formateur $formateur): self
  1249.     {
  1250.         $this->formateur $formateur;
  1251.         return $this;
  1252.     }
  1253.     public function getDiplomesTitresParcours(): ?Masterlistelg
  1254.     {
  1255.         return $this->diplomesTitresParcours;
  1256.     }
  1257.     public function setDiplomesTitresParcours(?Masterlistelg $diplomesTitresParcours): self
  1258.     {
  1259.         $this->diplomesTitresParcours $diplomesTitresParcours;
  1260.         return $this;
  1261.     }
  1262.     public function getCodeDiplome(): ?string
  1263.     {
  1264.         return $this->codeDiplome;
  1265.     }
  1266.     public function setCodeDiplome(?string $codeDiplome): self
  1267.     {
  1268.         $this->codeDiplome $codeDiplome;
  1269.         return $this;
  1270.     }
  1271.     public function getTheme(): ?Theme
  1272.     {
  1273.         return $this->theme;
  1274.     }
  1275.     public function setTheme(?Theme $theme): self
  1276.     {
  1277.         $this->theme $theme;
  1278.         return $this;
  1279.     }
  1280.     /**
  1281.      * @return Collection<int, Document>
  1282.      */
  1283.     public function getDocuments(): Collection
  1284.     {
  1285.         return $this->documents;
  1286.     }
  1287.     public function addDocument(Document $document): self
  1288.     {
  1289.         if (!$this->documents->contains($document)) {
  1290.             $this->documents->add($document);
  1291.             $document->setParcours($this);
  1292.         }
  1293.         return $this;
  1294.     }
  1295.     public function removeDocument(Document $document): self
  1296.     {
  1297.         if ($this->documents->removeElement($document)) {
  1298.             // set the owning side to null (unless already changed)
  1299.             if ($document->getParcours() === $this) {
  1300.                 $document->setParcours(null);
  1301.             }
  1302.         }
  1303.         return $this;
  1304.     }
  1305.     /**
  1306.      * @return Collection|ModaliteEvaluation[]
  1307.      */
  1308.     public function getModaliteEvaluations(): Collection
  1309.     {
  1310.         return $this->modaliteEvaluations;
  1311.     }
  1312.     public function setModaliteEvaluations(Collection $modaliteEvaluations): self
  1313.     {
  1314.         $this->modaliteEvaluations $modaliteEvaluations;
  1315.         return $this;
  1316.     }
  1317.     public function addModaliteEvaluation(ModaliteEvaluation $modaliteEvaluation): self
  1318.     {
  1319.         if (!$this->modaliteEvaluations->contains($modaliteEvaluation)) {
  1320.             $this->modaliteEvaluations->add($modaliteEvaluation);
  1321.             $modaliteEvaluation->setParcours($this);
  1322.         }
  1323.         return $this;
  1324.     }
  1325.     public function removeModaliteEvaluation(ModaliteEvaluation $modaliteEvaluation): self
  1326.     {
  1327.         if ($this->modaliteEvaluations->removeElement($modaliteEvaluation)) {
  1328.             if ($modaliteEvaluation->getParcours() === $this) {
  1329.                 $modaliteEvaluation->setParcours(null);
  1330.             }
  1331.         }
  1332.         return $this;
  1333.     }
  1334. }