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