package com.njcn.event.pojo.vo;

import com.njcn.event.pojo.dto.EventCount;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * @version 1.0.0
 * @author: chenchao
 * @date: 2022/06/27 15:29
 */
@Data
public class EventDetailVO implements Serializable {

    @ApiModelProperty(name = "id",value = "id")
    private String id;

    @ApiModelProperty(name = "time",value = "特征幅值")
    private String time;

    @ApiModelProperty(name = "name",value = "名称")
    private String name;

    @ApiModelProperty(name = "swellTimes",value = "电压暂升发生次数")
    private Long swellTimes;

    @ApiModelProperty(name = "swellTimes", value = "电压暂升发生监测点集合")
    private List<EventCount.Detail> swellTimesIds;

    @ApiModelProperty(name = "sagTimes",value = "电压暂降发生次数")
    private Long sagTimes;

    @ApiModelProperty(name = "sagTimes", value = "电压暂降发生监测点集合")
    private List<EventCount.Detail> sagTimesIds;

    @ApiModelProperty(name = "interruptTimes",value = "短时中断发生次数")
    private Long interruptTimes;

    @ApiModelProperty(name = "interruptTimesIds", value = "短时中断发生监测点集合")
    private List<EventCount.Detail> interruptTimesIds;

    @ApiModelProperty(name = "rate90",value = "暂态严重度占比小于90%")
    private Double rate90;

    @ApiModelProperty(name = "rate50",value = "暂态严重度占比小于50%")
    private Double rate50;

    @ApiModelProperty(name = "rate20",value = "暂态严重度占比小于20%")
    private Double rate20;

}
