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_harmphasic_v")
public class InfluxDBDayHarmPhasicV {

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

    @Column(name = "v_2")
    private Float v2;

    @Column(name = "v_3")
    private Float v3;

    @Column(name = "v_4")
    private Float v4;

    @Column(name = "v_5")
    private Float v5;

    @Column(name = "v_6")
    private Float v6;

    @Column(name = "v_7")
    private Float v7;

    @Column(name = "v_8")
    private Float v8;

    @Column(name = "v_9")
    private Float v9;

    @Column(name = "v_10")
    private Float v10;

    @Column(name = "v_11")
    private Float v11;

    @Column(name = "v_12")
    private Float v12;

    @Column(name = "v_13")
    private Float v13;

    @Column(name = "v_14")
    private Float v14;

    @Column(name = "v_15")
    private Float v15;

    @Column(name = "v_16")
    private Float v16;

    @Column(name = "v_17")
    private Float v17;

    @Column(name = "v_18")
    private Float v18;

    @Column(name = "v_19")
    private Float v19;

    @Column(name = "v_20")
    private Float v20;

    @Column(name = "v_21")
    private Float v21;

    @Column(name = "v_22")
    private Float v22;

    @Column(name = "v_23")
    private Float v23;

    @Column(name = "v_24")
    private Float v24;

    @Column(name = "v_25")
    private Float v25;

    @Column(name = "v_26")
    private Float v26;

    @Column(name = "v_27")
    private Float v27;

    @Column(name = "v_28")
    private Float v28;

    @Column(name = "v_29")
    private Float v29;

    @Column(name = "v_30")
    private Float v30;

    @Column(name = "v_31")
    private Float v31;

    @Column(name = "v_32")
    private Float v32;

    @Column(name = "v_33")
    private Float v33;

    @Column(name = "v_34")
    private Float v34;

    @Column(name = "v_35")
    private Float v35;

    @Column(name = "v_36")
    private Float v36;

    @Column(name = "v_37")
    private Float v37;

    @Column(name = "v_38")
    private Float v38;

    @Column(name = "v_39")
    private Float v39;

    @Column(name = "v_40")
    private Float v40;

    @Column(name = "v_41")
    private Float v41;

    @Column(name = "v_42")
    private Float v42;

    @Column(name = "v_43")
    private Float v43;

    @Column(name = "v_44")
    private Float v44;

    @Column(name = "v_45")
    private Float v45;

    @Column(name = "v_46")
    private Float v46;

    @Column(name = "v_47")
    private Float v47;

    @Column(name = "v_48")
    private Float v48;

    @Column(name = "v_49")
    private Float v49;

    @Column(name = "v_50")
    private Float v50;

}
