<?php

namespace KupShop\I18nBundle\Translations;

class DeliveryTypeDeliveriesTranslation extends BaseTranslation
{
    protected $columns = [
        'name' => ['alias' => 'Název', 'maxlength' => 50],
        'description' => ['alias' => 'Popis dopravy', 'richtext' => true],
        'cart_description' => ['alias' => 'Popis dopravy v košíku', 'richtext' => true],
    ];

    protected $tableName = 'delivery_type_delivery';
    protected $tableAlias = 'dtd';
    protected $nameColumn = 'name';

    public function getForeignKeyColumn(): string
    {
        return 'id_delivery_type_delivery';
    }
}
