Group.php 721 B

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