<?php

declare(strict_types=1);

namespace KupShop\CatalogBundle\Admin\lists;

use KupShop\AdminBundle\AdminList\BaseList;

class ArticlesRelatedTypesList extends BaseList
{
    protected $tableName = 'articles_related_types';
    protected ?string $tableAlias = 'art';

    protected $tableDef = [
        'id' => 'id',
        'fields' => [
            'ID' => ['field' => 'id', 'fieldType' => self::TYPE_INT, 'size' => 0.1],
            'name' => ['field' => 'name', 'translate' => true, 'fieldType' => self::TYPE_STRING],
        ],
    ];
}

return ArticlesRelatedTypesList::class;
