package com.zt.plat.module.qms.business.config.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - LiteFlow规则配置新增/修改 Request VO")
@Data
public class ConfigSimpleFlowRuleSaveReqVO {

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

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "描述", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "描述不能为空")
    private String description;

    @Schema(description = "EL表达式", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "EL表达式不能为空")
    private String data;

    @Schema(description = "流程图")
    private String flow;

    @Schema(description = "路由")
    private String route;

    @Schema(description = "组", example = "芋艿")
    private String groupName;

    @Schema(description = "所属部门", requiredMode = Schema.RequiredMode.REQUIRED)
    private String systemDepartmentCode;

    @Schema(description = "备注")
    private String remark;

}