<?php


namespace AutoAdmin\Bundle\Content\Entity;

use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;

#[ORM\Table(name: 'static_text_translation')]
#[ORM\UniqueConstraint(name: 'translation_unique', columns: ['locale_id', 'translatable_id'])]
#[ORM\Entity]
class StaticTextTranslation extends AbstractTranslation
{
    #[ORM\Column(name: 'value', type: Types::TEXT, length: 400)]
    protected string $value;

    public function getValue(): string
    {
        return $this->value;
    }

    public function setValue(string $value): void
    {
        $this->value = $value;
    }
}
