ActionProcess.php 975 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace app\admin\model;
  3. use think\Model;
  4. class ActionProcess extends Model
  5. {
  6. protected $name = 'action_process';
  7. protected $pk = 'id';
  8. protected $autoWriteTimestamp = false;
  9. protected $hidden = ['order_type', 'order_name', 'pid', 'roleid', 'uid', 'uname', 'weight'];
  10. public static $action_type_start = 1;//节点类型,1开始节点
  11. public static $action_type_process = 2;//节点类型,2过程节点
  12. public static $action_type_interrupt = 3;//节点类型,3中断节点
  13. public static $action_type_end = 4;//节点类型,4结束节点
  14. public static $operation_type_approval = 1;//操作类型:1审批节点
  15. public static $operation_type_system = 2;//操作类型:2系统节点
  16. public static $status_normal = 1;//状态,1启用
  17. public static $status_disable = 0;//状态,0禁用
  18. public static $is_del_normal = 0;//是否删除,0正常
  19. public static $is_deleted = 1;//是否删除,1删除
  20. }