<?php

namespace KupShop\I18nBundle\Translations;

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

    protected $tableName = 'delivery_type_payment';
    protected $tableAlias = 'dtp';
    protected $nameColumn = 'name';

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