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_p")
public class InfluxDBDayHarmPowerP {

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

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

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

    @Column(name = "p_1")
    private Float p1;

    @Column(name = "p_2")
    private Float p2;

    @Column(name = "p_3")
    private Float p3;

    @Column(name = "p_4")
    private Float p4;

    @Column(name = "p_5")
    private Float p5;

    @Column(name = "p_6")
    private Float p6;

    @Column(name = "p_7")
    private Float p7;

    @Column(name = "p_8")
    private Float p8;

    @Column(name = "p_9")
    private Float p9;

    @Column(name = "p_10")
    private Float p10;

    @Column(name = "p_11")
    private Float p11;

    @Column(name = "p_12")
    private Float p12;

    @Column(name = "p_13")
    private Float p13;

    @Column(name = "p_14")
    private Float p14;

    @Column(name = "p_15")
    private Float p15;

    @Column(name = "p_16")
    private Float p16;

    @Column(name = "p_17")
    private Float p17;

    @Column(name = "p_18")
    private Float p18;

    @Column(name = "p_19")
    private Float p19;

    @Column(name = "p_20")
    private Float p20;

    @Column(name = "p_21")
    private Float p21;

    @Column(name = "p_22")
    private Float p22;

    @Column(name = "p_23")
    private Float p23;

    @Column(name = "p_24")
    private Float p24;

    @Column(name = "p_25")
    private Float p25;

    @Column(name = "p_26")
    private Float p26;

    @Column(name = "p_27")
    private Float p27;

    @Column(name = "p_28")
    private Float p28;

    @Column(name = "p_29")
    private Float p29;

    @Column(name = "p_30")
    private Float p30;

    @Column(name = "p_31")
    private Float p31;

    @Column(name = "p_32")
    private Float p32;

    @Column(name = "p_33")
    private Float p33;

    @Column(name = "p_34")
    private Float p34;

    @Column(name = "p_35")
    private Float p35;

    @Column(name = "p_36")
    private Float p36;

    @Column(name = "p_37")
    private Float p37;

    @Column(name = "p_38")
    private Float p38;

    @Column(name = "p_39")
    private Float p39;

    @Column(name = "p_40")
    private Float p40;

    @Column(name = "p_41")
    private Float p41;

    @Column(name = "p_42")
    private Float p42;

    @Column(name = "p_43")
    private Float p43;

    @Column(name = "p_44")
    private Float p44;

    @Column(name = "p_45")
    private Float p45;

    @Column(name = "p_46")
    private Float p46;

    @Column(name = "p_47")
    private Float p47;

    @Column(name = "p_48")
    private Float p48;

    @Column(name = "p_49")
    private Float p49;

    @Column(name = "p_50")
    private Float p50;
}
