'require', 'worker_id' => 'require', 'audit_state' => 'require', ]; /** * 参数描述 * @var string[] */ protected $field = [ 'id' => 'id', 'worker_id' => '用户id', 'audit_state' => '审核状态', ]; /** * @notes 添加场景 * @return MasterWorkerInfoValidate * @author likeadmin * @date 2024/10/07 18:58 */ public function sceneAdd() { return $this->only(['worker_id','audit_state']); } /** * @notes 编辑场景 * @return MasterWorkerInfoValidate * @author likeadmin * @date 2024/10/07 18:58 */ public function sceneEdit() { return $this->only(['id','worker_id','audit_state']); } /** * @notes 删除场景 * @return MasterWorkerInfoValidate * @author likeadmin * @date 2024/10/07 18:58 */ public function sceneDelete() { return $this->only(['id']); } /** * @notes 详情场景 * @return MasterWorkerInfoValidate * @author likeadmin * @date 2024/10/07 18:58 */ public function sceneDetail() { return $this->only(['id']); } }