package com.njcn.influx.bo.po;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.njcn.influx.utils.InstantDateSerializer;
import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;
import org.influxdb.annotation.TimeColumn;

import java.time.Instant;

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2022/5/12 9:13
 */
@Data
@Measurement(name = "day_harmpower_q")
public class InfluxDBDayHarmPowerQ {

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

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

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

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

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

    @Column(name = "q")
    private Float q;

    @Column(name = "q_1")
    private Float q1;

    @Column(name = "q_2")
    private Float q2;

    @Column(name = "q_3")
    private Float q3;

    @Column(name = "q_4")
    private Float q4;

    @Column(name = "q_5")
    private Float q5;

    @Column(name = "q_6")
    private Float q6;

    @Column(name = "q_7")
    private Float q7;

    @Column(name = "q_8")
    private Float q8;

    @Column(name = "q_9")
    private Float q9;

    @Column(name = "q_10")
    private Float q10;

    @Column(name = "q_11")
    private Float q11;

    @Column(name = "q_12")
    private Float q12;

    @Column(name = "q_13")
    private Float q13;

    @Column(name = "q_14")
    private Float q14;

    @Column(name = "q_15")
    private Float q15;

    @Column(name = "q_16")
    private Float q16;

    @Column(name = "q_17")
    private Float q17;

    @Column(name = "q_18")
    private Float q18;

    @Column(name = "q_19")
    private Float q19;

    @Column(name = "q_20")
    private Float q20;

    @Column(name = "q_21")
    private Float q21;

    @Column(name = "q_22")
    private Float q22;

    @Column(name = "q_23")
    private Float q23;

    @Column(name = "q_24")
    private Float q24;

    @Column(name = "q_25")
    private Float q25;

    @Column(name = "q_26")
    private Float q26;

    @Column(name = "q_27")
    private Float q27;

    @Column(name = "q_28")
    private Float q28;

    @Column(name = "q_29")
    private Float q29;

    @Column(name = "q_30")
    private Float q30;

    @Column(name = "q_31")
    private Float q31;

    @Column(name = "q_32")
    private Float q32;

    @Column(name = "q_33")
    private Float q33;

    @Column(name = "q_34")
    private Float q34;

    @Column(name = "q_35")
    private Float q35;

    @Column(name = "q_36")
    private Float q36;

    @Column(name = "q_37")
    private Float q37;

    @Column(name = "q_38")
    private Float q38;

    @Column(name = "q_39")
    private Float q39;

    @Column(name = "q_40")
    private Float q40;

    @Column(name = "q_41")
    private Float q41;

    @Column(name = "q_42")
    private Float q42;

    @Column(name = "q_43")
    private Float q43;

    @Column(name = "q_44")
    private Float q44;

    @Column(name = "q_45")
    private Float q45;

    @Column(name = "q_46")
    private Float q46;

    @Column(name = "q_47")
    private Float q47;

    @Column(name = "q_48")
    private Float q48;

    @Column(name = "q_49")
    private Float q49;

    @Column(name = "q_50")
    private Float q50;

}
