<?php

namespace app\admin\controller;

use app\common\controller\Backend;

/**
 * test
 *
 */
class Test extends Backend
{
    /**
     * Test模型对象
     * @var \app\admin\model\Test
     */
    protected $model = null;
    
    protected $defaultSortField = 'weigh,desc';

    protected $preExcludeFields = ['id', 'update_time', 'create_time'];

    protected $quickSearchField = ['id'];

    public function initialize()
    {
        parent::initialize();
        $this->model = new \app\admin\model\Test;
        $this->request->filter('trim,htmlspecialchars');
    }


    /**
     * 若需重写查看、编辑、删除等方法，请复制 @see \app\admin\library\traits\Backend 中对应的方法至此进行重写
     */
}