package com.njcn.harmonic.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 java.time.Instant;

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2022/4/21 20:20
 */
@Data
@Measurement(name = "limit_target")
@Deprecated
public class LimitTarget {

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

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

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

    @Column(name = "all_time")
    private Integer allTime;

    @Column(name = "flicker_overtime")
    private Integer flickerOverTime;

    @Column(name = "flicker_all_time")
    private Integer flickerAllTime;

    @Column(name = "freq_dev_overtime")
    private Integer freqDevOverTime;

    @Column(name = "voltage_dev_overtime")
    private Integer voltageDevOverTime;

    @Column(name = "ubalance_overtime")
    private Integer uBalanceOverTime;

    @Column(name = "uaberrance_overtime")
    private Integer uAberranceOverTime;

    @Column(name = "i_neg_overtime")
    private Integer iNegOverTime;

    @Column(name = "uharm_2_overtime")
    private Integer uHarm2OverTime;

    @Column(name = "uharm_3_overtime")
    private Integer uHarm3OverTime;

    @Column(name = "uharm_4_overtime")
    private Integer uHarm4OverTime;

    @Column(name = "uharm_5_overtime")
    private Integer uHarm5OverTime;

    @Column(name = "uharm_6_overtime")
    private Integer uHarm6OverTime;

    @Column(name = "uharm_7_overtime")
    private Integer uHarm7OverTime;

    @Column(name = "uharm_8_overtime")
    private Integer uHarm8OverTime;

    @Column(name = "uharm_9_overtime")
    private Integer uHarm9OverTime;

    @Column(name = "uharm_10_overtime")
    private Integer uHarm10OverTime;

    @Column(name = "uharm_11_overtime")
    private Integer uHarm11OverTime;

    @Column(name = "uharm_12_overtime")
    private Integer uHarm12OverTime;

    @Column(name = "uharm_13_overtime")
    private Integer uHarm13OverTime;

    @Column(name = "uharm_14_overtime")
    private Integer uHarm14OverTime;

    @Column(name = "uharm_15_overtime")
    private Integer uHarm15OverTime;

    @Column(name = "uharm_16_overtime")
    private Integer uHarm16OverTime;

    @Column(name = "uharm_17_overtime")
    private Integer uHarm17OverTime;

    @Column(name = "uharm_18_overtime")
    private Integer uHarm18OverTime;

    @Column(name = "uharm_19_overtime")
    private Integer uHarm19OverTime;

    @Column(name = "uharm_20_overtime")
    private Integer uHarm20OverTime;

    @Column(name = "uharm_21_overtime")
    private Integer uHarm21OverTime;

    @Column(name = "uharm_22_overtime")
    private Integer uHarm22OverTime;

    @Column(name = "uharm_23_overtime")
    private Integer uHarm23OverTime;

    @Column(name = "uharm_24_overtime")
    private Integer uHarm24OverTime;

    @Column(name = "uharm_25_overtime")
    private Integer uHarm25OverTime;

    @Column(name = "iharm_2_overtime")
    private Integer iHarm2OverTime;

    @Column(name = "iharm_3_overtime")
    private Integer iHarm3OverTime;

    @Column(name = "iharm_4_overtime")
    private Integer iHarm4OverTime;

    @Column(name = "iharm_5_overtime")
    private Integer iHarm5OverTime;

    @Column(name = "iharm_6_overtime")
    private Integer iHarm6OverTime;

    @Column(name = "iharm_7_overtime")
    private Integer iHarm7OverTime;

    @Column(name = "iharm_8_overtime")
    private Integer iHarm8OverTime;

    @Column(name = "iharm_9_overtime")
    private Integer iHarm9OverTime;

    @Column(name = "iharm_10_overtime")
    private Integer iHarm10OverTime;

    @Column(name = "iharm_11_overtime")
    private Integer iHarm11OverTime;

    @Column(name = "iharm_12_overtime")
    private Integer iHarm12OverTime;

    @Column(name = "iharm_13_overtime")
    private Integer iHarm13OverTime;

    @Column(name = "iharm_14_overtime")
    private Integer iHarm14OverTime;

    @Column(name = "iharm_15_overtime")
    private Integer iHarm15OverTime;

    @Column(name = "iharm_16_overtime")
    private Integer iHarm16OverTime;

    @Column(name = "iharm_17_overtime")
    private Integer iHarm17OverTime;

    @Column(name = "iharm_18_overtime")
    private Integer iHarm18OverTime;

    @Column(name = "iharm_19_overtime")
    private Integer iHarm19OverTime;

    @Column(name = "iharm_20_overtime")
    private Integer iHarm20OverTime;

    @Column(name = "iharm_21_overtime")
    private Integer iHarm21OverTime;

    @Column(name = "iharm_22_overtime")
    private Integer iHarm22OverTime;

    @Column(name = "iharm_23_overtime")
    private Integer iHarm23OverTime;

    @Column(name = "iharm_24_overtime")
    private Integer iHarm24OverTime;

    @Column(name = "iharm_25_overtime")
    private Integer iHarm25OverTime;

    @Column(name = "inuharm_1_overtime")
    private Integer inuHarm1OverTime;

    @Column(name = "inuharm_2_overtime")
    private Integer inuHarm2OverTime;

    @Column(name = "inuharm_3_overtime")
    private Integer inuHarm3OverTime;

    @Column(name = "inuharm_4_overtime")
    private Integer inuHarm4OverTime;

    @Column(name = "inuharm_5_overtime")
    private Integer inuHarm5OverTime;

    @Column(name = "inuharm_6_overtime")
    private Integer inuHarm6OverTime;

    @Column(name = "inuharm_7_overtime")
    private Integer inuHarm7OverTime;

    @Column(name = "inuharm_8_overtime")
    private Integer inuHarm8OverTime;

    @Column(name = "inuharm_9_overtime")
    private Integer inuHarm9OverTime;

    @Column(name = "inuharm_10_overtime")
    private Integer inuHarm10OverTime;

    @Column(name = "inuharm_11_overtime")
    private Integer inuHarm11OverTime;

    @Column(name = "inuharm_12_overtime")
    private Integer inuHarm12OverTime;

    @Column(name = "inuharm_13_overtime")
    private Integer inuHarm13OverTime;

    @Column(name = "inuharm_14_overtime")
    private Integer inuHarm14OverTime;

    @Column(name = "inuharm_15_overtime")
    private Integer inuHarm15OverTime;

    @Column(name = "inuharm_16_overtime")
    private Integer inuHarm16OverTime;

    /**
     * 别名字段
     * 谐波电压含有率其他次
     */
    @Column(name = "u_other_times")
    private Integer uOtherTimes;

    /**
     * 别名字段
     * 谐波电流含量其他词
     */
    @Column(name = "i_other_times")
    private Integer iOtherTimes;

    /**
     * 别名字段
     */
    @Column(name = "uharm_all_overtime")
    private Integer uHarmAllOverTime;

    /**
     * 别名字段
     */
    @Column(name = "iharm_all_overtime")
    private Integer iHarmAllOverTime;

    /**
     * 别名字段
     */
    @Column(name = "inuharm_all_overtime")
    private Integer inuharmAllOverTime;
}
