package com.zksy.WaterSupply.MonitorAlarm.dto.out;

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

import java.io.Serializable;

/**
 * 供水监测报警统计-出参
 */
@Data
@ApiModel(value = "供水监测报警统计-出参", description = "监测报警首页统计卡片数据")
public class AlarmStatsOutDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "供水设备实时报警数（未处理报警去重设备数）", example = "3")
    private long realtimeAlarmCount;

    @ApiModelProperty(value = "今日报警总数", example = "12")
    private long todayAlarmCount;

    @ApiModelProperty(value = "供水设备总数", example = "120")
    private long totalDeviceCount;

    @ApiModelProperty(value = "异常设备数（存在未处理报警的设备数）", example = "3")
    private long abnormalDeviceCount;

    @ApiModelProperty(value = "设备异常率（百分比，保留两位小数）", example = "2.50")
    private String deviceAbnormalRate;

    @ApiModelProperty(value = "平均响应时间（分钟，今日已处理报警 处理时间-报警时间 均值）", example = "35.20")
    private String avgResponseMinutes;
}
