src/Entity/Cvs/Candidates.php line 25

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Cvs;
  3. use App\Entity\Core\Users;
  4. use App\Entity\Core\Agencies;
  5. use Doctrine\DBAL\Types\Types;
  6. use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
  7. use Symfony\Component\Validator\Constraints as Assert;
  8. use Doctrine\ORM\Mapping as ORM;
  9. use Vich\UploaderBundle\Mapping\Annotation as Vich;
  10. use Symfony\Component\HttpFoundation\File\File;
  11. use Symfony\Component\HttpFoundation\File\UploadedFile;
  12. use Vich\UploaderBundle\Entity\File as EmbeddedFile;
  13. use Vich\UploaderBundle\Templating\Helper\UploaderHelper;
  14. /**
  15.  * Candidates
  16.  *
  17.  * @ORM\Table("cvs_candidates")
  18.  * @ORM\Entity(repositoryClass="App\Repository\Cvs\CandidatesRepository")
  19.  * @ORM\HasLifecycleCallbacks()
  20.  * @Vich\Uploadable
  21.  */
  22. class Candidates
  23. {
  24.     /**
  25.      * @var integer
  26.      *
  27.      * @ORM\Column(name="id", type="integer")
  28.      * @ORM\Id
  29.      * @ORM\GeneratedValue(strategy="AUTO")
  30.      */
  31.     protected $id;
  32.     /**
  33.      * @var string
  34.      *
  35.      * @ORM\Column(name="created_at", type="datetime", nullable=true, options={"comment":"Date de création"})
  36.      */
  37.     private $createdAt;
  38.     /**
  39.      * @var string
  40.      *
  41.      * @ORM\Column(name="updated_at", type="datetime", nullable=true, options={"comment":"Date de mise à jour"})
  42.      */
  43.     private $updatedAt;
  44.     /**
  45.      * @var string
  46.      *
  47.      * @ORM\Column(name="perimeter", type="string", length=255, nullable=true)
  48.      */
  49.     private $perimeter;
  50.     /**
  51.      * @var string
  52.      *
  53.      * @ORM\Column(name="phone", type="string", length=255, nullable=true)
  54.      */
  55.     private $phone;
  56.     /**
  57.      * @var string
  58.      *
  59.      * @ORM\Column(name="address", type="string", length=255, nullable=true)
  60.      */
  61.     private $address;
  62.     /**
  63.      * @var string
  64.      *
  65.      * @ORM\Column(name="city", type="string", length=255, nullable=true)
  66.      */
  67.     private $city;
  68.     /**
  69.      * @var string
  70.      *
  71.      * @ORM\Column(name="zipcode", type="string", length=255, nullable=true)
  72.      */
  73.     private $zipcode;
  74.     /**
  75.      * @var string
  76.      *
  77.      * @ORM\Column(name="country", type="string", length=255, nullable=true)
  78.      */
  79.     private $country;
  80.     /**
  81.      * @var string
  82.      *
  83.      * @ORM\Column(name="slug", type="string", length=255, nullable=true)
  84.      */
  85.     private $slug;
  86.     /**
  87.      * @var string
  88.      *
  89.      * @ORM\Column(name="slug_anonyme", type="string", length=255, nullable=true)
  90.      */
  91.     private $slugAnonyme;
  92.     /**
  93.      * @var string
  94.      *
  95.      * @ORM\Column(name="title_job", type="string", length=255, nullable=true)
  96.      */
  97.     private $titleJob;
  98.     /**
  99.      * @var string
  100.      *
  101.      * @ORM\Column(name="description_cover", type="text", nullable=true)
  102.      */
  103.     private $descriptionCover;
  104.     /**
  105.      * @var string
  106.      *
  107.      * @ORM\Column(name="description_cover_anonyme", type="text", nullable=true)
  108.      */
  109.     private $descriptionCoverAnonyme;
  110.     /**
  111.      * @var string
  112.      *
  113.      * @ORM\Column(name="description_services", type="text", nullable=true)
  114.      */
  115.     private $descriptionServices;
  116.     /**
  117.      * @var string
  118.      *
  119.      * @ORM\Column(name="description_services_anonyme", type="text", nullable=true)
  120.      */
  121.     private $descriptionServicesAnonyme;
  122.     /**
  123.      * @var string
  124.      *
  125.      * @ORM\Column(name="description_cta", type="text", nullable=true)
  126.      */
  127.     private $descriptionCta;
  128.     /**
  129.      * @var string
  130.      *
  131.      * @ORM\Column(name="description_cta_anonyme", type="text", nullable=true)
  132.      */
  133.     private $descriptionCtaAnonyme;
  134.     /**
  135.      * @var string
  136.      *
  137.      * @ORM\Column(name="description", type="text", nullable=true)
  138.      */
  139.     private $description;
  140.     /**
  141.      * @var string
  142.      *
  143.      * @ORM\Column(name="description_anonyme", type="text", nullable=true)
  144.      */
  145.     private $descriptionAnonyme;
  146.     /**
  147.      * @var string
  148.      *
  149.      * @ORM\Column(name="description_experience", type="text", nullable=true)
  150.      */
  151.     private $descriptionExperience;
  152.     /**
  153.      * @var string
  154.      *
  155.      * @ORM\Column(name="description_experience_anonyme", type="text", nullable=true)
  156.      */
  157.     private $descriptionExperienceAnonyme;
  158.     /**
  159.      * @var string
  160.      *
  161.      * @ORM\Column(name="website_url", type="text", nullable=true)
  162.      */
  163.     private $websiteUrl;
  164.     /**
  165.      * @var string
  166.      *
  167.      * @ORM\Column(name="video_fr_url", type="text", nullable=true)
  168.      */
  169.     private $videoFrUrl;
  170.     /**
  171.      * @var string
  172.      *
  173.      * @ORM\Column(name="video_en_url", type="text", nullable=true)
  174.      */
  175.     private $videoEnUrl;
  176.     /**
  177.      * @var string
  178.      *
  179.      * @ORM\Column(name="video_default_url", type="text", nullable=true)
  180.      */
  181.     private $videoDefaultUrl;
  182.     /**
  183.      * @var string
  184.      *
  185.      * @ORM\Column(name="linkedin_url", type="text", nullable=true)
  186.      */
  187.     private $linkedinUrl;
  188.     /**
  189.      * @var string
  190.      *
  191.      * @ORM\Column(name="salary", type="boolean", nullable=true)
  192.      */
  193.     private $salary;
  194.     /**
  195.      * @var string
  196.      *
  197.      * @ORM\Column(name="freelance", type="boolean", nullable=true)
  198.      */
  199.     private $freelance;
  200.     /**
  201.      * @var string
  202.      *
  203.      * @ORM\Column(name="alternance", type="boolean", nullable=true)
  204.      */
  205.     private $alternance;
  206.     /**
  207.      * @var string
  208.      *
  209.      * @ORM\Column(name="stage", type="boolean", nullable=true)
  210.      */
  211.     private $stage;
  212.     /**
  213.      * @var string
  214.      *
  215.      * @ORM\Column(name="on_search", type="boolean", nullable=true)
  216.      */
  217.     private $onSearch;
  218.     /**
  219.      * @var string
  220.      *
  221.      * @ORM\Column(name="on_discussion", type="boolean", nullable=true)
  222.      */
  223.     private $onDiscussion;
  224.     /**
  225.      * @var string
  226.      *
  227.      * @ORM\Column(name="notifications", type="boolean", nullable=true)
  228.      */
  229.     private $notifications;
  230.     /**
  231.      * @var string
  232.      *
  233.      * @ORM\Column(name="online", type="boolean", nullable=true)
  234.      */
  235.     private $online;
  236.     /**
  237.      * @var string
  238.      *
  239.      * @ORM\Column(name="online_classic", type="boolean", nullable=true)
  240.      */
  241.     private $onlineClassic;
  242.     /**
  243.      * @var string
  244.      *
  245.      * @ORM\Column(name="invitation_code", type="text", nullable=true)
  246.      */
  247.     private $invitationCode;
  248.     /**
  249.      * @var string
  250.      *
  251.      * @ORM\Column(name="invitation_code_anonyme", type="text", nullable=true)
  252.      */
  253.     private $invitationCodeAnonyme;
  254.     /**
  255.      * @var string
  256.      *
  257.      * @ORM\Column(name="views", type="integer", nullable=true)
  258.      */
  259.     private $views;
  260.     /**
  261.      * @var string
  262.      *
  263.      * @ORM\Column(name="exp_years", type="integer", nullable=true)
  264.      */
  265.     private $expYears;
  266.     /**
  267.      * @var string
  268.      *
  269.      * @ORM\Column(name="views_anonyme", type="integer", nullable=true)
  270.      */
  271.     private $viewsAnonyme;
  272.     /**
  273.      * @var string
  274.      *
  275.      * @ORM\Column(name="first", type="boolean", nullable=true)
  276.      */
  277.     private $first;
  278.     /**
  279.      * @var string
  280.      *
  281.      * @ORM\Column(name="point_x", type="string", length=255, nullable=true)
  282.      */
  283.     private $pointX;
  284.     /**
  285.      * @var string
  286.      *
  287.      * @ORM\Column(name="point_y", type="string", length=255, nullable=true)
  288.      */
  289.     private $pointY;
  290.     /**
  291.      * NOTE: This is not a mapped field of entity metadata, just a simple property.
  292.      *
  293.      * @Vich\UploadableField(mapping="cv_files", fileNameProperty="image.name", size="image.size", mimeType="image.mimeType", originalName="image.originalName", dimensions="image.dimensions")
  294.      *
  295.      * @var File|null
  296.      */
  297.     private $imageFile;
  298.     /**
  299.      * @ORM\Embedded(class="Vich\UploaderBundle\Entity\File")
  300.      *
  301.      * @var EmbeddedFile
  302.      */
  303.     private $image;
  304.     /**
  305.      * @var string
  306.      *
  307.      * @ORM\Column(name="analyse", type="boolean", nullable=true)
  308.      */
  309.     private $analyse;
  310.     /**
  311.      * @var string
  312.      *
  313.      * @ORM\Column(name="analyse_note", type="text", nullable=true)
  314.      */
  315.     private $analyseNote;
  316.     /**
  317.      * @var string
  318.      *
  319.      * @ORM\Column(name="analyse_locale", type="text", nullable=true)
  320.      */
  321.     private $analyseLocale;
  322.     /**
  323.      * @var string
  324.      *
  325.      * @ORM\Column(name="default_locale", type="text", nullable=true)
  326.      */
  327.     private $defaultLocale;
  328.     /**
  329.      * @var string
  330.      *
  331.      * @ORM\Column(name="french", type="boolean", nullable=true)
  332.      */
  333.     private $french;
  334.     /**
  335.      * @var string
  336.      *
  337.      * @ORM\Column(name="english", type="boolean", nullable=true)
  338.      */
  339.     private $english;
  340.     /**
  341.      * @var string
  342.      *
  343.      * @ORM\Column(name="default_language", type="boolean", nullable=true)
  344.      */
  345.     private $default;
  346.     /**
  347.      * @var string
  348.      *
  349.      * @ORM\Column(name="hard_skills_fr", type="text", nullable=true)
  350.      */
  351.     private $hardSkillsFr;
  352.     /**
  353.      * @var string
  354.      *
  355.      * @ORM\Column(name="hard_skills_en", type="text", nullable=true)
  356.      */
  357.     private $hardSkillsEn;
  358.     /**
  359.      * @var string
  360.      *
  361.      * @ORM\Column(name="hard_skills_default", type="text", nullable=true)
  362.      */
  363.     private $hardSkillsDefault;
  364.     /**
  365.      * @var string
  366.      *
  367.      * @ORM\Column(name="soft_skills_en", type="text", nullable=true)
  368.      */
  369.     private $softSkillsEn;
  370.     /**
  371.      * @var string
  372.      *
  373.      * @ORM\Column(name="soft_skills_fr", type="text", nullable=true)
  374.      */
  375.     private $softSkillsFr;
  376.     /**
  377.      * @var string
  378.      *
  379.      * @ORM\Column(name="soft_skills_default", type="text", nullable=true)
  380.      */
  381.     private $softSkillsDefault;
  382.     /**
  383.      * @var string
  384.      *
  385.      * @ORM\Column(name="tags_fr", type="text", nullable=true)
  386.      */
  387.     private $tagsFr;
  388.     /**
  389.      * @var string
  390.      *
  391.      * @ORM\Column(name="tags_en", type="text", nullable=true)
  392.      */
  393.     private $tagsEn;
  394.     /**
  395.      * @var string
  396.      *
  397.      * @ORM\Column(name="tags_default", type="text", nullable=true)
  398.      */
  399.     private $tagsDefault;
  400.     /**
  401.      * @var string
  402.      *
  403.      * @ORM\Column(name="recruiter_summary_fr", type="text", nullable=true)
  404.      */
  405.     private $resumeRecruiterFr;
  406.     /**
  407.      * @var string
  408.      *
  409.      * @ORM\Column(name="recruiter_summary_en", type="text", nullable=true)
  410.      */
  411.     private $resumeRecruiterEn;
  412.     /**
  413.      * @var string
  414.      *
  415.      * @ORM\Column(name="recruiter_summary_default", type="text", nullable=true)
  416.      */
  417.     private $resumeRecruiterDefault;
  418.     /**
  419.      * @var string
  420.      *
  421.      * @ORM\Column(name="recruiter_projects_fr", type="text", nullable=true)
  422.      */
  423.     private $resumeProjectsFr;
  424.     /**
  425.      * @var string
  426.      *
  427.      * @ORM\Column(name="recruiter_projects_en", type="text", nullable=true)
  428.      */
  429.     private $resumeProjectsEn;
  430.     /**
  431.      * @var string
  432.      *
  433.      * @ORM\Column(name="recruiter_projects_default", type="text", nullable=true)
  434.      */
  435.     private $resumeProjectsDefault;
  436.     /**
  437.      * @var string
  438.      *
  439.      * @ORM\Column(name="recruiter_exp_fr", type="text", nullable=true)
  440.      */
  441.     private $resumeExpFr;
  442.     /**
  443.      * @var string
  444.      *
  445.      * @ORM\Column(name="recruiter_exp_en", type="text", nullable=true)
  446.      */
  447.     private $resumeExpEn;
  448.     /**
  449.      * @var string
  450.      *
  451.      * @ORM\Column(name="recruiter_exp_default", type="text", nullable=true)
  452.      */
  453.     private $resumeExpDefault;
  454.     /**
  455.      * @var string
  456.      *
  457.      * @ORM\Column(name="titlejob_fr", type="text", nullable=true)
  458.      */
  459.     private $titlejobFr;
  460.     /**
  461.      * @var string
  462.      *
  463.      * @ORM\Column(name="titlejob_en", type="text", nullable=true)
  464.      */
  465.     private $titlejobEn;
  466.     /**
  467.      * @var string
  468.      *
  469.      * @ORM\Column(name="titlejob_default", type="text", nullable=true)
  470.      */
  471.     private $titlejobDefault;
  472.     /**
  473.      * @var string
  474.      *
  475.      * @ORM\Column(name="presentation_fr", type="text", nullable=true)
  476.      */
  477.     private $presentationFr;
  478.     /**
  479.      * @var string
  480.      *
  481.      * @ORM\Column(name="presentation_en", type="text", nullable=true)
  482.      */
  483.     private $presentationEn;
  484.     /**
  485.      * @var string
  486.      *
  487.      * @ORM\Column(name="presentation_default", type="text", nullable=true)
  488.      */
  489.     private $presentationDefault;
  490.     /**
  491.      * @var string
  492.      *
  493.      * @ORM\Column(name="futur_jobtitle_fr", type="text", nullable=true)
  494.      */
  495.     private $futurTitlejobFr;
  496.     /**
  497.      * @var string
  498.      *
  499.      * @ORM\Column(name="futur_jobtitle_en", type="text", nullable=true)
  500.      */
  501.     private $futurTitlejobEn;
  502.     /**
  503.      * @var string
  504.      *
  505.      * @ORM\Column(name="futur_jobtitle_default", type="text", nullable=true)
  506.      */
  507.     private $futurTitlejobDefault;
  508.     /**
  509.      * @var string
  510.      *
  511.      * @ORM\Column(name="sector_en", type="text", nullable=true)
  512.      */
  513.     private $sectorEn;
  514.     /**
  515.      * @var string
  516.      *
  517.      * @ORM\Column(name="sector_fr", type="text", nullable=true)
  518.      */
  519.     private $sectorFr;
  520.     /**
  521.      * @var string
  522.      *
  523.      * @ORM\Column(name="sector_default", type="text", nullable=true)
  524.      */
  525.     private $sectorDefault;
  526.     /**
  527.      * @var string
  528.      *
  529.      * @ORM\Column(name="status_search", type="text", nullable=true)
  530.      */
  531.     private $statusSearch;
  532.     /**
  533.      * @var string
  534.      *
  535.      * @ORM\Column(name="availability", type="text", nullable=true)
  536.      */
  537.     private $availability;
  538.     public function __construct()
  539.     {
  540.         $this->image = new \Vich\UploaderBundle\Entity\File();
  541.     }
  542.     /**
  543.      * @ORM\PrePersist
  544.      */
  545.     public function setCreatedAtValue(): void
  546.     {
  547.         $this->setCreatedAt(new \DateTime("now"));
  548.         $this->setUpdatedAt(new \DateTime("now"));
  549.     }
  550.     /**
  551.      * @ORM\PreUpdate
  552.      */
  553.     public function setUpdatedAtValue(): void
  554.     {
  555.         $this->setUpdatedAt(new \DateTime("now"));
  556.     }
  557.     public function __toString()
  558.     {
  559.         return (string)$this->id;
  560.     }
  561.     /**
  562.      * If manually uploading a file (i.e. not using Symfony Form) ensure an instance
  563.      * of 'UploadedFile' is injected into this setter to trigger the  update. If this
  564.      * bundle's configuration parameter 'inject_on_load' is set to 'true' this setter
  565.      * must be able to accept an instance of 'File' as the bundle will inject one here
  566.      * during Doctrine hydration.
  567.      *
  568.      * @param File|UploadedFile|null $imageFile
  569.      */
  570.     public function setImageFile(?File $imageFile null)
  571.     {
  572.         $this->imageFile $imageFile;
  573.         if (null !== $imageFile) {
  574.             // It is required that at least one field changes if you are using doctrine
  575.             // otherwise the event listeners won't be called and the file is lost
  576.             $this->setUpdatedAt(new \DateTime("now"));
  577.         }
  578.     }
  579.     public function getImageFile(): ?File
  580.     {
  581.         return $this->imageFile;
  582.     }
  583.     public function setImage(EmbeddedFile $image): void
  584.     {
  585.         $this->image $image;
  586.     }
  587.     public function getImage(): ?EmbeddedFile
  588.     {
  589.         return $this->image;
  590.     }
  591.     public function getImageBase64(?string $projectDir null): ?string
  592.     {
  593.         if (!$this->image || !$this->image->getName()) {
  594.             return null;
  595.         }
  596.         if (!$projectDir) {
  597.             return null// ou throw new \Exception('Project dir required');
  598.         }
  599.         $filePath $projectDir '/files/cvs/' $this->image->getName();
  600.         if (!file_exists($filePath)) {
  601.             return null;
  602.         }
  603.         $imageData file_get_contents($filePath);
  604.         $mimeType $this->image->getMimeType() ?? mime_content_type($filePath);
  605.         return 'data:' $mimeType ';base64,' base64_encode($imageData);
  606.     }
  607.     public function getId(): ?int
  608.     {
  609.         return $this->id;
  610.     }
  611.     public function getCreatedAt(): ?\DateTimeInterface
  612.     {
  613.         return $this->createdAt;
  614.     }
  615.     public function setCreatedAt(?\DateTimeInterface $createdAt): self
  616.     {
  617.         $this->createdAt $createdAt;
  618.         return $this;
  619.     }
  620.     public function getUpdatedAt(): ?\DateTimeInterface
  621.     {
  622.         return $this->updatedAt;
  623.     }
  624.     public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
  625.     {
  626.         $this->updatedAt $updatedAt;
  627.         return $this;
  628.     }
  629.     public function getPhone(): ?string
  630.     {
  631.         return $this->phone;
  632.     }
  633.     public function setPhone(?string $phone): self
  634.     {
  635.         $this->phone $phone;
  636.         return $this;
  637.     }
  638.     public function getEmail(): ?string
  639.     {
  640.         return $this->email;
  641.     }
  642.     public function setEmail(?string $email): self
  643.     {
  644.         $this->email $email;
  645.         return $this;
  646.     }
  647.     public function getAddress(): ?string
  648.     {
  649.         return $this->address;
  650.     }
  651.     public function setAddress(?string $address): self
  652.     {
  653.         $this->address $address;
  654.         return $this;
  655.     }
  656.     public function getCity(): ?string
  657.     {
  658.         return $this->city;
  659.     }
  660.     public function setCity(?string $city): self
  661.     {
  662.         $this->city $city;
  663.         return $this;
  664.     }
  665.     public function getZipcode(): ?string
  666.     {
  667.         return $this->zipcode;
  668.     }
  669.     public function setZipcode(?string $zipcode): self
  670.     {
  671.         $this->zipcode $zipcode;
  672.         return $this;
  673.     }
  674.     public function getCountry(): ?string
  675.     {
  676.         return $this->country;
  677.     }
  678.     public function setCountry(?string $country): self
  679.     {
  680.         $this->country $country;
  681.         return $this;
  682.     }
  683.     public function getSlug(): ?string
  684.     {
  685.         return $this->slug;
  686.     }
  687.     public function setSlug(?string $slug): self
  688.     {
  689.         $this->slug $slug;
  690.         return $this;
  691.     }
  692.     public function getSlugAnonyme(): ?string
  693.     {
  694.         return $this->slugAnonyme;
  695.     }
  696.     public function setSlugAnonyme(?string $slugAnonyme): self
  697.     {
  698.         $this->slugAnonyme $slugAnonyme;
  699.         return $this;
  700.     }
  701.     public function getTitleJob(): ?string
  702.     {
  703.         return $this->titleJob;
  704.     }
  705.     public function setTitleJob(?string $titleJob): self
  706.     {
  707.         $this->titleJob $titleJob;
  708.         return $this;
  709.     }
  710.     public function getDescription(): ?string
  711.     {
  712.         return $this->description;
  713.     }
  714.     public function setDescription(?string $description): self
  715.     {
  716.         $this->description $description;
  717.         return $this;
  718.     }
  719.     public function getWebsiteUrl(): ?string
  720.     {
  721.         return $this->websiteUrl;
  722.     }
  723.     public function setWebsiteUrl(?string $websiteUrl): self
  724.     {
  725.         $this->websiteUrl $websiteUrl;
  726.         return $this;
  727.     }
  728.     public function getLinkedinUrl(): ?string
  729.     {
  730.         return $this->linkedinUrl;
  731.     }
  732.     public function setLinkedinUrl(?string $linkedinUrl): self
  733.     {
  734.         $this->linkedinUrl $linkedinUrl;
  735.         return $this;
  736.     }
  737.     public function getSalary(): ?bool
  738.     {
  739.         return $this->salary;
  740.     }
  741.     public function setSalary(?bool $salary): self
  742.     {
  743.         $this->salary $salary;
  744.         return $this;
  745.     }
  746.     public function getFreelance(): ?bool
  747.     {
  748.         return $this->freelance;
  749.     }
  750.     public function setFreelance(?bool $freelance): self
  751.     {
  752.         $this->freelance $freelance;
  753.         return $this;
  754.     }
  755.     public function getOnSearch(): ?bool
  756.     {
  757.         return $this->onSearch;
  758.     }
  759.     public function setOnSearch(?bool $onSearch): self
  760.     {
  761.         $this->onSearch $onSearch;
  762.         return $this;
  763.     }
  764.     public function getOnDiscussion(): ?bool
  765.     {
  766.         return $this->onDiscussion;
  767.     }
  768.     public function setOnDiscussion(?bool $onDiscussion): self
  769.     {
  770.         $this->onDiscussion $onDiscussion;
  771.         return $this;
  772.     }
  773.     public function getNotifications(): ?bool
  774.     {
  775.         return $this->notifications;
  776.     }
  777.     public function setNotifications(?bool $notifications): self
  778.     {
  779.         $this->notifications $notifications;
  780.         return $this;
  781.     }
  782.     public function getOnline(): ?bool
  783.     {
  784.         return $this->online;
  785.     }
  786.     public function setOnline(?bool $online): self
  787.     {
  788.         $this->online $online;
  789.         return $this;
  790.     }
  791.     public function getOnlineClassic(): ?bool
  792.     {
  793.         return $this->onlineClassic;
  794.     }
  795.     public function setOnlineClassic(?bool $onlineClassic): self
  796.     {
  797.         $this->onlineClassic $onlineClassic;
  798.         return $this;
  799.     }
  800.     public function getInvitationCode(): ?string
  801.     {
  802.         return $this->invitationCode;
  803.     }
  804.     public function setInvitationCode(?string $invitationCode): self
  805.     {
  806.         $this->invitationCode $invitationCode;
  807.         return $this;
  808.     }
  809.     public function getAgency(): ?Agencies
  810.     {
  811.         return $this->agency;
  812.     }
  813.     public function setAgency(?Agencies $agency): self
  814.     {
  815.         $this->agency $agency;
  816.         return $this;
  817.     }
  818.     public function getFirst(): ?bool
  819.     {
  820.         return $this->first;
  821.     }
  822.     public function setFirst(?bool $first): self
  823.     {
  824.         $this->first $first;
  825.         return $this;
  826.     }
  827.     public function getUser(): ?Users
  828.     {
  829.         return $this->user;
  830.     }
  831.     public function setUser(?Users $user): self
  832.     {
  833.         $this->user $user;
  834.         return $this;
  835.     }
  836.     public function getDescriptionAnonyme(): ?string
  837.     {
  838.         return $this->descriptionAnonyme;
  839.     }
  840.     public function setDescriptionAnonyme(?string $descriptionAnonyme): self
  841.     {
  842.         $this->descriptionAnonyme $descriptionAnonyme;
  843.         return $this;
  844.     }
  845.     public function getDescriptionCover(): ?string
  846.     {
  847.         return $this->descriptionCover;
  848.     }
  849.     public function setDescriptionCover(?string $descriptionCover): self
  850.     {
  851.         $this->descriptionCover $descriptionCover;
  852.         return $this;
  853.     }
  854.     public function getDescriptionCta(): ?string
  855.     {
  856.         return $this->descriptionCta;
  857.     }
  858.     public function setDescriptionCta(?string $descriptionCta): self
  859.     {
  860.         $this->descriptionCta $descriptionCta;
  861.         return $this;
  862.     }
  863.     public function getDescriptionCoverAnonyme(): ?string
  864.     {
  865.         return $this->descriptionCoverAnonyme;
  866.     }
  867.     public function setDescriptionCoverAnonyme(?string $descriptionCoverAnonyme): self
  868.     {
  869.         $this->descriptionCoverAnonyme $descriptionCoverAnonyme;
  870.         return $this;
  871.     }
  872.     public function getDescriptionCtaAnonyme(): ?string
  873.     {
  874.         return $this->descriptionCtaAnonyme;
  875.     }
  876.     public function setDescriptionCtaAnonyme(?string $descriptionCtaAnonyme): self
  877.     {
  878.         $this->descriptionCtaAnonyme $descriptionCtaAnonyme;
  879.         return $this;
  880.     }
  881.     public function getDescriptionServices(): ?string
  882.     {
  883.         return $this->descriptionServices;
  884.     }
  885.     public function setDescriptionServices(?string $descriptionServices): self
  886.     {
  887.         $this->descriptionServices $descriptionServices;
  888.         return $this;
  889.     }
  890.     public function getDescriptionServicesAnonyme(): ?string
  891.     {
  892.         return $this->descriptionServicesAnonyme;
  893.     }
  894.     public function setDescriptionServicesAnonyme(?string $descriptionServicesAnonyme): self
  895.     {
  896.         $this->descriptionServicesAnonyme $descriptionServicesAnonyme;
  897.         return $this;
  898.     }
  899.     public function getDescriptionExperience(): ?string
  900.     {
  901.         return $this->descriptionExperience;
  902.     }
  903.     public function setDescriptionExperience(?string $descriptionExperience): self
  904.     {
  905.         $this->descriptionExperience $descriptionExperience;
  906.         return $this;
  907.     }
  908.     public function getDescriptionExperienceAnonyme(): ?string
  909.     {
  910.         return $this->descriptionExperienceAnonyme;
  911.     }
  912.     public function setDescriptionExperienceAnonyme(?string $descriptionExperienceAnonyme): self
  913.     {
  914.         $this->descriptionExperienceAnonyme $descriptionExperienceAnonyme;
  915.         return $this;
  916.     }
  917.     public function getInvitationCodeAnonyme(): ?string
  918.     {
  919.         return $this->invitationCodeAnonyme;
  920.     }
  921.     public function setInvitationCodeAnonyme(?string $invitationCodeAnonyme): self
  922.     {
  923.         $this->invitationCodeAnonyme $invitationCodeAnonyme;
  924.         return $this;
  925.     }
  926.     public function getViews(): ?int
  927.     {
  928.         return $this->views;
  929.     }
  930.     public function setViews(?int $views): self
  931.     {
  932.         $this->views $views;
  933.         return $this;
  934.     }
  935.     public function getViewsAnonyme(): ?int
  936.     {
  937.         return $this->viewsAnonyme;
  938.     }
  939.     public function setViewsAnonyme(?int $viewsAnonyme): self
  940.     {
  941.         $this->viewsAnonyme $viewsAnonyme;
  942.         return $this;
  943.     }
  944.     public function getAlternance(): ?bool
  945.     {
  946.         return $this->alternance;
  947.     }
  948.     public function setAlternance(?bool $alternance): self
  949.     {
  950.         $this->alternance $alternance;
  951.         return $this;
  952.     }
  953.     public function getStage(): ?bool
  954.     {
  955.         return $this->stage;
  956.     }
  957.     public function setStage(?bool $stage): self
  958.     {
  959.         $this->stage $stage;
  960.         return $this;
  961.     }
  962.     public function getPerimeter(): ?string
  963.     {
  964.         return $this->perimeter;
  965.     }
  966.     public function setPerimeter(?string $perimeter): self
  967.     {
  968.         $this->perimeter $perimeter;
  969.         return $this;
  970.     }
  971.     public function getPointX(): ?string
  972.     {
  973.         return $this->pointX;
  974.     }
  975.     public function setPointX(?string $pointX): self
  976.     {
  977.         $this->pointX $pointX;
  978.         return $this;
  979.     }
  980.     public function getPointY(): ?string
  981.     {
  982.         return $this->pointY;
  983.     }
  984.     public function setPointY(?string $pointY): self
  985.     {
  986.         $this->pointY $pointY;
  987.         return $this;
  988.     }
  989.     public function isSalary(): ?bool
  990.     {
  991.         return $this->salary;
  992.     }
  993.     public function isFreelance(): ?bool
  994.     {
  995.         return $this->freelance;
  996.     }
  997.     public function isAlternance(): ?bool
  998.     {
  999.         return $this->alternance;
  1000.     }
  1001.     public function isStage(): ?bool
  1002.     {
  1003.         return $this->stage;
  1004.     }
  1005.     public function isOnSearch(): ?bool
  1006.     {
  1007.         return $this->onSearch;
  1008.     }
  1009.     public function isOnDiscussion(): ?bool
  1010.     {
  1011.         return $this->onDiscussion;
  1012.     }
  1013.     public function isNotifications(): ?bool
  1014.     {
  1015.         return $this->notifications;
  1016.     }
  1017.     public function isOnline(): ?bool
  1018.     {
  1019.         return $this->online;
  1020.     }
  1021.     public function getExpYears(): ?int
  1022.     {
  1023.         return $this->expYears;
  1024.     }
  1025.     public function setExpYears(?int $expYears): static
  1026.     {
  1027.         $this->expYears $expYears;
  1028.         return $this;
  1029.     }
  1030.     public function isFirst(): ?bool
  1031.     {
  1032.         return $this->first;
  1033.     }
  1034.     public function isOnlineClassic(): ?bool
  1035.     {
  1036.         return $this->onlineClassic;
  1037.     }
  1038.     public function getVideoFrUrl(): ?string
  1039.     {
  1040.         return $this->videoFrUrl;
  1041.     }
  1042.     public function setVideoFrUrl(?string $videoFrUrl): static
  1043.     {
  1044.         $this->videoFrUrl $videoFrUrl;
  1045.         return $this;
  1046.     }
  1047.     public function getVideoEnUrl(): ?string
  1048.     {
  1049.         return $this->videoEnUrl;
  1050.     }
  1051.     public function setVideoEnUrl(?string $videoEnUrl): static
  1052.     {
  1053.         $this->videoEnUrl $videoEnUrl;
  1054.         return $this;
  1055.     }
  1056.     public function getAnalyse(): ?bool
  1057.     {
  1058.         return $this->analyse;
  1059.     }
  1060.     public function setAnalyse(?bool $analyse): self
  1061.     {
  1062.         $this->analyse $analyse;
  1063.         return $this;
  1064.     }
  1065.     public function getAnalyseLocale(): ?string
  1066.     {
  1067.         return $this->analyseLocale;
  1068.     }
  1069.     public function setAnalyseLocale(?string $analyseLocale): static
  1070.     {
  1071.         $this->analyseLocale $analyseLocale;
  1072.         return $this;
  1073.     }
  1074.     public function isAnalyse(): ?bool
  1075.     {
  1076.         return $this->analyse;
  1077.     }
  1078.     public function getAnalyseNote(): ?string
  1079.     {
  1080.         return $this->analyseNote;
  1081.     }
  1082.     public function setAnalyseNote(?string $analyseNote): static
  1083.     {
  1084.         $this->analyseNote $analyseNote;
  1085.         return $this;
  1086.     }
  1087.     public function getHardSkillsFr(): ?string
  1088.     {
  1089.         return $this->hardSkillsFr;
  1090.     }
  1091.     public function setHardSkillsFr(?string $hardSkillsFr): static
  1092.     {
  1093.         $this->hardSkillsFr $hardSkillsFr;
  1094.         return $this;
  1095.     }
  1096.     public function getHardSkillsEn(): ?string
  1097.     {
  1098.         return $this->hardSkillsEn;
  1099.     }
  1100.     public function setHardSkillsEn(?string $hardSkillsEn): static
  1101.     {
  1102.         $this->hardSkillsEn $hardSkillsEn;
  1103.         return $this;
  1104.     }
  1105.     public function getSoftSkillsEn(): ?string
  1106.     {
  1107.         return $this->softSkillsEn;
  1108.     }
  1109.     public function setSoftSkillsEn(?string $softSkillsEn): static
  1110.     {
  1111.         $this->softSkillsEn $softSkillsEn;
  1112.         return $this;
  1113.     }
  1114.     public function getSoftSkillsFr(): ?string
  1115.     {
  1116.         return $this->softSkillsFr;
  1117.     }
  1118.     public function setSoftSkillsFr(?string $softSkillsFr): static
  1119.     {
  1120.         $this->softSkillsFr $softSkillsFr;
  1121.         return $this;
  1122.     }
  1123.     public function getTagsFr(): ?string
  1124.     {
  1125.         return $this->tagsFr;
  1126.     }
  1127.     public function setTagsFr(?string $tagsFr): static
  1128.     {
  1129.         $this->tagsFr $tagsFr;
  1130.         return $this;
  1131.     }
  1132.     public function getTagsEn(): ?string
  1133.     {
  1134.         return $this->tagsEn;
  1135.     }
  1136.     public function setTagsEn(?string $tagsEn): static
  1137.     {
  1138.         $this->tagsEn $tagsEn;
  1139.         return $this;
  1140.     }
  1141.     public function getResumeRecruiterFr(): ?string
  1142.     {
  1143.         return $this->resumeRecruiterFr;
  1144.     }
  1145.     public function setResumeRecruiterFr(?string $resumeRecruiterFr): static
  1146.     {
  1147.         $this->resumeRecruiterFr $resumeRecruiterFr;
  1148.         return $this;
  1149.     }
  1150.     public function getResumeRecruiterEn(): ?string
  1151.     {
  1152.         return $this->resumeRecruiterEn;
  1153.     }
  1154.     public function setResumeRecruiterEn(?string $resumeRecruiterEn): static
  1155.     {
  1156.         $this->resumeRecruiterEn $resumeRecruiterEn;
  1157.         return $this;
  1158.     }
  1159.     public function getTitlejobFr(): ?string
  1160.     {
  1161.         return $this->titlejobFr;
  1162.     }
  1163.     public function setTitlejobFr(?string $titlejobFr): static
  1164.     {
  1165.         $this->titlejobFr $titlejobFr;
  1166.         return $this;
  1167.     }
  1168.     public function getTitlejobEn(): ?string
  1169.     {
  1170.         return $this->titlejobEn;
  1171.     }
  1172.     public function setTitlejobEn(?string $titlejobEn): static
  1173.     {
  1174.         $this->titlejobEn $titlejobEn;
  1175.         return $this;
  1176.     }
  1177.     public function getPresentationFr(): ?string
  1178.     {
  1179.         return $this->presentationFr;
  1180.     }
  1181.     public function setPresentationFr(?string $presentation_fr): static
  1182.     {
  1183.         $this->presentationFr $presentation_fr;
  1184.         return $this;
  1185.     }
  1186.     public function getPresentationEn(): ?string
  1187.     {
  1188.         return $this->presentationEn;
  1189.     }
  1190.     public function setPresentationEn(?string $presentation_en): static
  1191.     {
  1192.         $this->presentationEn $presentation_en;
  1193.         return $this;
  1194.     }
  1195.     public function getFuturTitlejobFr(): ?string
  1196.     {
  1197.         return $this->futurTitlejobFr;
  1198.     }
  1199.     public function setFuturTitlejobFr(?string $futurTitlejobFr): static
  1200.     {
  1201.         $this->futurTitlejobFr $futurTitlejobFr;
  1202.         return $this;
  1203.     }
  1204.     public function getFuturTitlejobEn(): ?string
  1205.     {
  1206.         return $this->futurTitlejobEn;
  1207.     }
  1208.     public function setFuturTitlejobEn(?string $futurTitlejobEn): static
  1209.     {
  1210.         $this->futurTitlejobEn $futurTitlejobEn;
  1211.         return $this;
  1212.     }
  1213.     public function getSectorEn(): ?string
  1214.     {
  1215.         return $this->sectorEn;
  1216.     }
  1217.     public function setSectorEn(?string $sectorEn): static
  1218.     {
  1219.         $this->sectorEn $sectorEn;
  1220.         return $this;
  1221.     }
  1222.     public function getSectorFr(): ?string
  1223.     {
  1224.         return $this->sectorFr;
  1225.     }
  1226.     public function setSectorFr(?string $sectorFr): static
  1227.     {
  1228.         $this->sectorFr $sectorFr;
  1229.         return $this;
  1230.     }
  1231.     public function isFrench(): ?bool
  1232.     {
  1233.         return $this->french;
  1234.     }
  1235.     public function setFrench(?bool $french): static
  1236.     {
  1237.         $this->french $french;
  1238.         return $this;
  1239.     }
  1240.     public function isEnglish(): ?bool
  1241.     {
  1242.         return $this->english;
  1243.     }
  1244.     public function setEnglish(?bool $english): static
  1245.     {
  1246.         $this->english $english;
  1247.         return $this;
  1248.     }
  1249.     public function getDefaultLocale(): ?string
  1250.     {
  1251.         return $this->defaultLocale;
  1252.     }
  1253.     public function setDefaultLocale(?string $defaultLocale): static
  1254.     {
  1255.         $this->defaultLocale $defaultLocale;
  1256.         return $this;
  1257.     }
  1258.     public function isDefault(): ?bool
  1259.     {
  1260.         return $this->default;
  1261.     }
  1262.     public function setDefault(?bool $default): static
  1263.     {
  1264.         $this->default $default;
  1265.         return $this;
  1266.     }
  1267.     public function getHardSkillsDefault(): ?string
  1268.     {
  1269.         return $this->hardSkillsDefault;
  1270.     }
  1271.     public function setHardSkillsDefault(?string $hardSkillsDefault): static
  1272.     {
  1273.         $this->hardSkillsDefault $hardSkillsDefault;
  1274.         return $this;
  1275.     }
  1276.     public function getSoftSkillsDefault(): ?string
  1277.     {
  1278.         return $this->softSkillsDefault;
  1279.     }
  1280.     public function setSoftSkillsDefault(?string $softSkillsDefault): static
  1281.     {
  1282.         $this->softSkillsDefault $softSkillsDefault;
  1283.         return $this;
  1284.     }
  1285.     public function getTagsDefault(): ?string
  1286.     {
  1287.         return $this->tagsDefault;
  1288.     }
  1289.     public function setTagsDefault(?string $tagsDefault): static
  1290.     {
  1291.         $this->tagsDefault $tagsDefault;
  1292.         return $this;
  1293.     }
  1294.     public function getResumeRecruiterDefault(): ?string
  1295.     {
  1296.         return $this->resumeRecruiterDefault;
  1297.     }
  1298.     public function setResumeRecruiterDefault(?string $resumeRecruiterDefault): static
  1299.     {
  1300.         $this->resumeRecruiterDefault $resumeRecruiterDefault;
  1301.         return $this;
  1302.     }
  1303.     public function getTitlejobDefault(): ?string
  1304.     {
  1305.         return $this->titlejobDefault;
  1306.     }
  1307.     public function setTitlejobDefault(?string $titlejobDefault): static
  1308.     {
  1309.         $this->titlejobDefault $titlejobDefault;
  1310.         return $this;
  1311.     }
  1312.     public function getPresentationDefault(): ?string
  1313.     {
  1314.         return $this->presentationDefault;
  1315.     }
  1316.     public function setPresentationDefault(?string $presentationDefault): static
  1317.     {
  1318.         $this->presentationDefault $presentationDefault;
  1319.         return $this;
  1320.     }
  1321.     public function getFuturTitlejobDefault(): ?string
  1322.     {
  1323.         return $this->futurTitlejobDefault;
  1324.     }
  1325.     public function setFuturTitlejobDefault(?string $futurTitlejobDefault): static
  1326.     {
  1327.         $this->futurTitlejobDefault $futurTitlejobDefault;
  1328.         return $this;
  1329.     }
  1330.     public function getSectorDefault(): ?string
  1331.     {
  1332.         return $this->sectorDefault;
  1333.     }
  1334.     public function setSectorDefault(?string $sectorDefault): static
  1335.     {
  1336.         $this->sectorDefault $sectorDefault;
  1337.         return $this;
  1338.     }
  1339.     public function getVideoDefaultUrl(): ?string
  1340.     {
  1341.         return $this->videoDefaultUrl;
  1342.     }
  1343.     public function setVideoDefaultUrl(?string $videoDefaultUrl): static
  1344.     {
  1345.         $this->videoDefaultUrl $videoDefaultUrl;
  1346.         return $this;
  1347.     }
  1348.     public function getStatusSearch(): ?string
  1349.     {
  1350.         return $this->statusSearch;
  1351.     }
  1352.     public function setStatusSearch(?string $statusSearch): static
  1353.     {
  1354.         $this->statusSearch $statusSearch;
  1355.         return $this;
  1356.     }
  1357.     public function getAvailability(): ?string
  1358.     {
  1359.         return $this->availability;
  1360.     }
  1361.     public function setAvailability(?string $availability): static
  1362.     {
  1363.         $this->availability $availability;
  1364.         return $this;
  1365.     }
  1366.     public function getResumeProjectsFr(): ?string
  1367.     {
  1368.         return $this->resumeProjectsFr;
  1369.     }
  1370.     public function setResumeProjectsFr(?string $resumeProjectsFr): static
  1371.     {
  1372.         $this->resumeProjectsFr $resumeProjectsFr;
  1373.         return $this;
  1374.     }
  1375.     public function getResumeProjectsEn(): ?string
  1376.     {
  1377.         return $this->resumeProjectsEn;
  1378.     }
  1379.     public function setResumeProjectsEn(?string $resumeProjectsEn): static
  1380.     {
  1381.         $this->resumeProjectsEn $resumeProjectsEn;
  1382.         return $this;
  1383.     }
  1384.     public function getResumeProjectsDefault(): ?string
  1385.     {
  1386.         return $this->resumeProjectsDefault;
  1387.     }
  1388.     public function setResumeProjectsDefault(?string $resumeProjectsDefault): static
  1389.     {
  1390.         $this->resumeProjectsDefault $resumeProjectsDefault;
  1391.         return $this;
  1392.     }
  1393.     public function getResumeExpFr(): ?string
  1394.     {
  1395.         return $this->resumeExpFr;
  1396.     }
  1397.     public function setResumeExpFr(?string $resumeExpFr): static
  1398.     {
  1399.         $this->resumeExpFr $resumeExpFr;
  1400.         return $this;
  1401.     }
  1402.     public function getResumeExpEn(): ?string
  1403.     {
  1404.         return $this->resumeExpEn;
  1405.     }
  1406.     public function setResumeExpEn(?string $resumeExpEn): static
  1407.     {
  1408.         $this->resumeExpEn $resumeExpEn;
  1409.         return $this;
  1410.     }
  1411.     public function getResumeExpDefault(): ?string
  1412.     {
  1413.         return $this->resumeExpDefault;
  1414.     }
  1415.     public function setResumeExpDefault(?string $resumeExpDefault): static
  1416.     {
  1417.         $this->resumeExpDefault $resumeExpDefault;
  1418.         return $this;
  1419.     }
  1420. }