package com.njcn.prepare.harmonic.pojo.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;

import java.time.LocalDate;

/**
 * @author zbj
 * @since 2023-06-30
 */
@Data
@TableName("r_stat_substation_y")
public class RStatSubstationYPO {

    @MppMultiId(value = "data_date")
    private LocalDate dataDate;

    @MppMultiId(value = "substation_id")
    private String substationId;

    @TableField(value = "effective_measurement_average")
    private Float effectiveMeasurementAverage;

    @TableField(value = "effective_measurement_accrued")
    private Integer effectiveMeasurementAccrued;

    @TableField(value = "harmonic_over_day")
    private Float harmonicAverageOverDay;

    @TableField(value = "freq_average_over_day")
    private Float freqAverageOverDay;

    @TableField(value = "v_dev_average_over_day")
    private Float vDevAverageOverDay;

    @TableField(value = "v_average_over_day")
    private Float vAverageOverDay;

    @TableField(value = "i_average_over_day")
    private Float iAverageOverDay;

    @TableField(value = "unbalance_average_over_day")
    private Float unbalanceAverageOverDay;

    @TableField(value = "i_neg_average_over_day")
    private Float iNegAverageOverDay;

    @TableField(value = "flicker_average_over_day")
    private Float flickerAverageOverDay;

    @TableField(value = "inuharm_average_over_day")
    private Float inuharmAverageOverDay;

    @TableField(value = "event_count")
    private Integer eventCount;

    @TableField(value = "event_freq")
    private Float eventFreq;

    @TableField(value = "sag_count")
    private Integer sagCount;

    @TableField(value = "sag_freq")
    private Float sagFreq;

    @TableField(value = "swell_count")
    private Integer swellCount;

    @TableField(value = "swell_freq")
    private Float swellFreq;

    @TableField(value = "interrupt_count")
    private Integer interruptCount;

    @TableField(value = "interrupt_freq")
    private Float interruptFreq;

}
