package com.njcn.cloud.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author wr
 * @description
 * @date 2023/12/21 15:33
 */
@Data
public class ReportVO {

    @ApiModelProperty("报告表Guid")
    private String reportIndex;

    @ApiModelProperty("报告名称")
    private String reportName;

    @ApiModelProperty("(关联Pq_Line的Line_Index)")
    private String lineIndex;

    @ApiModelProperty("(关联app_user表User_Index)自定义报表时填值")
    private String userIndex;

    @ApiModelProperty("报告生成时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty("报告内容的起始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @ApiModelProperty("报告内容的结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @ApiModelProperty("系统类型(1-暂态，2-稳态)")
    private Integer systemType;

    @ApiModelProperty("报告类型(1-周报，2-月报，5-自定义)")
    private Integer reportType;

    @ApiModelProperty("报告的资源路径")
    private String reportPath;

    @ApiModelProperty("报告状态(1-成功，2-失败，3-待审核，4-删除)")
    private Integer state;

    @ApiModelProperty("记录报告生成失败次数")
    private Integer errorCount;

    @ApiModelProperty("暂态报告部门guid")
    private String deptsIndex;

    @ApiModelProperty("暂态发生的次数")
    private Integer total;

    @ApiModelProperty("测量间隔（1-10分钟）")
    private Integer tinterval;

    @ApiModelProperty("监测点名称")
    private String name;

    @ApiModelProperty("稳态系统越限统计")
    private List<String> listResult;
}
