package cn.iocoder.yudao.module.bpm.controller.admin.business.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author: jinyd
 * @CreateTime: 2024/8/15  14:33
 * @Description:
 * @Version: 4.0
 */


@Schema(description = "管理后台 - 流程模型配置新增/修改 Request VO")
@Data
public class ModelConfigSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "403")
    private Long id;

    @Schema(description = "流程模型id", example = "21737")
    private String modelId;

    @Schema(description = "流程模型key", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "流程模型key")
    private String modelKey;

    @Schema(description = "开启状态，0-开启，1-关闭，默认开启", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "开启状态，0-开启，1-关闭，默认开启不能为空")
    private Integer status;

}
