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