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_s")
public class InfluxDBDayHarmPowerS {

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

    @Column(name = "s_1")
    private Float s1;

    @Column(name = "s_2")
    private Float s2;

    @Column(name = "s_3")
    private Float s3;

    @Column(name = "s_4")
    private Float s4;

    @Column(name = "s_5")
    private Float s5;

    @Column(name = "s_6")
    private Float s6;

    @Column(name = "s_7")
    private Float s7;

    @Column(name = "s_8")
    private Float s8;

    @Column(name = "s_9")
    private Float s9;

    @Column(name = "s_10")
    private Float s10;

    @Column(name = "s_11")
    private Float s11;

    @Column(name = "s_12")
    private Float s12;

    @Column(name = "s_13")
    private Float s13;

    @Column(name = "s_14")
    private Float s14;

    @Column(name = "s_15")
    private Float s15;

    @Column(name = "s_16")
    private Float s16;

    @Column(name = "s_17")
    private Float s17;

    @Column(name = "s_18")
    private Float s18;

    @Column(name = "s_19")
    private Float s19;

    @Column(name = "s_20")
    private Float s20;

    @Column(name = "s_21")
    private Float s21;

    @Column(name = "s_22")
    private Float s22;

    @Column(name = "s_23")
    private Float s23;

    @Column(name = "s_24")
    private Float s24;

    @Column(name = "s_25")
    private Float s25;

    @Column(name = "s_26")
    private Float s26;

    @Column(name = "s_27")
    private Float s27;

    @Column(name = "s_28")
    private Float s28;

    @Column(name = "s_29")
    private Float s29;

    @Column(name = "s_30")
    private Float s30;

    @Column(name = "s_31")
    private Float s31;

    @Column(name = "s_32")
    private Float s32;

    @Column(name = "s_33")
    private Float s33;

    @Column(name = "s_34")
    private Float s34;

    @Column(name = "s_35")
    private Float s35;

    @Column(name = "s_36")
    private Float s36;

    @Column(name = "s_37")
    private Float s37;

    @Column(name = "s_38")
    private Float s38;

    @Column(name = "s_39")
    private Float s39;

    @Column(name = "s_40")
    private Float s40;

    @Column(name = "s_41")
    private Float s41;

    @Column(name = "s_42")
    private Float s42;

    @Column(name = "s_43")
    private Float s43;

    @Column(name = "s_44")
    private Float s44;

    @Column(name = "s_45")
    private Float s45;

    @Column(name = "s_46")
    private Float s46;

    @Column(name = "s_47")
    private Float s47;

    @Column(name = "s_48")
    private Float s48;

    @Column(name = "s_49")
    private Float s49;

    @Column(name = "s_50")
    private Float s50;

}
