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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 锐浪报表模版配置 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ConfigReportTemplateRespVO {

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

    @Schema(description = "模版名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("模版名称")
    private String name;

    @Schema(description = "模版Key", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("模版Key")
    private String key;

    @Schema(description = "内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("内容")
    private String content;

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

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

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

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

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

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

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

}