package com.njcn.product.advance.harmonicUp.pojo.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;


/**
 * 类的介绍：
 *
 */
@Data
@Measurement(name = "data_i_up")
public class DataIUp {

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

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

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

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

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

    //是否是异常指标数据，0否1是
    @Column(name = "abnormal_flag")
    private Integer abnormalFlag;


    @Column(name = "i_1")
    private Double i1;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


}
