package com.njcn.cloud.pojo.vo.AdminStatistic;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Description: 数据完整性
 * @Author: wr
 * @Date: 2024/1/8 9:57
 */
@Data
public class Integrity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("开始时间")
    private Date timeStart;

    @ApiModelProperty("结束时间")
    private Date timeEnd;

    @ApiModelProperty("总监测点完整性")
    private Float integrityz;

    @ApiModelProperty("各监测点数据完整性")
    private List<Integrity.DataIntegrity> list;

    @Data
    public static class DataIntegrity implements Serializable {

        private static final long serialVersionUID = 1L;

        @ApiModelProperty("监测点id")
        private String lineIndex;

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

        @ApiModelProperty("数据完整性")
        private Float integrity;
    }
}