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

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 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 DayHarmPowerQ {

    @Column(name = "time")
    @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 Double q;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}
