package com.iailab.module.bpm.controller.admin.definition.vo.model; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import javax.validation.constraints.NotEmpty; @Schema(description = "管理后台 - 流程模型的创建 Request VO") @Data public class BpmModelCreateReqVO { @Schema(description = "流程标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "process_iailab") @NotEmpty(message = "流程标识不能为空") private String key; @Schema(description = "流程名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "平台") @NotEmpty(message = "流程名称不能为空") private String name; @Schema(description = "流程描述", example = "我是描述") private String description; }