FacilityType.php 722 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace app\admin\controller;
  3. use app\common\controller\Backend;
  4. /**
  5. * 设施分类
  6. *
  7. */
  8. class FacilityType extends Backend
  9. {
  10. /**
  11. * FacilityType模型对象
  12. * @var \app\admin\model\FacilityType
  13. */
  14. protected $model = null;
  15. protected $defaultSortField = 'weigh,desc';
  16. protected $preExcludeFields = ['id', 'create_time', 'update_time'];
  17. protected $quickSearchField = ['id'];
  18. public function initialize()
  19. {
  20. parent::initialize();
  21. $this->model = new \app\admin\model\FacilityType;
  22. }
  23. /**
  24. * 若需重写查看、编辑、删除等方法,请复制 @see \app\admin\library\traits\Backend 中对应的方法至此进行重写
  25. */
  26. }