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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 锐浪报表模版配置分页 Request VO")
@Data
public class ConfigReportTemplatePageReqVO extends PageParam {

    @Schema(description = "模版名称", example = "李四")
    private String name;

    @Schema(description = "模版Key")
    private String key;

    @Schema(description = "内容")
    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 = "所属部门")
    private String systemDepartmentCode;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

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

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

}