package com.njcn.prepare.harmonic.pojo.influxdb.po;

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

import java.time.Instant;

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 */
@Data
@Measurement(name = "data_flicker")
public class DataFlickerPO {

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

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

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

    @Column(name = "phasic_type")
    private String phaseType;

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

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

    @Column(name = "quality_flag")
    private String qualityFlag;

    @Column(name = "value_type")
    private String valueType;



    //自定义字段
    @Column(name = "count")
    private Integer count;
}
