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