'require', 'flow_type_id' => 'require', 'flow_id' => 'require', 'content_id' => 'require', 'content_model' => 'require', 'create_user' => 'require', ]; /** * 参数描述 * @var string[] */ protected $field = [ 'id' => 'id', 'flow_type_id' => '审批类型id', 'flow_id' => '审批流程id', 'content_id' => '提交内容id', 'content_model' => '提交内容数据模型', 'create_user' => '创建人', ]; /** * @notes 添加场景 * @return FlowApproveValidate * @author likeadmin * @date 2024/02/01 11:26 */ public function sceneAdd() { return $this->only(['flow_type_id','flow_id','content_id','content_model','create_user']); } /** * @notes 编辑场景 * @return FlowApproveValidate * @author likeadmin * @date 2024/02/01 11:26 */ public function sceneEdit() { return $this->only(['id','flow_type_id','flow_id','content_id','content_model','create_user']); } /** * @notes 删除场景 * @return FlowApproveValidate * @author likeadmin * @date 2024/02/01 11:26 */ public function sceneDelete() { return $this->only(['id']); } /** * @notes 详情场景 * @return FlowApproveValidate * @author likeadmin * @date 2024/02/01 11:26 */ public function sceneDetail() { return $this->only(['id']); } }