<?php

declare(strict_types=1);

namespace KupShop\SalesmanBundle\Admin\lists;

use KupShop\AdminBundle\AdminList\BaseList;

class SalesmanList extends BaseList
{
    protected $tableName = 'salesman';
    protected ?string $tableAlias = 'sm';

    protected $tableDef = [
        'id' => 'id',
        'fields' => [
            'ID' => ['field' => 'id'],
            'name' => ['field' => 'name', 'translate' => true],
            'email' => ['field' => 'email', 'translate' => true],
            'phone' => ['field' => 'phone', 'translate' => true],
        ],
    ];
}

return SalesmanList::class;
