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;

@Data
@Measurement(name = "data_plt")
public class DataPltPO {

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

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

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

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

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

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

    //自定义字段-闪变总计算次数
    @Column(name = "flicker_all_time")
    private Integer flickerAllTime;

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