package com.njcn.event.pojo.vo;

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

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 *获取事件报告
 * @author zbj
 * @date 2022/8/1
 */

@Data
public class WaveTypeVO{
    @ApiModelProperty(name = "lineName", value = "监测点名称")
    private String lineName;

    @ApiModelProperty(name = "subId", value = "变电站id")
    private String subId;

    @ApiModelProperty(name = "subName", value = "变电站名称")
    private String subName;

    @ApiModelProperty(name = "gdId", value = "供电公司id")
    private String gdId;

    @ApiModelProperty(name = "gdName", value = "供电公司名称")
    private String gdName;

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

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

    @ApiModelProperty(name = "voltageScale", value = "监测点电压等级")
    private String voltageScale;

    @ApiModelProperty(name = "noDealCount", value = "未处理暂降事件")
    private Integer noDealCount;

    @ApiModelProperty(name = "ct1", value = "ct1")
    private Integer ct1;

    @ApiModelProperty(name = "ct2", value = "ct2")
    private Integer ct2;

    @ApiModelProperty(name = "pt1", value = "pt1")
    private Integer pt1;

    @ApiModelProperty(name = "pt2", value = "pt2")
    private Integer pt2;

    @ApiModelProperty(name = "runFlag", value = "运行状态")
    private Integer runFlag;

    @ApiModelProperty(name = "comFlag", value = "通讯状态")
    private Integer comFlag;

    @ApiModelProperty(name = "ip", value = "装置ip")
    private String ip;

    @ApiModelProperty(name = "lat", value = "维度")
    private BigDecimal lat;

    @ApiModelProperty(name = "lng", value = "经度")
    private BigDecimal lng;

    @ApiModelProperty(name = "manufacturer", value = "供应商名称")
    private String manufacturer;

    @ApiModelProperty(name = "loadType", value = "干扰源类型")
    private String loadType;

    @ApiModelProperty(value = "暂时事件ID")
    private String eventId;

    @Column(name = "line_id")
    private String lineId;

    @Column(name = "time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS")
    private LocalDateTime startTime;

    @Column(name = "event_describe")
    private String eventDescribe;

    @Column(name = "wave_type")
    @ApiModelProperty(value = "统计类型")
    private String eventType;

    @ApiModelProperty(value = "持续时间，单位秒")
    private Double duration;

    @ApiModelProperty(value = "特征幅值")
    private Double featureAmplitude;

    @Column(name = "event_reason")
    @ApiModelProperty(value = "暂降原因（Event_Reason）")
    private String advanceReason;

    @Column(name = "event_type")
    @ApiModelProperty(value = "暂降类型（Event_Type）")
    private String advanceType;

    @Column(name = "eventass_index")
    private String eventassIndex;

    @Column(name = "dq_time")
    private Integer dqTime;

    @Column(name = "deal_time")
    private String dealTime;

    @Column(name = "deal_flag")
    private Integer dealFlag;

    @Column(name = "num")
    private Integer num;

    @Column(name = "file_flag")
    private Integer fileFlag;

    @Column(name = "first_time")
    private String firstTime;

    @Column(name = "first_type")
    private String firstType;

    @Column(name = "first_ms")
    private Integer firstMs;

    @Column(name = "wave_name")
    private String waveName;

    @Column(name = "energy")
    private Double energy;

    @Column(name = "severity")
    private Double severity;

    @Column(name = "sagsource")
    private String sagSource;

    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;


}
