<?phpnamespace App\Entity;use Doctrine\ORM\Mapping as ORM;use App\Entity\Behaviors\TranslationTrait;use Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface;/** * @ORM\Entity(repositoryClass="App\Repository\TranslationRepository") * @ORM\HasLifecycleCallbacks() * @ORM\EntityListeners({"App\Listener\EntityListener"}) */class BrandTranslation implements TranslationInterface{ use TranslationTrait; protected $isEmptyOff = true; /** * @ORM\Column(type="string", length=2) */ protected $locale; /** * @ORM\Column(type="text", nullable=true) */ private $description; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $metaDescription; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $metaKeywords; /** * @ORM\Column(type="datetime") */ private $createts; /** * @ORM\ManyToOne(targetEntity="App\Entity\User") * @ORM\JoinColumn(nullable=false) */ private $createUser; /** * @ORM\Column(type="datetime", nullable=true) */ private $editts; /** * @ORM\ManyToOne(targetEntity="App\Entity\User") */ private $editUser; public function getId(): ?int { return $this->id; } public function getDescription(): ?string { return $this->description; } public function setDescription(?string $description): self { $this->description = $description; return $this; } public function getMetaDescription(): ?string { return $this->metaDescription; } public function setMetaDescription(?string $metaDescription): self { $this->metaDescription = $metaDescription; return $this; } public function getMetaKeywords(): ?string { return $this->metaKeywords; } public function setMetaKeywords(?string $metaKeywords): self { $this->metaKeywords = $metaKeywords; return $this; } public function getCreatets(): ?\DateTimeInterface { return $this->createts; } public function setCreatets(\DateTimeInterface $createts): self { $this->createts = $createts; return $this; } public function getCreateUser(): ?User { return $this->createUser; } public function setCreateUser(?User $createUser): self { $this->createUser = $createUser; return $this; } public function getEditts(): ?\DateTimeInterface { return $this->editts; } public function setEditts(?\DateTimeInterface $editts): self { $this->editts = $editts; return $this; } public function getEditUser(): ?User { return $this->editUser; } public function setEditUser(?User $editUser): self { $this->editUser = $editUser; return $this; }}