<?php
namespace App\Entity\Um6p;
use App\Repository\Um6p\EventTranslationRepository;
use Doctrine\ORM\Mapping as ORM;
use Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface;
use Knp\DoctrineBehaviors\Model\Translatable\TranslationTrait;
/**
* @ORM\Entity(repositoryClass=EventTranslationRepository::class)
*/
class EventTranslation implements TranslationInterface
{
use TranslationTrait;
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $titre;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $preview;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $contenu;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $seo_titre;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $seo_description;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $seo_keywords;
public function getId(): ?int
{
return $this->id;
}
public function getTitre(): ?string
{
return $this->titre;
}
public function setTitre(?string $titre): self
{
$this->titre = $titre;
return $this;
}
public function getPreview(): ?string
{
return $this->preview;
}
public function setPreview(?string $preview): self
{
$this->preview = $preview;
return $this;
}
public function getContenu(): ?string
{
return $this->contenu;
}
public function setContenu(?string $contenu): self
{
$this->contenu = $contenu;
return $this;
}
public function getSeoTitre(): ?string
{
return $this->seo_titre;
}
public function setSeoTitre(?string $seo_titre): self
{
$this->seo_titre = $seo_titre;
return $this;
}
public function getSeoDescription(): ?string
{
return $this->seo_description;
}
public function setSeoDescription(?string $seo_description): self
{
$this->seo_description = $seo_description;
return $this;
}
public function getSeoKeywords(): ?string
{
return $this->seo_keywords;
}
public function setSeoKeywords(?string $seo_keywords): self
{
$this->seo_keywords = $seo_keywords;
return $this;
}
}