diff --git a/OrangeFormsOpen-MybatisFlex/common/common-flow/src/main/java/com/orangeforms/common/flow/dto/FlowEntryDto.java b/OrangeFormsOpen-MybatisFlex/common/common-flow/src/main/java/com/orangeforms/common/flow/dto/FlowEntryDto.java index 817ae003..350c9b2b 100644 --- a/OrangeFormsOpen-MybatisFlex/common/common-flow/src/main/java/com/orangeforms/common/flow/dto/FlowEntryDto.java +++ b/OrangeFormsOpen-MybatisFlex/common/common-flow/src/main/java/com/orangeforms/common/flow/dto/FlowEntryDto.java @@ -5,6 +5,7 @@ import com.orangeforms.common.core.validator.ConstDictRef; import com.orangeforms.common.core.validator.UpdateGroup; import com.orangeforms.common.flow.model.constant.FlowBindFormType; import com.orangeforms.common.flow.model.constant.FlowEntryStatus; +import com.orangeforms.common.flow.model.constant.FlowEntryType; import lombok.Data; import jakarta.validation.constraints.NotBlank; @@ -75,6 +76,14 @@ public class FlowEntryDto { @NotNull(message = "数据验证失败,工作流绑定表单类型不能为空!") private Integer bindFormType; + /** + * 流程类型。 + */ + @Schema(description = "流程类型") + @ConstDictRef(constDictClass = FlowEntryType.class, message = "数据验证失败,工作流绑定表单类型为无效值!") + @NotNull(message = "数据验证失败,流程类型不能为空!") + private Integer flowType; + /** * 在线表单的页面Id。 */