<?php

use KupShop\AdminBundle\AdminList\BaseList;

class DeliveryPriceListsList extends BaseList
{
    protected $tableDef = [
        'id' => 'id',
        'fields' => [
            'Název ceníku' => ['field' => 'name'],
        ],
    ];

    public function getQuery()
    {
        $qb = sqlQueryBuilder()->select('id, name')
            ->from('delivery_pricelists');

        return $qb;
    }
}
