src/Entity/BoardTranslation.php line 10
<?php
namespace App\Entity;
use Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface;
use Knp\DoctrineBehaviors\Model\Translatable\TranslationTrait;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
class BoardTranslation implements TranslationInterface
{
use TranslationTrait;
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $detail = null;
#[ORM\Column(length: 500, nullable: true)]
private ?string $title = null;
#[ORM\Column(length: 500, nullable: true)]
private ?string $position = null;
/**
* @return mixed
*/
public function getId()
{
return $this->id;
}
/**
* @param mixed $id
*/
public function setId($id): void
{
$this->id = $id;
}
/**
* @return string|null
*/
public function getDetail(): ?string
{
return $this->detail;
}
/**
* @param string|null $detail
*/
public function setDetail(?string $detail): void
{
$this->detail = $detail;
}
/**
* @return string|null
*/
public function getTitle(): ?string
{
return $this->title;
}
/**
* @param string|null $title
*/
public function setTitle(?string $title): void
{
$this->title = $title;
}
/**
* @return string|null
*/
public function getPosition(): ?string
{
return $this->position;
}
/**
* @param string|null $position
*/
public function setPosition(?string $position): void
{
$this->position = $position;
}
}