Deal.php 730 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace app\bug\model;
  3. class Deal extends Base
  4. {
  5. //设置字段信息
  6. protected $schema = [
  7. 'id' =>'int',//
  8. 'bugNo' =>'varchar',//编号
  9. 'deal_name' =>'varchar',//处理人
  10. 'deal_id' =>'int',//处理人id
  11. 'action_name' =>'varchar',//操作人
  12. 'action_id' =>'int',//操作人id
  13. 'level' =>'int',//优先级
  14. 'type' =>'varchar',//问题类型
  15. 'status' =>'int',//处理状态
  16. 'is_del' =>'int',//是否删除
  17. 'addtime' =>'datetime',//
  18. 'updatetime' =>'datetime',//
  19. ];
  20. protected $updateTime='updatetime';
  21. protected $createTime='addtime';
  22. }