<?php

use KupShop\AdminBundle\AdminList\BaseList;

class ParameterGroupsList extends BaseList
{
    use AdminListSortable;

    protected $tableDef = [
        'id' => 'id',
        'fields' => [
            'Název' => ['field' => 'name'],
        ],
    ];

    public function getQuery()
    {
        $qb = sqlQueryBuilder()->select('*')
            ->from('parameter_groups');

        return $qb;
    }
}

return ParameterGroupsList::class;
