'int',// 'work_name' =>'varchar',//岗位名称 'belong' =>'tinyint',//系统归属1采销2结算3数据统计 'level' =>'tinyint',//账号等级 'status' =>'tinyint',//状态 启禁用 'apply_name' =>'varchar',// 'apply_id' =>'int',// 'createTime' =>'datetime',// 'updateTime' =>'datetime',// 'delete_time' =>'datetime',// ]; protected $updateTime='updateTime'; protected $createTime='createTime'; protected $deleteTime = 'delete_time'; public static $blongCn=["","采销系统","结算系统","报表系统"]; public function WorkTemplate(){ return $this->belongsTo(WorkTemplate::class,"id","work_id")->bind(["action","process_action"]); } }