<?php

namespace KupShop\ElninoBundle\Translations;

use KupShop\I18nBundle\Translations\BaseTranslation;

class AbraModelsTranslation extends BaseTranslation
{
    protected $columns = [
        'descr' => ['alias' => 'Popis', 'richtext' => true],
        'id_richcontent' => ['alias' => 'RichContent ID'],
    ];

    protected $tableName = 'abra_models';
    protected $nameColumn = 'title';
    protected $tableAlias = 'abm';

    public function getKeyColumn(): string
    {
        return 'id_abra';
    }
}
