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 = "管理后台 - 报表类型配置新增/修改 Request VO")
@Data
public class ConfigReportTypeSaveReqVO {

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

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

    @Schema(description = "键值")
    private String key;

    @Schema(description = "报表模版", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "报表模版不能为空")
    private String template;

    @Schema(description = "所属部门")
    private String systemDepartmentCode;

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

    @Schema(description = "版本", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "版本不能为空")
    private Integer version;

}