<?php
namespace App\Entity;
use Knp\DoctrineBehaviors\Contract\Entity\SoftDeletableInterface;
use Knp\DoctrineBehaviors\Model\SoftDeletable\SoftDeletableTrait;
use Knp\DoctrineBehaviors\Contract\Entity\TimestampableInterface;
use Knp\DoctrineBehaviors\Model\Timestampable\TimestampableTrait;
use Knp\DoctrineBehaviors\Contract\Entity\BlameableInterface;
use Knp\DoctrineBehaviors\Model\Blameable\BlameableTrait;
use Knp\DoctrineBehaviors\Model\Translatable\TranslationTrait;
use Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface;
use Doctrine\ORM\Mapping as ORM;
/**
* @Doctrine\ORM\Mapping\Entity
* @Doctrine\ORM\Mapping\Table(name="furniture_type_translation")
*/
class FurnitureTypeTranslation implements TranslationInterface, BlameableInterface, TimestampableInterface, SoftDeletableInterface {
use TranslationTrait;
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue
*/
private ?int $id = null;
use BlameableTrait;
use TimestampableTrait;
use SoftDeletableTrait;
/**
* @Doctrine\ORM\Mapping\Column(type="string", length=255)
*/
protected $name;
/**
* @Doctrine\ORM\Mapping\Column(type="text", nullable=true)
*/
protected $description;
/**
* @Doctrine\ORM\Mapping\Column(type="text", nullable=true)
*/
protected $metaTitle;
/**
* @Doctrine\ORM\Mapping\Column(type="text", nullable=true)
*/
protected $metaDescription;
/**
* @Doctrine\ORM\Mapping\Column(type="text", nullable=true)
*/
protected $metaKeywords;
/**
* @return mixed
*/
public function getCanonical()
{
return $this->canonical;
}
/**
* @param mixed $canonical
*/
public function setCanonical($canonical)
{
$this->canonical = $canonical;
}
/**
* @Doctrine\ORM\Mapping\Column(type="text", nullable=true)
*/
protected $canonical;
/**
* @Doctrine\ORM\Mapping\Column(type="text", nullable=true)
*/
protected $slug;
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setDescription(?string $description): self
{
$this->description = $description;
return $this;
}
public function getMetaTitle(): ?string
{
return $this->metaTitle;
}
public function setMetaTitle(?string $metaTitle): self
{
$this->metaTitle = $metaTitle;
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 getSlug(): ?string
{
return $this->slug;
}
public function setSlug(?string $slug): self
{
$this->slug = $slug;
return $this;
}
public function getId(): ?int
{
return $this->id;
}
}