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.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Set;

/**
 * @author xy
 */
@Data
public class SendEventVO implements Serializable {

    @ApiModelProperty("部门集合")
    private Set<String> deptList;

    @ApiModelProperty(name = "time",value = "暂降发生时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS")
    private LocalDateTime time;

    @ApiModelProperty(name = "eventValue",value = "特征幅值")
    @Column(name = "event_value")
    private Double eventValue;

    @ApiModelProperty(name = "persistTime",value = "持续时间（ms）")
    @Column(name = "persist_time")
    private Double persistTime;

    @ApiModelProperty(name = "eventType",value = "暂降类型")
    @Column(name = "event_type")
    private String eventType;

    @ApiModelProperty(name = "eventReason",value = "暂降原因")
    @Column(name = "event_reason")
    private String eventReason;

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

    @ApiModelProperty("供电公司")
    private String powerCompany;

    @ApiModelProperty("变电站")
    private String substation;
}
