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

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

class AdminRecipeListController extends Abstract\AdminListController 
{
    protected $model_сlass_name = "Lycoreco\Apps\Recipes\Models\RecipeModel";
    protected $table_fields = array(
        'Title' => 'field_title',
        'Price' => 'get_price()',
        'Status	' => 'get_status()',
        'Creaated at' => 'field_created_at',
    );
    protected $single_router_name = 'admin:recipe';
    protected $create_router_name = 'admin:recipe-new';
    protected $verbose_name = "recipe";
    protected $verbose_name_multiply = "recipes";
}