<?php

namespace KupShop\ReturnsBundle\Translations;

use KupShop\I18nBundle\Translations\BaseTranslation;

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

    protected $tableName = 'return_delivery';

    protected $tableAlias = 'rd';

    protected $nameColumn = 'name';

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