package com.njcn.influx.pojo.po.cs;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.njcn.common.utils.serializer.InstantDateSerializer;
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/4/7 10:00
 */
@Data
@Measurement(name = "evt_data")
@Deprecated
public class EntData {

    @Column(name = "time")
    @JsonSerialize(using = InstantDateSerializer.class)
    private Instant time;

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

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

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

    @Column(name = "evt_vva")
    private Double evtVva;

    @Column(name = "evt_vvadepth")
    private Double evtVvadepth;

    @Column(name = "evt_vvaphase")
    private String evtVvaphase;

    @Column(name = "evt_vvatm")
    private Double evtVvatm;

}
