src/Entity/Cvs/LandingJobs.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.  * Landing Jobs
  16.  *
  17.  * @ORM\Table("cvs_landingjobs")
  18.  * @ORM\Entity(repositoryClass="App\Repository\Cvs\LandingJobsRepository")
  19.  * @ORM\HasLifecycleCallbacks()
  20.  * @Vich\Uploadable
  21.  */
  22. class LandingJobs
  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="title", type="string", length=255, nullable=true)
  48.      */
  49.     private $title;
  50.     /**
  51.      * @var string
  52.      *
  53.      * @ORM\Column(name="locale", type="string", length=255, nullable=true)
  54.      */
  55.     private $locale;
  56.     /**
  57.      * @var string
  58.      *
  59.      * @ORM\Column(name="title_page", type="string", length=255, nullable=true)
  60.      */
  61.     private $titlePage;
  62.     /**
  63.      * @var string
  64.      *
  65.      * @ORM\Column(name="description_page", type="text", nullable=true)
  66.      */
  67.     private $descriptionPage;
  68.     /**
  69.      * @var string
  70.      *
  71.      * @ORM\Column(name="description_page2", type="string", length=255, nullable=true)
  72.      */
  73.     private $descriptionPage2;
  74.     /**
  75.      * @var string
  76.      *
  77.      * @ORM\Column(name="description_page3", type="string", length=255, nullable=true)
  78.      */
  79.     private $descriptionPage3;
  80.     /**
  81.      * @var string
  82.      *
  83.      * @ORM\Column(name="short_title", type="string", length=255, nullable=true)
  84.      */
  85.     private $shortTitle;
  86.     /**
  87.      * @var string
  88.      *
  89.      * @ORM\Column(name="short_description", type="text", nullable=true)
  90.      */
  91.     private $shortDescription;
  92.     /**
  93.      * @var string
  94.      *
  95.      * @ORM\Column(name="slug", type="string", length=255, nullable=true)
  96.      */
  97.     private $slug;
  98.     /**
  99.      * @var string
  100.      *
  101.      * @ORM\Column(name="type", type="string", length=255, nullable=true)
  102.      */
  103.     private $type;
  104.     /**
  105.      * @var string
  106.      *
  107.      * @ORM\Column(name="title_work_1", type="string", length=255, nullable=true)
  108.      */
  109.     private $titleWork1;
  110.     /**
  111.      * @var string
  112.      *
  113.      * @ORM\Column(name="title_work_2", type="string", length=255, nullable=true)
  114.      */
  115.     private $titleWork2;
  116.     /**
  117.      * @var string
  118.      *
  119.      * @ORM\Column(name="title_work_3", type="string", length=255, nullable=true)
  120.      */
  121.     private $titleWork3;
  122.     /**
  123.      * @var string
  124.      *
  125.      * @ORM\Column(name="description_work_1", type="text", nullable=true)
  126.      */
  127.     private $descriptionWork1;
  128.     /**
  129.      * @var string
  130.      *
  131.      * @ORM\Column(name="description_work_2", type="text", nullable=true)
  132.      */
  133.     private $descriptionWork2;
  134.     /**
  135.      * @var string
  136.      *
  137.      * @ORM\Column(name="description_work_3", type="text", nullable=true)
  138.      */
  139.     private $descriptionWork3;
  140.     /**
  141.      * @var string
  142.      *
  143.      * @ORM\Column(name="title_presentation_1", type="string", length=255, nullable=true)
  144.      */
  145.     private $titlePresentation1;
  146.     /**
  147.      * @var string
  148.      *
  149.      * @ORM\Column(name="title_presentation_2", type="string", length=255, nullable=true)
  150.      */
  151.     private $titlePresentation2;
  152.     /**
  153.      * @var string
  154.      *
  155.      * @ORM\Column(name="title_presentation_3", type="string", length=255, nullable=true)
  156.      */
  157.     private $titlePresentation3;
  158.     /**
  159.      * @var string
  160.      *
  161.      * @ORM\Column(name="title_presentation_4", type="string", length=255, nullable=true)
  162.      */
  163.     private $titlePresentation4;
  164.     /**
  165.      * @var string
  166.      *
  167.      * @ORM\Column(name="description_presentation_1", type="text", nullable=true)
  168.      */
  169.     private $descriptionPresentation1;
  170.     /**
  171.      * @var string
  172.      *
  173.      * @ORM\Column(name="description_presentation_2", type="text", nullable=true)
  174.      */
  175.     private $descriptionPresentation2;
  176.     /**
  177.      * @var string
  178.      *
  179.      * @ORM\Column(name="description_presentation_3", type="text", nullable=true)
  180.      */
  181.     private $descriptionPresentation3;
  182.     /**
  183.      * @var string
  184.      *
  185.      * @ORM\Column(name="description_presentation_4", type="text", nullable=true)
  186.      */
  187.     private $descriptionPresentation4;
  188.     /**
  189.      * @var string
  190.      *
  191.      * @ORM\Column(name="citation_presentation_1", type="text", nullable=true)
  192.      */
  193.     private $citationPresentation1;
  194.     /**
  195.      * @var string
  196.      *
  197.      * @ORM\Column(name="citation_presentation_2", type="text", nullable=true)
  198.      */
  199.     private $citationPresentation2;
  200.     /**
  201.      * @var string
  202.      *
  203.      * @ORM\Column(name="citation_presentation_3", type="text", nullable=true)
  204.      */
  205.     private $citationPresentation3;
  206.     /**
  207.      * @var string
  208.      *
  209.      * @ORM\Column(name="citation_presentation_4", type="text", nullable=true)
  210.      */
  211.     private $citationPresentation4;
  212.     public function __construct()
  213.     {
  214.     }
  215.     /**
  216.      * @ORM\PrePersist
  217.      */
  218.     public function setCreatedAtValue(): void
  219.     {
  220.         $this->setCreatedAt(new \DateTime("now"));
  221.         $this->setUpdatedAt(new \DateTime("now"));
  222.     }
  223.     /**
  224.      * @ORM\PreUpdate
  225.      */
  226.     public function setUpdatedAtValue(): void
  227.     {
  228.         $this->setUpdatedAt(new \DateTime("now"));
  229.     }
  230.     public function __toString()
  231.     {
  232.         return (string)$this->id;
  233.     }
  234.     public function getId(): ?int
  235.     {
  236.         return $this->id;
  237.     }
  238.     public function getCreatedAt(): ?\DateTimeInterface
  239.     {
  240.         return $this->createdAt;
  241.     }
  242.     public function setCreatedAt(?\DateTimeInterface $createdAt): static
  243.     {
  244.         $this->createdAt $createdAt;
  245.         return $this;
  246.     }
  247.     public function getUpdatedAt(): ?\DateTimeInterface
  248.     {
  249.         return $this->updatedAt;
  250.     }
  251.     public function setUpdatedAt(?\DateTimeInterface $updatedAt): static
  252.     {
  253.         $this->updatedAt $updatedAt;
  254.         return $this;
  255.     }
  256.     public function getTitle(): ?string
  257.     {
  258.         return $this->title;
  259.     }
  260.     public function setTitle(?string $title): static
  261.     {
  262.         $this->title $title;
  263.         return $this;
  264.     }
  265.     public function getTitlePage(): ?string
  266.     {
  267.         return $this->titlePage;
  268.     }
  269.     public function setTitlePage(?string $titlePage): static
  270.     {
  271.         $this->titlePage $titlePage;
  272.         return $this;
  273.     }
  274.     public function getDescriptionPage(): ?string
  275.     {
  276.         return $this->descriptionPage;
  277.     }
  278.     public function setDescriptionPage(?string $descriptionPage): static
  279.     {
  280.         $this->descriptionPage $descriptionPage;
  281.         return $this;
  282.     }
  283.     public function getDescriptionPage2(): ?string
  284.     {
  285.         return $this->descriptionPage2;
  286.     }
  287.     public function setDescriptionPage2(?string $descriptionPage2): static
  288.     {
  289.         $this->descriptionPage2 $descriptionPage2;
  290.         return $this;
  291.     }
  292.     public function getDescriptionPage3(): ?string
  293.     {
  294.         return $this->descriptionPage3;
  295.     }
  296.     public function setDescriptionPage3(?string $descriptionPage3): static
  297.     {
  298.         $this->descriptionPage3 $descriptionPage3;
  299.         return $this;
  300.     }
  301.     public function getShortTitle(): ?string
  302.     {
  303.         return $this->shortTitle;
  304.     }
  305.     public function setShortTitle(?string $shortTitle): static
  306.     {
  307.         $this->shortTitle $shortTitle;
  308.         return $this;
  309.     }
  310.     public function getShortDescription(): ?string
  311.     {
  312.         return $this->shortDescription;
  313.     }
  314.     public function setShortDescription(?string $shortDescription): static
  315.     {
  316.         $this->shortDescription $shortDescription;
  317.         return $this;
  318.     }
  319.     public function getSlug(): ?string
  320.     {
  321.         return $this->slug;
  322.     }
  323.     public function setSlug(?string $slug): static
  324.     {
  325.         $this->slug $slug;
  326.         return $this;
  327.     }
  328.     public function getType(): ?string
  329.     {
  330.         return $this->type;
  331.     }
  332.     public function setType(?string $type): static
  333.     {
  334.         $this->type $type;
  335.         return $this;
  336.     }
  337.     public function getTitleWork1(): ?string
  338.     {
  339.         return $this->titleWork1;
  340.     }
  341.     public function setTitleWork1(?string $titleWork1): static
  342.     {
  343.         $this->titleWork1 $titleWork1;
  344.         return $this;
  345.     }
  346.     public function getTitleWork2(): ?string
  347.     {
  348.         return $this->titleWork2;
  349.     }
  350.     public function setTitleWork2(?string $titleWork2): static
  351.     {
  352.         $this->titleWork2 $titleWork2;
  353.         return $this;
  354.     }
  355.     public function getTitleWork3(): ?string
  356.     {
  357.         return $this->titleWork3;
  358.     }
  359.     public function setTitleWork3(?string $titleWork3): static
  360.     {
  361.         $this->titleWork3 $titleWork3;
  362.         return $this;
  363.     }
  364.     public function getDescriptionWork1(): ?string
  365.     {
  366.         return $this->descriptionWork1;
  367.     }
  368.     public function setDescriptionWork1(?string $descriptionWork1): static
  369.     {
  370.         $this->descriptionWork1 $descriptionWork1;
  371.         return $this;
  372.     }
  373.     public function getDescriptionWork2(): ?string
  374.     {
  375.         return $this->descriptionWork2;
  376.     }
  377.     public function setDescriptionWork2(?string $descriptionWork2): static
  378.     {
  379.         $this->descriptionWork2 $descriptionWork2;
  380.         return $this;
  381.     }
  382.     public function getDescriptionWork3(): ?string
  383.     {
  384.         return $this->descriptionWork3;
  385.     }
  386.     public function setDescriptionWork3(?string $descriptionWork3): static
  387.     {
  388.         $this->descriptionWork3 $descriptionWork3;
  389.         return $this;
  390.     }
  391.     public function getTitlePresentation1(): ?string
  392.     {
  393.         return $this->titlePresentation1;
  394.     }
  395.     public function setTitlePresentation1(?string $titlePresentation1): static
  396.     {
  397.         $this->titlePresentation1 $titlePresentation1;
  398.         return $this;
  399.     }
  400.     public function getTitlePresentation2(): ?string
  401.     {
  402.         return $this->titlePresentation2;
  403.     }
  404.     public function setTitlePresentation2(?string $titlePresentation2): static
  405.     {
  406.         $this->titlePresentation2 $titlePresentation2;
  407.         return $this;
  408.     }
  409.     public function getTitlePresentation3(): ?string
  410.     {
  411.         return $this->titlePresentation3;
  412.     }
  413.     public function setTitlePresentation3(?string $titlePresentation3): static
  414.     {
  415.         $this->titlePresentation3 $titlePresentation3;
  416.         return $this;
  417.     }
  418.     public function getTitlePresentation4(): ?string
  419.     {
  420.         return $this->titlePresentation4;
  421.     }
  422.     public function setTitlePresentation4(?string $titlePresentation4): static
  423.     {
  424.         $this->titlePresentation4 $titlePresentation4;
  425.         return $this;
  426.     }
  427.     public function getDescriptionPresentation1(): ?string
  428.     {
  429.         return $this->descriptionPresentation1;
  430.     }
  431.     public function setDescriptionPresentation1(?string $descriptionPresentation1): static
  432.     {
  433.         $this->descriptionPresentation1 $descriptionPresentation1;
  434.         return $this;
  435.     }
  436.     public function getDescriptionPresentation2(): ?string
  437.     {
  438.         return $this->descriptionPresentation2;
  439.     }
  440.     public function setDescriptionPresentation2(?string $descriptionPresentation2): static
  441.     {
  442.         $this->descriptionPresentation2 $descriptionPresentation2;
  443.         return $this;
  444.     }
  445.     public function getDescriptionPresentation3(): ?string
  446.     {
  447.         return $this->descriptionPresentation3;
  448.     }
  449.     public function setDescriptionPresentation3(?string $descriptionPresentation3): static
  450.     {
  451.         $this->descriptionPresentation3 $descriptionPresentation3;
  452.         return $this;
  453.     }
  454.     public function getDescriptionPresentation4(): ?string
  455.     {
  456.         return $this->descriptionPresentation4;
  457.     }
  458.     public function setDescriptionPresentation4(?string $descriptionPresentation4): static
  459.     {
  460.         $this->descriptionPresentation4 $descriptionPresentation4;
  461.         return $this;
  462.     }
  463.     public function getCitationPresentation1(): ?string
  464.     {
  465.         return $this->citationPresentation1;
  466.     }
  467.     public function setCitationPresentation1(?string $citationPresentation1): static
  468.     {
  469.         $this->citationPresentation1 $citationPresentation1;
  470.         return $this;
  471.     }
  472.     public function getCitationPresentation2(): ?string
  473.     {
  474.         return $this->citationPresentation2;
  475.     }
  476.     public function setCitationPresentation2(?string $citationPresentation2): static
  477.     {
  478.         $this->citationPresentation2 $citationPresentation2;
  479.         return $this;
  480.     }
  481.     public function getCitationPresentation3(): ?string
  482.     {
  483.         return $this->citationPresentation3;
  484.     }
  485.     public function setCitationPresentation3(?string $citationPresentation3): static
  486.     {
  487.         $this->citationPresentation3 $citationPresentation3;
  488.         return $this;
  489.     }
  490.     public function getCitationPresentation4(): ?string
  491.     {
  492.         return $this->citationPresentation4;
  493.     }
  494.     public function setCitationPresentation4(?string $citationPresentation4): static
  495.     {
  496.         $this->citationPresentation4 $citationPresentation4;
  497.         return $this;
  498.     }
  499.     public function getLocale(): ?string
  500.     {
  501.         return $this->locale;
  502.     }
  503.     public function setLocale(?string $locale): static
  504.     {
  505.         $this->locale $locale;
  506.         return $this;
  507.     }
  508. }