package com.njcn.harmonic.pojo.po;

import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;

import java.time.Instant;

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2022/5/7 15:27
 */
@Data
@Measurement(name = "pqs_eventdetail")
@Deprecated
public class EventDetail {

    @Column(name = "time")
    private Instant time;

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

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

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

    @Column(name = "dp_time")
    private Double dpTime;

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

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

    @Column(name = "event_reason")
    private String eventReason;

    @Column(name = "event_type")
    private String eventType;

    @Column(name = "event_value")
    private Double eventValue;

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

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

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

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

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

    @Column(name = "id")
    private String id;

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

    @Column(name = "persist_time")
    private Double persistTime;

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

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

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

    @Column(name = "wave_type")
    private Integer waveType;
}
