<?php

use KupShop\AdminBundle\AdminList\BaseList;

class ProductsUnitsList extends BaseList
{
    protected $tableName = 'products_units';
    protected ?string $tableAlias = 'pu';

    protected $tableDef = [
        'id' => 'id',
        'fields' => [
            'ID' => ['field' => 'id'],
            'Zkratka' => ['field' => 'short_name'],
            'Zkratka v administraci' => ['field' => 'short_name_admin'],
            'Dlouhý název' => ['field' => 'long_name'],
            'Přepočet ceny na' => ['field' => 'recalculate_to'],
        ],
    ];
}
