1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?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 static $is_master_yes = 1;
- public static $is_master_no = 0;
-
- public function getStatusAttr($val)
- {
- return (string)$val;
- }
- }
|