<?php

namespace KupShop\LabelsBundle\Translations;

use KupShop\I18nBundle\Translations\BaseTranslation;
use KupShop\I18nBundle\Translations\TranslationCustomDataInterface;
use KupShop\I18nBundle\Util\TranslationCustomDataTrait;

class LabelTranslation extends BaseTranslation implements TranslationCustomDataInterface
{
    use TranslationCustomDataTrait {
        getColumns as getColumnsTrait;
    }

    protected $columns = [
        'name' => ['alias' => 'Název štítku'],
        'short_name' => ['alias' => 'Krátký název štítku'],
        'active' => ['alias' => 'Zobrazovat štítek', 'select' => ['Y' => 'Aktivní', 'N' => 'Neaktivní', null => 'Nenastavovat']],
    ];

    protected $tableName = 'labels';

    protected $tableAlias = 'l';

    protected $nameColumn = 'name';

    public bool $supportsHideNotTranslated = true;
}
