<?php

namespace app\admin\controller;

use app\common\controller\Backend;

/**
 * 设施分类
 *
 */
class FacilityType extends Backend
{
    /**
     * FacilityType模型对象
     * @var \app\admin\model\FacilityType
     */
    protected $model = null;
    
    protected $defaultSortField = 'weigh,desc';

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

    protected $quickSearchField = ['id'];

    public function initialize()
    {
        parent::initialize();
        $this->model = new \app\admin\model\FacilityType;
    }


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