Jobs.php 557 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace app\admin\controller\department;
  3. use app\common\controller\Backend;
  4. /**
  5. * 岗位
  6. *
  7. */
  8. class Jobs extends Backend
  9. {
  10. /**
  11. * Jobs模型对象
  12. * @var \app\admin\model\department\Jobs
  13. */
  14. protected $model = null;
  15. protected $quickSearchField = ['name', 'code'];
  16. protected $defaultSortField = 'weigh,desc';
  17. protected $preExcludeFields = ['createtime', 'updatetime'];
  18. public function initialize()
  19. {
  20. parent::initialize();
  21. $this->model = new \app\admin\model\department\Jobs;
  22. }
  23. }