package com.yhy.module.core.controller.admin.workbench.vo.audit;

import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 审核模式创建 Request VO
 */
@Schema(description = "工作台 - 审核模式创建 Request VO")
@Data
public class AuditModeCreateReqVO {

    @Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "项目ID不能为空")
    private Long projectId;

    @Schema(description = "审核模式名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "第一次送审")
    @NotBlank(message = "审核模式名称不能为空")
    private String name;
}
