<?php
namespace Lycoreco\Apps\Admin\Controllers;

use Lycoreco\Includes\Model\ValidationError;
use Lycoreco\Apps\Recipes\Models\IngredientModel;

class IngredientListController extends Abstract\AdminListController 
{
    protected $model_сlass_name = "Lycoreco\Apps\Recipes\Models\IngredientModel";
    protected $table_fields = array(
        'Name' => 'field_name',
        'Unit' => 'field_unit_name'
    );
    protected $single_router_name = 'admin:ingredient';
    protected $create_router_name = 'admin:ingredient-new';
    protected $verbose_name = "ingredient";
    protected $verbose_name_multiply = "ingredients";
}