<?php
namespace App\Entity;
use App\Repository\MediaTranslationRepository;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface;
use Knp\DoctrineBehaviors\Model\Translatable\TranslationTrait;
/**
* @ORM\Entity(repositoryClass=MediaTranslationRepository::class)
*/
class MediaTranslation 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 $seo_titre;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $seo_description;
/**
* @ORM\Column(type="string", length=255, 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 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;
}
}