12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php
- namespace app\admin\model;
- use think\Model;
- class ActionProcess extends Model
- {
- protected $table = 'wsm_action_process';
- protected $pk = 'id';
- protected $autoWriteTimestamp = false;
- protected $hidden = ['order_type', 'order_name', 'pid', 'roleid', 'uid', 'uname', 'weight'];
- public static $action_type_start = 1;
- public static $action_type_process = 2;
- public static $action_type_interrupt = 3;
- public static $action_type_end = 4;
- public static $operation_type_approval = 1;
- public static $operation_type_system = 2;
- public static $status_normal = 1;
- public static $status_disable = 0;
- public static $is_del_normal = 0;
- public static $is_deleted = 1;
-
- public function getStatusAttr($val)
- {
- return (string)$val;
- }
- }
|