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

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