<?php
declare(strict_types=1);
namespace App\Entity\Otpusk;
use Doctrine\ORM\Mapping as ORM;
use Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface;
use Knp\DoctrineBehaviors\Model\Translatable\TranslationTrait;
/**
* @ORM\Entity
*/
class RubricTranslation implements TranslationInterface
{
use TranslationTrait;
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @ORM\Column(type="string", length=1024, nullable=true)
*/
protected $title;
/**
* @ORM\Column(type="string", length=1024, nullable=true)
*/
protected $titleSeo;
public function getId(): ?int
{
return $this->id;
}
public function getTitle(): ?string
{
return $this->title;
}
public function setTitle(?string $title): void
{
$this->title = $title;
}
public function getTitleSeo(): ?string
{
return $this->titleSeo;
}
public function setTitleSeo(?string $titleSeo): void
{
$this->titleSeo = $titleSeo;
}
}