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
 */
@Data
@Measurement(name = "day_harmphasic_i")
public class InfluxDBDayHarmPhasicI {

    @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 = "i_1")
    private Float i1;

    @Column(name = "i_2")
    private Float i2;

    @Column(name = "i_3")
    private Float i3;

    @Column(name = "i_4")
    private Float i4;

    @Column(name = "i_5")
    private Float i5;

    @Column(name = "i_6")
    private Float i6;

    @Column(name = "i_7")
    private Float i7;

    @Column(name = "i_8")
    private Float i8;

    @Column(name = "i_9")
    private Float i9;

    @Column(name = "i_10")
    private Float i10;

    @Column(name = "i_11")
    private Float i11;

    @Column(name = "i_12")
    private Float i12;

    @Column(name = "i_13")
    private Float i13;

    @Column(name = "i_14")
    private Float i14;

    @Column(name = "i_15")
    private Float i15;

    @Column(name = "i_16")
    private Float i16;

    @Column(name = "i_17")
    private Float i17;

    @Column(name = "i_18")
    private Float i18;

    @Column(name = "i_19")
    private Float i19;

    @Column(name = "i_20")
    private Float i20;

    @Column(name = "i_21")
    private Float i21;

    @Column(name = "i_22")
    private Float i22;

    @Column(name = "i_23")
    private Float i23;

    @Column(name = "i_24")
    private Float i24;

    @Column(name = "i_25")
    private Float i25;

    @Column(name = "i_26")
    private Float i26;

    @Column(name = "i_27")
    private Float i27;

    @Column(name = "i_28")
    private Float i28;

    @Column(name = "i_29")
    private Float i29;

    @Column(name = "i_30")
    private Float i30;

    @Column(name = "i_31")
    private Float i31;

    @Column(name = "i_32")
    private Float i32;

    @Column(name = "i_33")
    private Float i33;

    @Column(name = "i_34")
    private Float i34;

    @Column(name = "i_35")
    private Float i35;

    @Column(name = "i_36")
    private Float i36;

    @Column(name = "i_37")
    private Float i37;

    @Column(name = "i_38")
    private Float i38;

    @Column(name = "i_39")
    private Float i39;

    @Column(name = "i_40")
    private Float i40;

    @Column(name = "i_41")
    private Float i41;

    @Column(name = "i_42")
    private Float i42;

    @Column(name = "i_43")
    private Float i43;

    @Column(name = "i_44")
    private Float i44;

    @Column(name = "i_45")
    private Float i45;

    @Column(name = "i_46")
    private Float i46;

    @Column(name = "i_47")
    private Float i47;

    @Column(name = "i_48")
    private Float i48;

    @Column(name = "i_49")
    private Float i49;

    @Column(name = "i_50")
    private Float i50;

}
