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 ConfigReportTemplateSaveReqVO {

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

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

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

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

    @Schema(description = "数据接口地址", example = "https://www.iocoder.cn")
    private String dataUrl;

    @Schema(description = "数据")
    private String data;

    @Schema(description = "是否授权,1-是，0否")
    private Integer isAuthority;

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

    @Schema(description = "乐观锁", requiredMode = Schema.RequiredMode.REQUIRED, example = "1790")
    private Integer updateCount;

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

}