<?phpnamespace App\Entity\Cvs;use App\Entity\Core\Users;use App\Entity\Core\Agencies;use Doctrine\DBAL\Types\Types;use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;use Symfony\Component\Validator\Constraints as Assert;use Doctrine\ORM\Mapping as ORM;use Vich\UploaderBundle\Mapping\Annotation as Vich;use Symfony\Component\HttpFoundation\File\File;use Symfony\Component\HttpFoundation\File\UploadedFile;use Vich\UploaderBundle\Entity\File as EmbeddedFile;use Vich\UploaderBundle\Templating\Helper\UploaderHelper;/** * Landing Jobs * * @ORM\Table("cvs_landingjobs") * @ORM\Entity(repositoryClass="App\Repository\Cvs\LandingJobsRepository") * @ORM\HasLifecycleCallbacks() * @Vich\Uploadable */class LandingJobs{ /** * @var integer * * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") */ protected $id; /** * @var string * * @ORM\Column(name="created_at", type="datetime", nullable=true, options={"comment":"Date de création"}) */ private $createdAt; /** * @var string * * @ORM\Column(name="updated_at", type="datetime", nullable=true, options={"comment":"Date de mise à jour"}) */ private $updatedAt; /** * @var string * * @ORM\Column(name="title", type="string", length=255, nullable=true) */ private $title; /** * @var string * * @ORM\Column(name="locale", type="string", length=255, nullable=true) */ private $locale; /** * @var string * * @ORM\Column(name="title_page", type="string", length=255, nullable=true) */ private $titlePage; /** * @var string * * @ORM\Column(name="description_page", type="text", nullable=true) */ private $descriptionPage; /** * @var string * * @ORM\Column(name="description_page2", type="string", length=255, nullable=true) */ private $descriptionPage2; /** * @var string * * @ORM\Column(name="description_page3", type="string", length=255, nullable=true) */ private $descriptionPage3; /** * @var string * * @ORM\Column(name="short_title", type="string", length=255, nullable=true) */ private $shortTitle; /** * @var string * * @ORM\Column(name="short_description", type="text", nullable=true) */ private $shortDescription; /** * @var string * * @ORM\Column(name="slug", type="string", length=255, nullable=true) */ private $slug; /** * @var string * * @ORM\Column(name="type", type="string", length=255, nullable=true) */ private $type; /** * @var string * * @ORM\Column(name="title_work_1", type="string", length=255, nullable=true) */ private $titleWork1; /** * @var string * * @ORM\Column(name="title_work_2", type="string", length=255, nullable=true) */ private $titleWork2; /** * @var string * * @ORM\Column(name="title_work_3", type="string", length=255, nullable=true) */ private $titleWork3; /** * @var string * * @ORM\Column(name="description_work_1", type="text", nullable=true) */ private $descriptionWork1; /** * @var string * * @ORM\Column(name="description_work_2", type="text", nullable=true) */ private $descriptionWork2; /** * @var string * * @ORM\Column(name="description_work_3", type="text", nullable=true) */ private $descriptionWork3; /** * @var string * * @ORM\Column(name="title_presentation_1", type="string", length=255, nullable=true) */ private $titlePresentation1; /** * @var string * * @ORM\Column(name="title_presentation_2", type="string", length=255, nullable=true) */ private $titlePresentation2; /** * @var string * * @ORM\Column(name="title_presentation_3", type="string", length=255, nullable=true) */ private $titlePresentation3; /** * @var string * * @ORM\Column(name="title_presentation_4", type="string", length=255, nullable=true) */ private $titlePresentation4; /** * @var string * * @ORM\Column(name="description_presentation_1", type="text", nullable=true) */ private $descriptionPresentation1; /** * @var string * * @ORM\Column(name="description_presentation_2", type="text", nullable=true) */ private $descriptionPresentation2; /** * @var string * * @ORM\Column(name="description_presentation_3", type="text", nullable=true) */ private $descriptionPresentation3; /** * @var string * * @ORM\Column(name="description_presentation_4", type="text", nullable=true) */ private $descriptionPresentation4; /** * @var string * * @ORM\Column(name="citation_presentation_1", type="text", nullable=true) */ private $citationPresentation1; /** * @var string * * @ORM\Column(name="citation_presentation_2", type="text", nullable=true) */ private $citationPresentation2; /** * @var string * * @ORM\Column(name="citation_presentation_3", type="text", nullable=true) */ private $citationPresentation3; /** * @var string * * @ORM\Column(name="citation_presentation_4", type="text", nullable=true) */ private $citationPresentation4; public function __construct() { } /** * @ORM\PrePersist */ public function setCreatedAtValue(): void { $this->setCreatedAt(new \DateTime("now")); $this->setUpdatedAt(new \DateTime("now")); } /** * @ORM\PreUpdate */ public function setUpdatedAtValue(): void { $this->setUpdatedAt(new \DateTime("now")); } public function __toString() { return (string)$this->id; } public function getId(): ?int { return $this->id; } public function getCreatedAt(): ?\DateTimeInterface { return $this->createdAt; } public function setCreatedAt(?\DateTimeInterface $createdAt): static { $this->createdAt = $createdAt; return $this; } public function getUpdatedAt(): ?\DateTimeInterface { return $this->updatedAt; } public function setUpdatedAt(?\DateTimeInterface $updatedAt): static { $this->updatedAt = $updatedAt; return $this; } public function getTitle(): ?string { return $this->title; } public function setTitle(?string $title): static { $this->title = $title; return $this; } public function getTitlePage(): ?string { return $this->titlePage; } public function setTitlePage(?string $titlePage): static { $this->titlePage = $titlePage; return $this; } public function getDescriptionPage(): ?string { return $this->descriptionPage; } public function setDescriptionPage(?string $descriptionPage): static { $this->descriptionPage = $descriptionPage; return $this; } public function getDescriptionPage2(): ?string { return $this->descriptionPage2; } public function setDescriptionPage2(?string $descriptionPage2): static { $this->descriptionPage2 = $descriptionPage2; return $this; } public function getDescriptionPage3(): ?string { return $this->descriptionPage3; } public function setDescriptionPage3(?string $descriptionPage3): static { $this->descriptionPage3 = $descriptionPage3; return $this; } public function getShortTitle(): ?string { return $this->shortTitle; } public function setShortTitle(?string $shortTitle): static { $this->shortTitle = $shortTitle; return $this; } public function getShortDescription(): ?string { return $this->shortDescription; } public function setShortDescription(?string $shortDescription): static { $this->shortDescription = $shortDescription; return $this; } public function getSlug(): ?string { return $this->slug; } public function setSlug(?string $slug): static { $this->slug = $slug; return $this; } public function getType(): ?string { return $this->type; } public function setType(?string $type): static { $this->type = $type; return $this; } public function getTitleWork1(): ?string { return $this->titleWork1; } public function setTitleWork1(?string $titleWork1): static { $this->titleWork1 = $titleWork1; return $this; } public function getTitleWork2(): ?string { return $this->titleWork2; } public function setTitleWork2(?string $titleWork2): static { $this->titleWork2 = $titleWork2; return $this; } public function getTitleWork3(): ?string { return $this->titleWork3; } public function setTitleWork3(?string $titleWork3): static { $this->titleWork3 = $titleWork3; return $this; } public function getDescriptionWork1(): ?string { return $this->descriptionWork1; } public function setDescriptionWork1(?string $descriptionWork1): static { $this->descriptionWork1 = $descriptionWork1; return $this; } public function getDescriptionWork2(): ?string { return $this->descriptionWork2; } public function setDescriptionWork2(?string $descriptionWork2): static { $this->descriptionWork2 = $descriptionWork2; return $this; } public function getDescriptionWork3(): ?string { return $this->descriptionWork3; } public function setDescriptionWork3(?string $descriptionWork3): static { $this->descriptionWork3 = $descriptionWork3; return $this; } public function getTitlePresentation1(): ?string { return $this->titlePresentation1; } public function setTitlePresentation1(?string $titlePresentation1): static { $this->titlePresentation1 = $titlePresentation1; return $this; } public function getTitlePresentation2(): ?string { return $this->titlePresentation2; } public function setTitlePresentation2(?string $titlePresentation2): static { $this->titlePresentation2 = $titlePresentation2; return $this; } public function getTitlePresentation3(): ?string { return $this->titlePresentation3; } public function setTitlePresentation3(?string $titlePresentation3): static { $this->titlePresentation3 = $titlePresentation3; return $this; } public function getTitlePresentation4(): ?string { return $this->titlePresentation4; } public function setTitlePresentation4(?string $titlePresentation4): static { $this->titlePresentation4 = $titlePresentation4; return $this; } public function getDescriptionPresentation1(): ?string { return $this->descriptionPresentation1; } public function setDescriptionPresentation1(?string $descriptionPresentation1): static { $this->descriptionPresentation1 = $descriptionPresentation1; return $this; } public function getDescriptionPresentation2(): ?string { return $this->descriptionPresentation2; } public function setDescriptionPresentation2(?string $descriptionPresentation2): static { $this->descriptionPresentation2 = $descriptionPresentation2; return $this; } public function getDescriptionPresentation3(): ?string { return $this->descriptionPresentation3; } public function setDescriptionPresentation3(?string $descriptionPresentation3): static { $this->descriptionPresentation3 = $descriptionPresentation3; return $this; } public function getDescriptionPresentation4(): ?string { return $this->descriptionPresentation4; } public function setDescriptionPresentation4(?string $descriptionPresentation4): static { $this->descriptionPresentation4 = $descriptionPresentation4; return $this; } public function getCitationPresentation1(): ?string { return $this->citationPresentation1; } public function setCitationPresentation1(?string $citationPresentation1): static { $this->citationPresentation1 = $citationPresentation1; return $this; } public function getCitationPresentation2(): ?string { return $this->citationPresentation2; } public function setCitationPresentation2(?string $citationPresentation2): static { $this->citationPresentation2 = $citationPresentation2; return $this; } public function getCitationPresentation3(): ?string { return $this->citationPresentation3; } public function setCitationPresentation3(?string $citationPresentation3): static { $this->citationPresentation3 = $citationPresentation3; return $this; } public function getCitationPresentation4(): ?string { return $this->citationPresentation4; } public function setCitationPresentation4(?string $citationPresentation4): static { $this->citationPresentation4 = $citationPresentation4; return $this; } public function getLocale(): ?string { return $this->locale; } public function setLocale(?string $locale): static { $this->locale = $locale; return $this; }}