src/Entity/DemandeService.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Model\Globals;
  4. use App\Repository\DemandeServiceRepository;
  5. use Doctrine\Common\Collections\ArrayCollection;
  6. use Doctrine\Common\Collections\Collection;
  7. use Doctrine\DBAL\Types\Types;
  8. use Doctrine\ORM\Mapping as ORM;
  9. #[ORM\Entity(repositoryClassDemandeServiceRepository::class)]
  10. class DemandeService
  11. {
  12.     #[ORM\Id]
  13.     #[ORM\GeneratedValue]
  14.     #[ORM\Column]
  15.     private ?int $id null;
  16.     #[ORM\Column(length255nullabletrue)]
  17.     private ?string $matriculeFiscal null;
  18.     #[ORM\Column(nullabletrue)]
  19.     private ?int $statut null;
  20.     #[ORM\Column(length255nullabletrue)]
  21.     private ?string $raisonSociale null;
  22.     #[ORM\Column(length255nullabletrue)]
  23.     private ?string $nomCommercial null;
  24.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  25.     private ?string $siegeSocialAddress null;
  26.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  27.     private ?string $siteProductionAddress null;
  28.     #[ORM\ManyToOne(targetEntityGouvernorat::class)]
  29.     private ?Gouvernorat $gouvernorat null;
  30.     #[ORM\ManyToOne(targetEntityDelegation::class)]
  31.     private ?Delegation $delegation null;
  32.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  33.     private ?string $localite null;
  34.     #[ORM\Column(nullabletrue)]
  35.     private ?int $codePostal null;
  36.     #[ORM\Column(length255nullabletrue)]
  37.     private ?string $tel null;
  38.     #[ORM\Column(length255nullabletrue)]
  39.     private ?string $fax null;
  40.     #[ORM\Column(length255nullabletrue)]
  41.     private ?string $email null;
  42.     #[ORM\Column(length255nullabletrue)]
  43.     private ?string $nomPrenomResponsable null;
  44.     #[ORM\Column(length255nullabletrue)]
  45.     private ?string $codeCnss null;
  46.     #[ORM\Column(length255nullabletrue)]
  47.     private ?string $secteurActivite null;
  48.     #[ORM\Column(length255nullabletrue)]
  49.     private ?string $brancheActivite null;
  50.     #[ORM\Column(length255nullabletrue)]
  51.     private ?string $produitServiceRendu null;
  52.     #[ORM\Column(nullabletrue)]
  53.     private ?int $exportatrice null;
  54.     #[ORM\Column(nullabletrue)]
  55.     private ?bool $isOffshore null;
  56.     #[ORM\Column(nullabletrue)]
  57.     private ?int $tauxTfp null;
  58.     #[ORM\Column(nullabletrue)]
  59.     private ?int $regimeTravail null;
  60.     #[ORM\Column(nullabletrue)]
  61.     private ?float $montantTfpAnneePrec null;
  62.     #[ORM\Column(length255nullabletrue)]
  63.     private ?string $nomChargeFormation null;
  64.     #[ORM\Column(length255nullabletrue)]
  65.     private ?string $genre null;
  66.     #[ORM\Column(length255nullabletrue)]
  67.     private ?string $niveauInstruction null;
  68.     #[ORM\Column(length255nullabletrue)]
  69.     private ?string $fonction null;
  70.     #[ORM\Column(length255nullabletrue)]
  71.     private ?string $structureAffectation null;
  72.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  73.     private ?string $address null;
  74.     #[ORM\Column(nullabletrue)]
  75.     private ?int $natureDemande null;
  76.     #[ORM\Column(length255nullabletrue)]
  77.     private ?string $chargeProgramme null;
  78.     #[ORM\Column(nullabletrue)]
  79.     private ?int $objetDemande null;
  80.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  81.     private ?string $justifDemande null;
  82.     #[ORM\Column(length255nullabletrue)]
  83.     private ?string $populationCible null;
  84.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  85.     private ?string $presentationSecteurActivite null;
  86.     #[ORM\Column(nullabletrue)]
  87.     private ?int $nbrActif null;
  88.     #[ORM\Column(nullabletrue)]
  89.     private ?int $nbrEntrepriseCible null;
  90.     #[ORM\Column(nullabletrue)]
  91.     private ?int $nbrBeneficiaire null;
  92.     #[ORM\Column(nullabletrue)]
  93.     private ?int $periodePrevisionnelle null;
  94.     #[ORM\Column(nullabletrue)]
  95.     private ?float $coutFormation null;
  96.     #[ORM\Column(nullabletrue)]
  97.     private ?int $sourceBesoins null;
  98.     #[ORM\ManyToOne(targetEntityService::class)]
  99.     private ?Service $service null;
  100.     #[ORM\Column(nullabletrue)]
  101.     private ?int $etat null;
  102.     #[ORM\Column(nullabletrue)]
  103.     private ?int $effectifHommePermanentCadre null;
  104.     #[ORM\Column(nullabletrue)]
  105.     private ?int $effectifHommePermanentAgent null;
  106.     #[ORM\Column(nullabletrue)]
  107.     private ?int $effectifHommePermanentAgentMaitrise null;
  108.     #[ORM\Column(nullabletrue)]
  109.     private ?int $effectifHommePermanentTotal null;
  110.     #[ORM\Column(nullabletrue)]
  111.     private ?int $effectifFemmePermanentCadre null;
  112.     #[ORM\Column(nullabletrue)]
  113.     private ?int $effectifFemmePermanentAgent null;
  114.     #[ORM\Column(nullabletrue)]
  115.     private ?int $effectifFemmePermanentAgentMaitrise null;
  116.     #[ORM\Column(nullabletrue)]
  117.     private ?int $effectifFemmePermanentTotal null;
  118.     #[ORM\Column(nullabletrue)]
  119.     private ?int $effectifHommeContractuelCadre null;
  120.     #[ORM\Column(nullabletrue)]
  121.     private ?int $effectifHommeContractuelAgent null;
  122.     #[ORM\Column(nullabletrue)]
  123.     private ?int $effectifHommeContractuelAgentMaitrise null;
  124.     #[ORM\Column(nullabletrue)]
  125.     private ?int $effectifHommeContractuelTotal null;
  126.     #[ORM\Column(nullabletrue)]
  127.     private ?int $effectifFemmeContractuelCadre null;
  128.     #[ORM\Column(nullabletrue)]
  129.     private ?int $effectifFemmeContractuelAgent null;
  130.     #[ORM\Column(nullabletrue)]
  131.     private ?int $effectifFemmeContractuelAgentMaitrise null;
  132.     #[ORM\Column(nullabletrue)]
  133.     private ?int $effectifFemmeContractuelTotal null;
  134.     #[ORM\Column(nullabletrue)]
  135.     private ?int $effectifHommeOccasionnelCadre null;
  136.     #[ORM\Column(nullabletrue)]
  137.     private ?int $effectifHommeOccasionnelAgent null;
  138.     #[ORM\Column(nullabletrue)]
  139.     private ?int $effectifHommeOccasionnelAgentMaitrise null;
  140.     #[ORM\Column(nullabletrue)]
  141.     private ?int $effectifHommeOccasionnelTotal null;
  142.     #[ORM\Column(nullabletrue)]
  143.     private ?int $effectifFemmeOccasionnelCadre null;
  144.     #[ORM\Column(nullabletrue)]
  145.     private ?int $effectifFemmeOccasionnelAgent null;
  146.     #[ORM\Column(nullabletrue)]
  147.     private ?int $effectifFemmeOccasionnelAgentMaitrise null;
  148.     #[ORM\Column(nullabletrue)]
  149.     private ?int $effectifFemmeOccasionnelTotal null;
  150.     #[ORM\Column(nullabletrue)]
  151.     private ?int $totalCadre null;
  152.     #[ORM\Column(nullabletrue)]
  153.     private ?int $totalAgent null;
  154.     #[ORM\Column(nullabletrue)]
  155.     private ?int $totalAgentMaitrise null;
  156.     #[ORM\Column(nullabletrue)]
  157.     private ?int $total null;
  158.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  159.     private ?\DateTimeInterface $createdAt null;
  160.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  161.     private ?\DateTimeInterface $updatedAt null;
  162.     #[ORM\Column(nullabletrue)]
  163.     private ?int $createdBy null;
  164.     #[ORM\Column(nullabletrue)]
  165.     private ?int $updatedBy null;
  166.     #[ORM\Column(nullabletrue)]
  167.     private ?bool $isDeleted null;
  168.     #[ORM\Column(nullabletrue)]
  169.     private ?bool $enabled null;
  170.     #[ORM\Column(nullabletrue)]
  171.     private ?bool $isVerified null;
  172.     #[ORM\Column(nullabletrue)]
  173.     private ?int $verifiedBy null;
  174.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  175.     private ?\DateTimeInterface $verifiedAt null;
  176.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  177.     private ?\DateTimeInterface $deletedAt null;
  178.     #[ORM\Column(length255nullabletrue)]
  179.     private ?string $documents null;
  180.     #[ORM\Column(nullabletrue)]
  181.     private ?int $validBy null;
  182.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  183.     private ?\DateTimeInterface $validAt null;
  184.     #[ORM\Column(nullabletrue)]
  185.     private ?int $refusedBy null;
  186.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  187.     private ?\DateTimeInterface $refusedAt null;
  188.     #[ORM\Column(nullabletrue)]
  189.     private ?bool $assigned null;
  190.     #[ORM\Column(nullabletrue)]
  191.     private ?bool $isValid null;
  192.     #[ORM\OneToMany(mappedBy'demandeService'targetEntityDemandeAffectation::class)]
  193.     private Collection $demandeAffectation;
  194.     #[ORM\OneToMany(mappedBy'demandeService'targetEntityDocDemandeClient::class)]
  195.     private Collection $docDemandeClient;
  196.     #[ORM\OneToMany(mappedBy'demandeService'targetEntityDemandeServiceCandidat::class)]
  197.     private Collection $demandeServiceCandidats;
  198.     #[ORM\Column(nullabletrue)]
  199.     private ?bool $acceptDocuments null;
  200.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  201.     private ?string $motifRefus null;
  202.     #[ORM\ManyToOne(targetEntityself::class, inversedBy'demandeGroupe')]
  203.     private ?self $groupe null;
  204.     #[ORM\OneToMany(mappedBy'groupe'targetEntityself::class)]
  205.     private Collection $demandeGroupe;
  206.     #[ORM\Column(nullabletrue)]
  207.     private ?int $processType Globals::INTERVENTION_PROCESS_TYPE;
  208.     #[ORM\Column(length255nullabletrue)]
  209.     private ?string $nomGroupe null;
  210.     #[ORM\Column(length255nullabletrue)]
  211.     private ?string $docDemandeValidated null;
  212.     #[ORM\OneToMany(mappedBy'demande'targetEntityDemandeNote::class, orphanRemovaltrue)]
  213.     private Collection $demandeNotes;
  214.     #[ORM\ManyToOne(inversedBy'demandeServices')]
  215.     #[ORM\JoinColumn(nullabletrue)]
  216.     private ?Prestation $prestation null;
  217.     #[ORM\ManyToOne(inversedBy'demandes')]
  218.     private ?GroupeDemande $groupeDemande null;
  219.     #[ORM\ManyToOne(inversedBy'demandeServices')]
  220.     private ?Module $module null;
  221.     #[ORM\ManyToOne]
  222.     private ?Rubrique $rubrique null;
  223.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  224.     private ?\DateTimeInterface $dateDebutModule null;
  225.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  226.     private ?\DateTimeInterface $dateFinModule null;
  227.     #[ORM\Column(length255nullabletrue)]
  228.     private ?string $locationModule null;
  229.     #[ORM\OneToOne(mappedBy'demandeService'cascade: ['persist''remove'])]
  230.     private ?UserFicheSatisfaction $userFicheSatisfaction null;
  231.     #[ORM\Column(length255nullabletrue)]
  232.     private ?string $instanceRepresentative null;
  233.     #[ORM\Column(length255nullabletrue)]
  234.     private ?string $brancheActivitePlan null;
  235.     #[ORM\Column(nullabletrue)]
  236.     private ?int $year null;
  237.     #[ORM\Column(length255nullabletrue)]
  238.     private ?string $reference null;
  239.     #[ORM\Column(nullabletrue)]
  240.     private ?int $mode null;
  241.     #[ORM\Column(nullabletrue)]
  242.     private ?int $nbrEntreprise null;
  243.     #[ORM\Column(nullabletrue)]
  244.     private ?int $effectif null;
  245.     #[ORM\Column(nullabletrue)]
  246.     private ?int $duree null;
  247.     #[ORM\Column(nullabletrue)]
  248.     private ?int $nbrGroupe null;
  249.     #[ORM\Column(length255nullabletrue)]
  250.     private ?string $populationCiblePlan null;
  251.     #[ORM\Column(length255nullabletrue)]
  252.     private ?string $modulePlan null;
  253.     #[ORM\ManyToOne]
  254.     private ?Gouvernorat $gouvernouratModule null;
  255.     #[ORM\OneToMany(mappedBy'demande'targetEntityFeedback::class)]
  256.     private Collection $feedback;
  257.     #[ORM\ManyToOne(inversedBy'demandeServices')]
  258.     private ?User $user null;
  259.     #[ORM\Column(length255nullabletrue)]
  260.     private ?string $cnsscnrps null;
  261.     public function __construct()
  262.     {
  263.         $this->createdAt = new \DateTime();
  264.         $this->demandeAffectation = new ArrayCollection();
  265.         $this->docDemandeClient = new ArrayCollection();
  266.         $this->demandeServiceCandidats = new ArrayCollection();
  267.         $this->demandeGroupe = new ArrayCollection();
  268.         $this->demandeNotes = new ArrayCollection();
  269.         $this->feedback = new ArrayCollection();
  270.     }
  271.     public function getMatriculeFiscal(): ?string
  272.     {
  273.         return $this->matriculeFiscal;
  274.     }
  275.     public function setMatriculeFiscal(?string $matriculeFiscal): self
  276.     {
  277.         $this->matriculeFiscal $matriculeFiscal;
  278.         return $this;
  279.     }
  280.     public function getStatut(): ?int
  281.     {
  282.         return $this->statut;
  283.     }
  284.     public function setStatut(?int $statut): self
  285.     {
  286.         $this->statut $statut;
  287.         return $this;
  288.     }
  289.     public function getRaisonSociale(): ?string
  290.     {
  291.         return $this->raisonSociale;
  292.     }
  293.     public function setRaisonSociale(?string $raisonSociale): self
  294.     {
  295.         $this->raisonSociale $raisonSociale;
  296.         return $this;
  297.     }
  298.     public function getNomCommercial(): ?string
  299.     {
  300.         return $this->nomCommercial;
  301.     }
  302.     public function setNomCommercial(?string $nomCommercial): self
  303.     {
  304.         $this->nomCommercial $nomCommercial;
  305.         return $this;
  306.     }
  307.     public function getSiegeSocialAddress(): ?string
  308.     {
  309.         return $this->siegeSocialAddress;
  310.     }
  311.     public function setSiegeSocialAddress(?string $siegeSocialAddress): self
  312.     {
  313.         $this->siegeSocialAddress $siegeSocialAddress;
  314.         return $this;
  315.     }
  316.     public function getSiteProductionAddress(): ?string
  317.     {
  318.         return $this->siteProductionAddress;
  319.     }
  320.     public function setSiteProductionAddress(?string $siteProductionAddress): self
  321.     {
  322.         $this->siteProductionAddress $siteProductionAddress;
  323.         return $this;
  324.     }
  325.     public function getGouvernorat(): ?Gouvernorat
  326.     {
  327.         return $this->gouvernorat;
  328.     }
  329.     public function setGouvernorat(?Gouvernorat $gouvernorat): self
  330.     {
  331.         $this->gouvernorat $gouvernorat;
  332.         return $this;
  333.     }
  334.     public function getDelegation(): ?Delegation
  335.     {
  336.         return $this->delegation;
  337.     }
  338.     public function setDelegation(?Delegation $delegation): self
  339.     {
  340.         $this->delegation $delegation;
  341.         return $this;
  342.     }
  343.     public function getLocalite(): ?string
  344.     {
  345.         return $this->localite;
  346.     }
  347.     public function setLocalite(?string $localite): self
  348.     {
  349.         $this->localite $localite;
  350.         return $this;
  351.     }
  352.     public function getCodePostal(): ?int
  353.     {
  354.         return $this->codePostal;
  355.     }
  356.     public function setCodePostal(?int $codePostal): self
  357.     {
  358.         $this->codePostal $codePostal;
  359.         return $this;
  360.     }
  361.     public function getTel(): ?string
  362.     {
  363.         return $this->tel;
  364.     }
  365.     public function setTel(?string $tel): self
  366.     {
  367.         $this->tel $tel;
  368.         return $this;
  369.     }
  370.     public function getFax(): ?string
  371.     {
  372.         return $this->fax;
  373.     }
  374.     public function setFax(?string $fax): self
  375.     {
  376.         $this->fax $fax;
  377.         return $this;
  378.     }
  379.     public function getEmail(): ?string
  380.     {
  381.         return $this->email;
  382.     }
  383.     public function setEmail(?string $email): self
  384.     {
  385.         $this->email $email;
  386.         return $this;
  387.     }
  388.     public function getNomPrenomResponsable(): ?string
  389.     {
  390.         return $this->nomPrenomResponsable;
  391.     }
  392.     public function setNomPrenomResponsable(?string $nomPrenomResponsable): self
  393.     {
  394.         $this->nomPrenomResponsable $nomPrenomResponsable;
  395.         return $this;
  396.     }
  397.     public function getSecteurActivite(): ?string
  398.     {
  399.         return $this->secteurActivite;
  400.     }
  401.     public function setSecteurActivite(?string $secteurActivite): self
  402.     {
  403.         $this->secteurActivite $secteurActivite;
  404.         return $this;
  405.     }
  406.     public function getBrancheActivite(): ?string
  407.     {
  408.         return $this->brancheActivite;
  409.     }
  410.     public function setBrancheActivite(?string $brancheActivite): self
  411.     {
  412.         $this->brancheActivite $brancheActivite;
  413.         return $this;
  414.     }
  415.     public function getProduitServiceRendu(): ?string
  416.     {
  417.         return $this->produitServiceRendu;
  418.     }
  419.     public function setProduitServiceRendu(string $produitServiceRendu): self
  420.     {
  421.         $this->produitServiceRendu $produitServiceRendu;
  422.         return $this;
  423.     }
  424.     public function getExportatrice(): ?int
  425.     {
  426.         return $this->exportatrice;
  427.     }
  428.     public function setExportatrice(?int $exportatrice): self
  429.     {
  430.         $this->exportatrice $exportatrice;
  431.         return $this;
  432.     }
  433.     public function isIsOffshore(): ?bool
  434.     {
  435.         return $this->isOffshore;
  436.     }
  437.     public function setIsOffshore(?bool $isOffshore): self
  438.     {
  439.         $this->isOffshore $isOffshore;
  440.         return $this;
  441.     }
  442.     public function getTauxTfp(): ?int
  443.     {
  444.         return $this->tauxTfp;
  445.     }
  446.     public function setTauxTfp(?int $tauxTfp): self
  447.     {
  448.         $this->tauxTfp $tauxTfp;
  449.         return $this;
  450.     }
  451.     public function getRegimeTravail(): ?int
  452.     {
  453.         return $this->regimeTravail;
  454.     }
  455.     public function setRegimeTravail(?int $regimeTravail): self
  456.     {
  457.         $this->regimeTravail $regimeTravail;
  458.         return $this;
  459.     }
  460.     public function getMontantTfpAnneePrec(): ?float
  461.     {
  462.         return $this->montantTfpAnneePrec;
  463.     }
  464.     public function setMontantTfpAnneePrec(?float $montantTfpAnneePrec): self
  465.     {
  466.         $this->montantTfpAnneePrec $montantTfpAnneePrec;
  467.         return $this;
  468.     }
  469.     public function getNomChargeFormation(): ?string
  470.     {
  471.         return $this->nomChargeFormation;
  472.     }
  473.     public function setNomChargeFormation(?string $nomChargeFormation): self
  474.     {
  475.         $this->nomChargeFormation $nomChargeFormation;
  476.         return $this;
  477.     }
  478.     public function getGenre(): ?string
  479.     {
  480.         return $this->genre;
  481.     }
  482.     public function setGenre(?string $genre): self
  483.     {
  484.         $this->genre $genre;
  485.         return $this;
  486.     }
  487.     public function getNiveauInstruction(): ?string
  488.     {
  489.         return $this->niveauInstruction;
  490.     }
  491.     public function setNiveauInstruction(?string $niveauInstruction): self
  492.     {
  493.         $this->niveauInstruction $niveauInstruction;
  494.         return $this;
  495.     }
  496.     public function getFonction(): ?string
  497.     {
  498.         return $this->fonction;
  499.     }
  500.     public function setFonction(?string $fonction): self
  501.     {
  502.         $this->fonction $fonction;
  503.         return $this;
  504.     }
  505.     public function getStructureAffectation(): ?string
  506.     {
  507.         return $this->structureAffectation;
  508.     }
  509.     public function setStructureAffectation(?string $structureAffectation): self
  510.     {
  511.         $this->structureAffectation $structureAffectation;
  512.         return $this;
  513.     }
  514.     public function getAddress(): ?string
  515.     {
  516.         return $this->address;
  517.     }
  518.     public function setAddress(?string $address): self
  519.     {
  520.         $this->address $address;
  521.         return $this;
  522.     }
  523.     public function getNatureDemande(): ?int
  524.     {
  525.         return $this->natureDemande;
  526.     }
  527.     public function setNatureDemande(?int $natureDemande): self
  528.     {
  529.         $this->natureDemande $natureDemande;
  530.         return $this;
  531.     }
  532.     public function getChargeProgramme(): ?string
  533.     {
  534.         return $this->chargeProgramme;
  535.     }
  536.     public function setChargeProgramme(?string $chargeProgramme): self
  537.     {
  538.         $this->chargeProgramme $chargeProgramme;
  539.         return $this;
  540.     }
  541.     public function getObjetDemande(): ?int
  542.     {
  543.         return $this->objetDemande;
  544.     }
  545.     public function setObjetDemande(?int $objetDemande): self
  546.     {
  547.         $this->objetDemande $objetDemande;
  548.         return $this;
  549.     }
  550.     public function getJustifDemande(): ?string
  551.     {
  552.         return $this->justifDemande;
  553.     }
  554.     public function setJustifDemande(?string $justifDemande): self
  555.     {
  556.         $this->justifDemande $justifDemande;
  557.         return $this;
  558.     }
  559.     public function getPopulationCible(): ?string
  560.     {
  561.         return $this->populationCible;
  562.     }
  563.     public function setPopulationCible(string $populationCible): self
  564.     {
  565.         $this->populationCible $populationCible;
  566.         return $this;
  567.     }
  568.     public function getPresentationSecteurActivite(): ?string
  569.     {
  570.         return $this->presentationSecteurActivite;
  571.     }
  572.     public function setPresentationSecteurActivite(?string $presentationSecteurActivite): self
  573.     {
  574.         $this->presentationSecteurActivite $presentationSecteurActivite;
  575.         return $this;
  576.     }
  577.     public function getNbrActif(): ?int
  578.     {
  579.         return $this->nbrActif;
  580.     }
  581.     public function setNbrActif(?int $nbrActif): self
  582.     {
  583.         $this->nbrActif $nbrActif;
  584.         return $this;
  585.     }
  586.     public function getNbrEntrepriseCible(): ?int
  587.     {
  588.         return $this->nbrEntrepriseCible;
  589.     }
  590.     public function setNbrEntrepriseCible(?int $nbrEntrepriseCible): self
  591.     {
  592.         $this->nbrEntrepriseCible $nbrEntrepriseCible;
  593.         return $this;
  594.     }
  595.     public function getNbrBeneficiaire(): ?int
  596.     {
  597.         return $this->nbrBeneficiaire;
  598.     }
  599.     public function setNbrBeneficiaire(?int $nbrBeneficiaire): self
  600.     {
  601.         $this->nbrBeneficiaire $nbrBeneficiaire;
  602.         return $this;
  603.     }
  604.     public function getPeriodePrevisionnelle(): ?int
  605.     {
  606.         return $this->periodePrevisionnelle;
  607.     }
  608.     public function setPeriodePrevisionnelle(?int $periodePrevisionnelle): self
  609.     {
  610.         $this->periodePrevisionnelle $periodePrevisionnelle;
  611.         return $this;
  612.     }
  613.     public function getSourceBesoins(): ?int
  614.     {
  615.         return $this->sourceBesoins;
  616.     }
  617.     public function setSourceBesoins(?int $sourceBesoins): self
  618.     {
  619.         $this->sourceBesoins $sourceBesoins;
  620.         return $this;
  621.     }
  622.     public function getService(): ?Service
  623.     {
  624.         return $this->service;
  625.     }
  626.     public function setService(?Service $service): self
  627.     {
  628.         $this->service $service;
  629.         return $this;
  630.     }
  631.     /**
  632.      * @return string|null
  633.      */
  634.     public function getCodeCnss(): ?string
  635.     {
  636.         return $this->codeCnss;
  637.     }
  638.     /**
  639.      * @param string|null $codeCnss
  640.      */
  641.     public function setCodeCnss(?string $codeCnss): void
  642.     {
  643.         $this->codeCnss $codeCnss;
  644.     }
  645.     /**
  646.      * @return int|null
  647.      */
  648.     public function getId(): ?int
  649.     {
  650.         return $this->id;
  651.     }
  652.     /**
  653.      * @param int|null $id
  654.      */
  655.     public function setId(?int $id): void
  656.     {
  657.         $this->id $id;
  658.     }
  659.     public function getEtat(): ?int
  660.     {
  661.         return $this->etat;
  662.     }
  663.     public function setEtat(?int $etat): self
  664.     {
  665.         $this->etat $etat;
  666.         return $this;
  667.     }
  668.     /**
  669.      * @return int|null
  670.      */
  671.     public function getEffectifHommePermanentCadre(): ?int
  672.     {
  673.         return $this->effectifHommePermanentCadre;
  674.     }
  675.     /**
  676.      * @param int|null $effectifHommePermanentCadre
  677.      */
  678.     public function setEffectifHommePermanentCadre(?int $effectifHommePermanentCadre): void
  679.     {
  680.         $this->effectifHommePermanentCadre $effectifHommePermanentCadre;
  681.     }
  682.     /**
  683.      * @return int|null
  684.      */
  685.     public function getEffectifHommePermanentAgent(): ?int
  686.     {
  687.         return $this->effectifHommePermanentAgent;
  688.     }
  689.     /**
  690.      * @param int|null $effectifHommePermanentAgent
  691.      */
  692.     public function setEffectifHommePermanentAgent(?int $effectifHommePermanentAgent): void
  693.     {
  694.         $this->effectifHommePermanentAgent $effectifHommePermanentAgent;
  695.     }
  696.     /**
  697.      * @return int|null
  698.      */
  699.     public function getEffectifHommePermanentAgentMaitrise(): ?int
  700.     {
  701.         return $this->effectifHommePermanentAgentMaitrise;
  702.     }
  703.     /**
  704.      * @param int|null $effectifHommePermanentAgentMaitrise
  705.      */
  706.     public function setEffectifHommePermanentAgentMaitrise(?int $effectifHommePermanentAgentMaitrise): void
  707.     {
  708.         $this->effectifHommePermanentAgentMaitrise $effectifHommePermanentAgentMaitrise;
  709.     }
  710.     /**
  711.      * @return int|null
  712.      */
  713.     public function getEffectifHommePermanentTotal(): ?int
  714.     {
  715.         return $this->effectifHommePermanentTotal;
  716.     }
  717.     /**
  718.      * @param int|null $effectifHommePermanentTotal
  719.      */
  720.     public function setEffectifHommePermanentTotal(?int $effectifHommePermanentTotal): void
  721.     {
  722.         $this->effectifHommePermanentTotal $effectifHommePermanentTotal;
  723.     }
  724.     /**
  725.      * @return int|null
  726.      */
  727.     public function getEffectifFemmePermanentCadre(): ?int
  728.     {
  729.         return $this->effectifFemmePermanentCadre;
  730.     }
  731.     /**
  732.      * @param int|null $effectifFemmePermanentCadre
  733.      */
  734.     public function setEffectifFemmePermanentCadre(?int $effectifFemmePermanentCadre): void
  735.     {
  736.         $this->effectifFemmePermanentCadre $effectifFemmePermanentCadre;
  737.     }
  738.     /**
  739.      * @return int|null
  740.      */
  741.     public function getEffectifFemmePermanentAgent(): ?int
  742.     {
  743.         return $this->effectifFemmePermanentAgent;
  744.     }
  745.     /**
  746.      * @param int|null $effectifFemmePermanentAgent
  747.      */
  748.     public function setEffectifFemmePermanentAgent(?int $effectifFemmePermanentAgent): void
  749.     {
  750.         $this->effectifFemmePermanentAgent $effectifFemmePermanentAgent;
  751.     }
  752.     /**
  753.      * @return int|null
  754.      */
  755.     public function getEffectifFemmePermanentAgentMaitrise(): ?int
  756.     {
  757.         return $this->effectifFemmePermanentAgentMaitrise;
  758.     }
  759.     /**
  760.      * @param int|null $effectifFemmePermanentAgentMaitrise
  761.      */
  762.     public function setEffectifFemmePermanentAgentMaitrise(?int $effectifFemmePermanentAgentMaitrise): void
  763.     {
  764.         $this->effectifFemmePermanentAgentMaitrise $effectifFemmePermanentAgentMaitrise;
  765.     }
  766.     /**
  767.      * @return int|null
  768.      */
  769.     public function getEffectifFemmePermanentTotal(): ?int
  770.     {
  771.         return $this->effectifFemmePermanentTotal;
  772.     }
  773.     /**
  774.      * @param int|null $effectifFemmePermanentTotal
  775.      */
  776.     public function setEffectifFemmePermanentTotal(?int $effectifFemmePermanentTotal): void
  777.     {
  778.         $this->effectifFemmePermanentTotal $effectifFemmePermanentTotal;
  779.     }
  780.     /**
  781.      * @return int|null
  782.      */
  783.     public function getEffectifHommeContractuelCadre(): ?int
  784.     {
  785.         return $this->effectifHommeContractuelCadre;
  786.     }
  787.     /**
  788.      * @param int|null $effectifHommeContractuelCadre
  789.      */
  790.     public function setEffectifHommeContractuelCadre(?int $effectifHommeContractuelCadre): void
  791.     {
  792.         $this->effectifHommeContractuelCadre $effectifHommeContractuelCadre;
  793.     }
  794.     /**
  795.      * @return int|null
  796.      */
  797.     public function getEffectifHommeContractuelAgent(): ?int
  798.     {
  799.         return $this->effectifHommeContractuelAgent;
  800.     }
  801.     /**
  802.      * @param int|null $effectifHommeContractuelAgent
  803.      */
  804.     public function setEffectifHommeContractuelAgent(?int $effectifHommeContractuelAgent): void
  805.     {
  806.         $this->effectifHommeContractuelAgent $effectifHommeContractuelAgent;
  807.     }
  808.     /**
  809.      * @return int|null
  810.      */
  811.     public function getEffectifHommeContractuelAgentMaitrise(): ?int
  812.     {
  813.         return $this->effectifHommeContractuelAgentMaitrise;
  814.     }
  815.     /**
  816.      * @param int|null $effectifHommeContractuelAgentMaitrise
  817.      */
  818.     public function setEffectifHommeContractuelAgentMaitrise(?int $effectifHommeContractuelAgentMaitrise): void
  819.     {
  820.         $this->effectifHommeContractuelAgentMaitrise $effectifHommeContractuelAgentMaitrise;
  821.     }
  822.     /**
  823.      * @return int|null
  824.      */
  825.     public function getEffectifHommeContractuelTotal(): ?int
  826.     {
  827.         return $this->effectifHommeContractuelTotal;
  828.     }
  829.     /**
  830.      * @param int|null $effectifHommeContractuelTotal
  831.      */
  832.     public function setEffectifHommeContractuelTotal(?int $effectifHommeContractuelTotal): void
  833.     {
  834.         $this->effectifHommeContractuelTotal $effectifHommeContractuelTotal;
  835.     }
  836.     /**
  837.      * @return int|null
  838.      */
  839.     public function getEffectifFemmeContractuelCadre(): ?int
  840.     {
  841.         return $this->effectifFemmeContractuelCadre;
  842.     }
  843.     /**
  844.      * @param int|null $effectifFemmeContractuelCadre
  845.      */
  846.     public function setEffectifFemmeContractuelCadre(?int $effectifFemmeContractuelCadre): void
  847.     {
  848.         $this->effectifFemmeContractuelCadre $effectifFemmeContractuelCadre;
  849.     }
  850.     /**
  851.      * @return int|null
  852.      */
  853.     public function getEffectifFemmeContractuelAgent(): ?int
  854.     {
  855.         return $this->effectifFemmeContractuelAgent;
  856.     }
  857.     /**
  858.      * @param int|null $effectifFemmeContractuelAgent
  859.      */
  860.     public function setEffectifFemmeContractuelAgent(?int $effectifFemmeContractuelAgent): void
  861.     {
  862.         $this->effectifFemmeContractuelAgent $effectifFemmeContractuelAgent;
  863.     }
  864.     /**
  865.      * @return int|null
  866.      */
  867.     public function getEffectifFemmeContractuelAgentMaitrise(): ?int
  868.     {
  869.         return $this->effectifFemmeContractuelAgentMaitrise;
  870.     }
  871.     /**
  872.      * @param int|null $effectifFemmeContractuelAgentMaitrise
  873.      */
  874.     public function setEffectifFemmeContractuelAgentMaitrise(?int $effectifFemmeContractuelAgentMaitrise): void
  875.     {
  876.         $this->effectifFemmeContractuelAgentMaitrise $effectifFemmeContractuelAgentMaitrise;
  877.     }
  878.     /**
  879.      * @return int|null
  880.      */
  881.     public function getEffectifFemmeContractuelTotal(): ?int
  882.     {
  883.         return $this->effectifFemmeContractuelTotal;
  884.     }
  885.     /**
  886.      * @param int|null $effectifFemmeContractuelTotal
  887.      */
  888.     public function setEffectifFemmeContractuelTotal(?int $effectifFemmeContractuelTotal): void
  889.     {
  890.         $this->effectifFemmeContractuelTotal $effectifFemmeContractuelTotal;
  891.     }
  892.     /**
  893.      * @return int|null
  894.      */
  895.     public function getEffectifHommeOccasionnelCadre(): ?int
  896.     {
  897.         return $this->effectifHommeOccasionnelCadre;
  898.     }
  899.     /**
  900.      * @param int|null $effectifHommeOccasionnelCadre
  901.      */
  902.     public function setEffectifHommeOccasionnelCadre(?int $effectifHommeOccasionnelCadre): void
  903.     {
  904.         $this->effectifHommeOccasionnelCadre $effectifHommeOccasionnelCadre;
  905.     }
  906.     /**
  907.      * @return int|null
  908.      */
  909.     public function getEffectifHommeOccasionnelAgent(): ?int
  910.     {
  911.         return $this->effectifHommeOccasionnelAgent;
  912.     }
  913.     /**
  914.      * @param int|null $effectifHommeOccasionnelAgent
  915.      */
  916.     public function setEffectifHommeOccasionnelAgent(?int $effectifHommeOccasionnelAgent): void
  917.     {
  918.         $this->effectifHommeOccasionnelAgent $effectifHommeOccasionnelAgent;
  919.     }
  920.     /**
  921.      * @return int|null
  922.      */
  923.     public function getEffectifHommeOccasionnelAgentMaitrise(): ?int
  924.     {
  925.         return $this->effectifHommeOccasionnelAgentMaitrise;
  926.     }
  927.     /**
  928.      * @param int|null $effectifHommeOccasionnelAgentMaitrise
  929.      */
  930.     public function setEffectifHommeOccasionnelAgentMaitrise(?int $effectifHommeOccasionnelAgentMaitrise): void
  931.     {
  932.         $this->effectifHommeOccasionnelAgentMaitrise $effectifHommeOccasionnelAgentMaitrise;
  933.     }
  934.     /**
  935.      * @return int|null
  936.      */
  937.     public function getEffectifHommeOccasionnelTotal(): ?int
  938.     {
  939.         return $this->effectifHommeOccasionnelTotal;
  940.     }
  941.     /**
  942.      * @param int|null $effectifHommeOccasionnelTotal
  943.      */
  944.     public function setEffectifHommeOccasionnelTotal(?int $effectifHommeOccasionnelTotal): void
  945.     {
  946.         $this->effectifHommeOccasionnelTotal $effectifHommeOccasionnelTotal;
  947.     }
  948.     /**
  949.      * @return int|null
  950.      */
  951.     public function getEffectifFemmeOccasionnelCadre(): ?int
  952.     {
  953.         return $this->effectifFemmeOccasionnelCadre;
  954.     }
  955.     /**
  956.      * @param int|null $effectifFemmeOccasionnelCadre
  957.      */
  958.     public function setEffectifFemmeOccasionnelCadre(?int $effectifFemmeOccasionnelCadre): void
  959.     {
  960.         $this->effectifFemmeOccasionnelCadre $effectifFemmeOccasionnelCadre;
  961.     }
  962.     /**
  963.      * @return int|null
  964.      */
  965.     public function getEffectifFemmeOccasionnelAgent(): ?int
  966.     {
  967.         return $this->effectifFemmeOccasionnelAgent;
  968.     }
  969.     /**
  970.      * @param int|null $effectifFemmeOccasionnelAgent
  971.      */
  972.     public function setEffectifFemmeOccasionnelAgent(?int $effectifFemmeOccasionnelAgent): void
  973.     {
  974.         $this->effectifFemmeOccasionnelAgent $effectifFemmeOccasionnelAgent;
  975.     }
  976.     /**
  977.      * @return int|null
  978.      */
  979.     public function getEffectifFemmeOccasionnelAgentMaitrise(): ?int
  980.     {
  981.         return $this->effectifFemmeOccasionnelAgentMaitrise;
  982.     }
  983.     /**
  984.      * @param int|null $effectifFemmeOccasionnelAgentMaitrise
  985.      */
  986.     public function setEffectifFemmeOccasionnelAgentMaitrise(?int $effectifFemmeOccasionnelAgentMaitrise): void
  987.     {
  988.         $this->effectifFemmeOccasionnelAgentMaitrise $effectifFemmeOccasionnelAgentMaitrise;
  989.     }
  990.     /**
  991.      * @return int|null
  992.      */
  993.     public function getEffectifFemmeOccasionnelTotal(): ?int
  994.     {
  995.         return $this->effectifFemmeOccasionnelTotal;
  996.     }
  997.     /**
  998.      * @param int|null $effectifFemmeOccasionnelTotal
  999.      */
  1000.     public function setEffectifFemmeOccasionnelTotal(?int $effectifFemmeOccasionnelTotal): void
  1001.     {
  1002.         $this->effectifFemmeOccasionnelTotal $effectifFemmeOccasionnelTotal;
  1003.     }
  1004.     /**
  1005.      * @return int|null
  1006.      */
  1007.     public function getTotalCadre(): ?int
  1008.     {
  1009.         return $this->totalCadre;
  1010.     }
  1011.     /**
  1012.      * @param int|null $totalCadre
  1013.      */
  1014.     public function setTotalCadre(?int $totalCadre): void
  1015.     {
  1016.         $this->totalCadre $totalCadre;
  1017.     }
  1018.     /**
  1019.      * @return int|null
  1020.      */
  1021.     public function getTotalAgent(): ?int
  1022.     {
  1023.         return $this->totalAgent;
  1024.     }
  1025.     /**
  1026.      * @param int|null $totalAgent
  1027.      */
  1028.     public function setTotalAgent(?int $totalAgent): void
  1029.     {
  1030.         $this->totalAgent $totalAgent;
  1031.     }
  1032.     /**
  1033.      * @return int|null
  1034.      */
  1035.     public function getTotalAgentMaitrise(): ?int
  1036.     {
  1037.         return $this->totalAgentMaitrise;
  1038.     }
  1039.     /**
  1040.      * @param int|null $totalAgentMaitrise
  1041.      */
  1042.     public function setTotalAgentMaitrise(?int $totalAgentMaitrise): void
  1043.     {
  1044.         $this->totalAgentMaitrise $totalAgentMaitrise;
  1045.     }
  1046.     /**
  1047.      * @return int|null
  1048.      */
  1049.     public function getTotal(): ?int
  1050.     {
  1051.         return $this->total;
  1052.     }
  1053.     /**
  1054.      * @param int|null $total
  1055.      */
  1056.     public function setTotal(?int $total): void
  1057.     {
  1058.         $this->total $total;
  1059.     }
  1060.     public function getCreatedAt(): ?\DateTimeInterface
  1061.     {
  1062.         return $this->createdAt;
  1063.     }
  1064.     public function setCreatedAt(?\DateTimeInterface $createdAt): self
  1065.     {
  1066.         $this->createdAt $createdAt;
  1067.         return $this;
  1068.     }
  1069.     public function getUpdatedAt(): ?\DateTimeInterface
  1070.     {
  1071.         return $this->updatedAt;
  1072.     }
  1073.     public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
  1074.     {
  1075.         $this->updatedAt $updatedAt;
  1076.         return $this;
  1077.     }
  1078.     public function getCreatedBy(): ?int
  1079.     {
  1080.         return $this->createdBy;
  1081.     }
  1082.     public function setCreatedBy(?int $createdBy): self
  1083.     {
  1084.         $this->createdBy $createdBy;
  1085.         return $this;
  1086.     }
  1087.     public function getUpdatedBy(): ?int
  1088.     {
  1089.         return $this->updatedBy;
  1090.     }
  1091.     public function setUpdatedBy(?int $updatedBy): self
  1092.     {
  1093.         $this->updatedBy $updatedBy;
  1094.         return $this;
  1095.     }
  1096.     public function isIsDeleted(): ?bool
  1097.     {
  1098.         return $this->isDeleted;
  1099.     }
  1100.     public function setIsDeleted(?bool $isDeleted): self
  1101.     {
  1102.         $this->isDeleted $isDeleted;
  1103.         return $this;
  1104.     }
  1105.     public function isEnabled(): ?bool
  1106.     {
  1107.         return $this->enabled;
  1108.     }
  1109.     public function setEnabled(?bool $enabled): self
  1110.     {
  1111.         $this->enabled $enabled;
  1112.         return $this;
  1113.     }
  1114.     public function isIsVerified(): ?bool
  1115.     {
  1116.         return $this->isVerified;
  1117.     }
  1118.     public function setIsVerified(?bool $isVerified): self
  1119.     {
  1120.         $this->isVerified $isVerified;
  1121.         return $this;
  1122.     }
  1123.     public function getVerifiedBy(): ?int
  1124.     {
  1125.         return $this->verifiedBy;
  1126.     }
  1127.     public function setVerifiedBy(?int $verifiedBy): self
  1128.     {
  1129.         $this->verifiedBy $verifiedBy;
  1130.         return $this;
  1131.     }
  1132.     public function getVerifiedAt(): ?\DateTimeInterface
  1133.     {
  1134.         return $this->verifiedAt;
  1135.     }
  1136.     public function setVerifiedAt(?\DateTimeInterface $verifiedAt): self
  1137.     {
  1138.         $this->verifiedAt $verifiedAt;
  1139.         return $this;
  1140.     }
  1141.     public function getDeletedAt(): ?\DateTimeInterface
  1142.     {
  1143.         return $this->deletedAt;
  1144.     }
  1145.     public function setDeletedAt(?\DateTimeInterface $deletedAt): self
  1146.     {
  1147.         $this->deletedAt $deletedAt;
  1148.         return $this;
  1149.     }
  1150.     public function getDocuments(): ?string
  1151.     {
  1152.         return $this->documents;
  1153.     }
  1154.     public function setDocuments(?string $documents): self
  1155.     {
  1156.         $this->documents $documents;
  1157.         return $this;
  1158.     }
  1159.     public function getValidBy(): ?int
  1160.     {
  1161.         return $this->validBy;
  1162.     }
  1163.     public function setValidBy(?int $validBy): self
  1164.     {
  1165.         $this->validBy $validBy;
  1166.         return $this;
  1167.     }
  1168.     public function getValidAt(): ?\DateTimeInterface
  1169.     {
  1170.         return $this->validAt;
  1171.     }
  1172.     public function setValidAt(?\DateTimeInterface $validAt): self
  1173.     {
  1174.         $this->validAt $validAt;
  1175.         return $this;
  1176.     }
  1177.     public function getRefusedBy(): ?int
  1178.     {
  1179.         return $this->refusedBy;
  1180.     }
  1181.     public function setRefusedBy(?int $refusedBy): self
  1182.     {
  1183.         $this->refusedBy $refusedBy;
  1184.         return $this;
  1185.     }
  1186.     public function getRefusedAt(): ?\DateTimeInterface
  1187.     {
  1188.         return $this->refusedAt;
  1189.     }
  1190.     public function setRefusedAt(?\DateTimeInterface $refusedAt): self
  1191.     {
  1192.         $this->refusedAt $refusedAt;
  1193.         return $this;
  1194.     }
  1195.     public function isAssigned(): ?bool
  1196.     {
  1197.         return $this->assigned;
  1198.     }
  1199.     public function setAssigned(?bool $assigned): self
  1200.     {
  1201.         $this->assigned $assigned;
  1202.         return $this;
  1203.     }
  1204.     public function isIsValid(): ?bool
  1205.     {
  1206.         return $this->isValid;
  1207.     }
  1208.     public function setIsValid(?bool $isValid): self
  1209.     {
  1210.         $this->isValid $isValid;
  1211.         return $this;
  1212.     }
  1213.     /**
  1214.      * @return Collection<int, DemandeAffectation>
  1215.      */
  1216.     public function getDemandeAffectation(): Collection
  1217.     {
  1218.         return $this->demandeAffectation;
  1219.     }
  1220.     public function addDemandeAffectation(DemandeAffectation $demandeAffectation): self
  1221.     {
  1222.         if (!$this->demandeAffectation->contains($demandeAffectation)) {
  1223.             $this->demandeAffectation->add($demandeAffectation);
  1224.             $demandeAffectation->setDemandeService($this);
  1225.         }
  1226.         return $this;
  1227.     }
  1228.     public function removeDemandeAffectation(DemandeAffectation $demandeAffectation): self
  1229.     {
  1230.         if ($this->demandeAffectation->removeElement($demandeAffectation)) {
  1231.             // set the owning side to null (unless already changed)
  1232.             if ($demandeAffectation->getDemandeService() === $this) {
  1233.                 $demandeAffectation->setDemandeService(null);
  1234.             }
  1235.         }
  1236.         return $this;
  1237.     }
  1238.     /**
  1239.      * @return string|null
  1240.      */
  1241.     public function __toString()
  1242.     {
  1243.         if (null === $this->getDemandeGroupe()) {
  1244.             return (string)$this->getService()->getAxe();
  1245.         } else {
  1246.             if (null !== $this->getNomGroupe()) {
  1247.                 return $this->getNomGroupe();
  1248.             }
  1249.             return '';
  1250.         }
  1251.     }
  1252.     /**
  1253.      * @return Collection<int, DocDemandeClient>
  1254.      */
  1255.     public function getDocDemandeClient(): Collection
  1256.     {
  1257.         return $this->docDemandeClient;
  1258.     }
  1259.     public function addDocDemandeClient(DocDemandeClient $docDemandeClient): self
  1260.     {
  1261.         if (!$this->docDemandeClient->contains($docDemandeClient)) {
  1262.             $this->docDemandeClient->add($docDemandeClient);
  1263.             $docDemandeClient->setDemandeService($this);
  1264.         }
  1265.         return $this;
  1266.     }
  1267.     public function removeDocDemandeClient(DocDemandeClient $docDemandeClient): self
  1268.     {
  1269.         if ($this->docDemandeClient->removeElement($docDemandeClient)) {
  1270.             // set the owning side to null (unless already changed)
  1271.             if ($docDemandeClient->getDemandeService() === $this) {
  1272.                 $docDemandeClient->setDemandeService(null);
  1273.             }
  1274.         }
  1275.         return $this;
  1276.     }
  1277.     /**
  1278.      * @return Collection<int, DemandeServiceCandidat>
  1279.      */
  1280.     public function getDemandeServiceCandidats(): Collection
  1281.     {
  1282.         return $this->demandeServiceCandidats;
  1283.     }
  1284.     public function addDemandeServiceCandidat(DemandeServiceCandidat $demandeServiceCandidat): self
  1285.     {
  1286.         if (!$this->demandeServiceCandidats->contains($demandeServiceCandidat)) {
  1287.             $this->demandeServiceCandidats->add($demandeServiceCandidat);
  1288.             $demandeServiceCandidat->setDemandeService($this);
  1289.         }
  1290.         return $this;
  1291.     }
  1292.     public function removeDemandeServiceCandidat(DemandeServiceCandidat $demandeServiceCandidat): self
  1293.     {
  1294.         if ($this->demandeServiceCandidats->removeElement($demandeServiceCandidat)) {
  1295.             // set the owning side to null (unless already changed)
  1296.             if ($demandeServiceCandidat->getDemandeService() === $this) {
  1297.                 $demandeServiceCandidat->setDemandeService(null);
  1298.             }
  1299.         }
  1300.         return $this;
  1301.     }
  1302.     public function isAcceptDocuments(): ?bool
  1303.     {
  1304.         return $this->acceptDocuments;
  1305.     }
  1306.     public function setAcceptDocuments(?bool $acceptDocuments): self
  1307.     {
  1308.         $this->acceptDocuments $acceptDocuments;
  1309.         return $this;
  1310.     }
  1311.     public function getMotifRefus(): ?string
  1312.     {
  1313.         return $this->motifRefus;
  1314.     }
  1315.     public function setMotifRefus(?string $motifRefus): self
  1316.     {
  1317.         $this->motifRefus $motifRefus;
  1318.         return $this;
  1319.     }
  1320.     public function getGroupe(): ?self
  1321.     {
  1322.         return $this->groupe;
  1323.     }
  1324.     public function setGroupe(?self $groupe): self
  1325.     {
  1326.         $this->groupe $groupe;
  1327.         return $this;
  1328.     }
  1329.     /**
  1330.      * @return Collection<int, self>
  1331.      */
  1332.     public function getDemandeGroupe(): Collection
  1333.     {
  1334.         return $this->demandeGroupe;
  1335.     }
  1336.     public function addDemandeGroupe(self $demandeGroupe): self
  1337.     {
  1338.         if (!$this->demandeGroupe->contains($demandeGroupe)) {
  1339.             $this->demandeGroupe->add($demandeGroupe);
  1340.             $demandeGroupe->setGroupe($this);
  1341.         }
  1342.         return $this;
  1343.     }
  1344.     public function removeDemandeGroupe(self $demandeGroupe): self
  1345.     {
  1346.         if ($this->demandeGroupe->removeElement($demandeGroupe)) {
  1347.             // set the owning side to null (unless already changed)
  1348.             if ($demandeGroupe->getGroupe() === $this) {
  1349.                 $demandeGroupe->setGroupe(null);
  1350.             }
  1351.         }
  1352.         return $this;
  1353.     }
  1354.     public function getProcessType(): ?int
  1355.     {
  1356.         return $this->processType;
  1357.     }
  1358.     public function setProcessType(?int $processType Globals::INTERVENTION_PROCESS_TYPE): self
  1359.     {
  1360.         $this->processType $processType;
  1361.         return $this;
  1362.     }
  1363.     public function getNomGroupe(): ?string
  1364.     {
  1365.         return $this->nomGroupe;
  1366.     }
  1367.     public function setNomGroupe(?string $nomGroupe): self
  1368.     {
  1369.         $this->nomGroupe $nomGroupe;
  1370.         return $this;
  1371.     }
  1372.     public function getDocDemandeValidated(): ?string
  1373.     {
  1374.         return $this->docDemandeValidated;
  1375.     }
  1376.     public function setDocDemandeValidated(?string $docDemandeValidated): self
  1377.     {
  1378.         $this->docDemandeValidated $docDemandeValidated;
  1379.         return $this;
  1380.     }
  1381.     public function isTachAnalyseCloturer(): bool
  1382.     {
  1383.         $isTachAnalyseCloturer false;
  1384.         foreach ( $this->getDemandeAffectation() as $demandeAffectation){
  1385.             if ( $demandeAffectation->getTache()
  1386.                 && str_contains$demandeAffectation->getTache()->getLabel(), Globals::TACHE_ANALYSE)
  1387.                 && GLobals::TASK_ETAT_CLOTURE === $demandeAffectation->getStatut()
  1388.             ){
  1389.                 $isTachAnalyseCloturer true;
  1390.                 break;
  1391.             }
  1392.         }
  1393.         return $isTachAnalyseCloturer;
  1394.     }
  1395.     public function isTachAnalyseValidated(): bool
  1396.     {
  1397.         $isTachAnalyseValidated false;
  1398.         foreach( $this->getDemandeAffectation() as $demandeAffectation ){
  1399.             if( $demandeAffectation->getTache() &&
  1400.                 (
  1401.                     str_contains$demandeAffectation->getTache()->getLabel(), Globals::TACHE_ANALYSE ) ||
  1402.                     str_contains$demandeAffectation->getTache()->getLabel(), Globals::TACHE_PREPARATION )
  1403.                 ) &&
  1404.                 GLobals::TASK_ETAT_VALIDATED === $demandeAffectation->getStatut()
  1405.             ){
  1406.                 $isTachAnalyseValidated true;
  1407.                 break;
  1408.             }
  1409.         }
  1410.         return $isTachAnalyseValidated;
  1411.     }
  1412.     public function getTachExecutionDateDebut(): ?\DateTimeInterface
  1413.     {
  1414.         $dateDebut null;
  1415.         foreach ( $this->getDemandeAffectation() as $demandeAffectation){
  1416.             if ( $demandeAffectation->getTache()
  1417.                 && str_contains$demandeAffectation->getTache()->getLabel(), Globals::TACHE_EXECUTION)
  1418.             ){
  1419.                 $dateDebut $demandeAffectation->getDateDebut();
  1420.                 break;
  1421.             }
  1422.         }
  1423.         return $dateDebut;
  1424.     }
  1425.     public function getTachExecutionDateFin(): ?\DateTimeInterface
  1426.     {
  1427.         $dateFin null;
  1428.         foreach ( $this->getDemandeAffectation() as $demandeAffectation){
  1429.             if ( $demandeAffectation->getTache()
  1430.                 && str_contains$demandeAffectation->getTache()->getLabel(), Globals::TACHE_EXECUTION)
  1431.             ){
  1432.                 $dateFin $demandeAffectation->getDateFin();
  1433.                 break;
  1434.             }
  1435.         }
  1436.         return $dateFin;
  1437.     }
  1438.     /**
  1439.      * @return Collection<int, DemandeNote>
  1440.      */
  1441.     public function getDemandeNotes(): Collection
  1442.     {
  1443.         return $this->demandeNotes;
  1444.     }
  1445.     public function addDemandeNote(DemandeNote $demandeNote): self
  1446.     {
  1447.         if (!$this->demandeNotes->contains($demandeNote)) {
  1448.             $this->demandeNotes->add($demandeNote);
  1449.             $demandeNote->setDemande($this);
  1450.         }
  1451.         return $this;
  1452.     }
  1453.     public function removeDemandeNote(DemandeNote $demandeNote): self
  1454.     {
  1455.         if ($this->demandeNotes->removeElement($demandeNote)) {
  1456.             // set the owning side to null (unless already changed)
  1457.             if ($demandeNote->getDemande() === $this) {
  1458.                 $demandeNote->setDemande(null);
  1459.             }
  1460.         }
  1461.         return $this;
  1462.     }
  1463.     public function getPrestation(): ?Prestation
  1464.     {
  1465.         return $this->prestation;
  1466.     }
  1467.     public function setPrestation(?Prestation $prestation): self
  1468.     {
  1469.         $this->prestation $prestation;
  1470.         return $this;
  1471.     }
  1472.     public function getGroupeDemande(): ?GroupeDemande
  1473.     {
  1474.         return $this->groupeDemande;
  1475.     }
  1476.     public function setGroupeDemande(?GroupeDemande $groupeDemande): self
  1477.     {
  1478.         $this->groupeDemande $groupeDemande;
  1479.         return $this;
  1480.     }
  1481.     public function getModule(): ?Module
  1482.     {
  1483.         return $this->module;
  1484.     }
  1485.     public function setModule(?Module $module): self
  1486.     {
  1487.         $this->module $module;
  1488.         return $this;
  1489.     }
  1490.     public function getRubrique(): ?Rubrique
  1491.     {
  1492.         return $this->rubrique;
  1493.     }
  1494.     public function setRubrique(?Rubrique $rubrique): self
  1495.     {
  1496.         $this->rubrique $rubrique;
  1497.         return $this;
  1498.     }
  1499.     public function getDateDebutModule(): ?\DateTimeInterface
  1500.     {
  1501.         return $this->dateDebutModule;
  1502.     }
  1503.     public function setDateDebutModule(?\DateTimeInterface $dateDebutModule): self
  1504.     {
  1505.         $this->dateDebutModule $dateDebutModule;
  1506.         return $this;
  1507.     }
  1508.     public function getDateFinModule(): ?\DateTimeInterface
  1509.     {
  1510.         return $this->dateFinModule;
  1511.     }
  1512.     public function setDateFinModule(?\DateTimeInterface $dateFinModule): self
  1513.     {
  1514.         $this->dateFinModule $dateFinModule;
  1515.         return $this;
  1516.     }
  1517.     public function getLocationModule(): ?string
  1518.     {
  1519.         return $this->locationModule;
  1520.     }
  1521.     public function setLocationModule(?string $locationModule): self
  1522.     {
  1523.         $this->locationModule $locationModule;
  1524.         return $this;
  1525.     }
  1526.     
  1527.     public function getUniqueListOfFormateur(): ?string
  1528.     {
  1529.         $result = [];
  1530.         foreach( $this->getDemandeAffectation() as $demandeAffectation ){
  1531.             foreach ( $demandeAffectation->getConseiller() as $conseiller ) {
  1532.                 $result[] = $conseiller->__toString();
  1533.             }            
  1534.         }
  1535.         return implode(","array_unique($result));
  1536.     }
  1537.     public function getUserFicheSatisfaction(): ?UserFicheSatisfaction
  1538.     {
  1539.         return $this->userFicheSatisfaction;
  1540.     }
  1541.     public function setUserFicheSatisfaction(UserFicheSatisfaction $userFicheSatisfaction): static
  1542.     {
  1543.         // set the owning side of the relation if necessary
  1544.         if ($userFicheSatisfaction->getDemandeService() !== $this) {
  1545.             $userFicheSatisfaction->setDemandeService($this);
  1546.         }
  1547.         $this->userFicheSatisfaction $userFicheSatisfaction;
  1548.         return $this;
  1549.     }
  1550.     public function getInstanceRepresentative(): ?string
  1551.     {
  1552.         return $this->instanceRepresentative;
  1553.     }
  1554.     public function setInstanceRepresentative(?string $instanceRepresentative): self
  1555.     {
  1556.         $this->instanceRepresentative $instanceRepresentative;
  1557.         return $this;
  1558.     }
  1559.     public function getBrancheActivitePlan(): ?string
  1560.     {
  1561.         return $this->brancheActivitePlan;
  1562.     }
  1563.     public function setBrancheActivitePlan(?string $brancheActivitePlan): self
  1564.     {
  1565.         $this->brancheActivitePlan $brancheActivitePlan;
  1566.         return $this;
  1567.     }
  1568.     public function getYear(): ?int
  1569.     {
  1570.         return $this->year;
  1571.     }
  1572.     public function setYear(?int $year): self
  1573.     {
  1574.         $this->year $year;
  1575.         return $this;
  1576.     }
  1577.     public function getReference(): ?string
  1578.     {
  1579.         return $this->reference;
  1580.     }
  1581.     public function setReference(?string $reference): self
  1582.     {
  1583.         $this->reference $reference;
  1584.         return $this;
  1585.     }
  1586.     public function getMode(): ?int
  1587.     {
  1588.         return $this->mode;
  1589.     }
  1590.     public function setMode(?int $mode): self
  1591.     {
  1592.         $this->mode $mode;
  1593.         return $this;
  1594.     }
  1595.     public function getNbrEntreprise(): ?int
  1596.     {
  1597.         return $this->nbrEntreprise;
  1598.     }
  1599.     public function setNbrEntreprise(?int $nbrEntreprise): self
  1600.     {
  1601.         $this->nbrEntreprise $nbrEntreprise;
  1602.         return $this;
  1603.     }
  1604.     public function getEffectif(): ?int
  1605.     {
  1606.         return $this->effectif;
  1607.     }
  1608.     public function setEffectif(?int $effectif): self
  1609.     {
  1610.         $this->effectif $effectif;
  1611.         return $this;
  1612.     }
  1613.     public function getDuree(): ?int
  1614.     {
  1615.         return $this->duree;
  1616.     }
  1617.     public function setDuree(?int $duree): self
  1618.     {
  1619.         $this->duree $duree;
  1620.         return $this;
  1621.     }
  1622.     public function getNbrGroupe(): ?int
  1623.     {
  1624.         return $this->nbrGroupe;
  1625.     }
  1626.     public function setNbrGroupe(?int $nbrGroupe): self
  1627.     {
  1628.         $this->nbrGroupe $nbrGroupe;
  1629.         return $this;
  1630.     }
  1631.     public function getPopulationCiblePlan(): ?string
  1632.     {
  1633.         return $this->populationCiblePlan;
  1634.     }
  1635.     public function setPopulationCiblePlan(?string $populationCiblePlan): self
  1636.     {
  1637.         $this->populationCiblePlan $populationCiblePlan;
  1638.         return $this;
  1639.     }
  1640.     public function getModulePlan(): ?string
  1641.     {
  1642.         return $this->modulePlan;
  1643.     }
  1644.     public function setModulePlan(?string $modulePlan): self
  1645.     {
  1646.         $this->modulePlan $modulePlan;
  1647.         return $this;
  1648.     }
  1649.     public function getGouvernouratModule(): ?Gouvernorat
  1650.     {
  1651.         return $this->gouvernouratModule;
  1652.     }
  1653.     public function setGouvernouratModule(?Gouvernorat $gouvernouratModule): self
  1654.     {
  1655.         $this->gouvernouratModule $gouvernouratModule;
  1656.         return $this;
  1657.     }
  1658.     /**
  1659.      * Get the value of coutFormation
  1660.      */ 
  1661.     public function getCoutFormation(): ?float
  1662.     {
  1663.         return $this->coutFormation;
  1664.     }
  1665.     /**
  1666.      * Set the value of coutFormation
  1667.      *
  1668.      * @return  self
  1669.      */ 
  1670.     public function setCoutFormation( ?float $coutFormation) : self
  1671.     {
  1672.         $this->coutFormation $coutFormation;
  1673.         return $this;
  1674.     }
  1675.     /**
  1676.      * @return Collection<int, Feedback>
  1677.      */
  1678.     public function getFeedback(): Collection
  1679.     {
  1680.         return $this->feedback;
  1681.     }
  1682.     public function addFeedback(Feedback $feedback): self
  1683.     {
  1684.         if (!$this->feedback->contains($feedback)) {
  1685.             $this->feedback->add($feedback);
  1686.             $feedback->setDemande($this);
  1687.         }
  1688.         return $this;
  1689.     }
  1690.     public function removeFeedback(Feedback $feedback): self
  1691.     {
  1692.         if ($this->feedback->removeElement($feedback)) {
  1693.             // set the owning side to null (unless already changed)
  1694.             if ($feedback->getDemande() === $this) {
  1695.                 $feedback->setDemande(null);
  1696.             }
  1697.         }
  1698.         return $this;
  1699.     }
  1700.     public function getUser(): ?User
  1701.     {
  1702.         return $this->user;
  1703.     }
  1704.     public function setUser(?User $user): self
  1705.     {
  1706.         $this->user $user;
  1707.         return $this;
  1708.     }
  1709.     public function getCnsscnrps(): ?string
  1710.     {
  1711.         return $this->cnsscnrps;
  1712.     }
  1713.     public function setCnsscnrps(?string $cnsscnrps): self
  1714.     {
  1715.         $this->cnsscnrps $cnsscnrps;
  1716.         return $this;
  1717.     }
  1718. }