<?php

namespace KupShop\I18nBundle\Translations;

use KupShop\I18nBundle\Util\TranslationCustomDataTrait;

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

    protected $columns = [
        'body' => ['alias' => 'Tělo info panelu', 'richtext' => true],
        'active' => ['alias' => 'Zobrazit informační panel', 'select' => ['Y' => 'Aktivní', 'N' => 'Neaktivní', null => 'Nenastavovat']],
    ];

    protected $tableName = 'info_panels';

    protected $tableAlias = 'ip';

    protected $nameColumn = 'name';

    public bool $supportsHideNotTranslated = true;
}
