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-19
 */
@Data
@TableName("r_stat_substation_d")
public class RStatSubstationDPO {

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

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

    @TableField(value = "effective_measurement_count")
    private Integer effectiveMeasurementCount;

    @TableField(value = "harmonic_count")
    private Integer harmonicCount;

    @TableField(value = "freq_count")
    private Integer freqCount;

    @TableField(value = "v_dev_count")
    private Integer vDevCount;

    @TableField(value = "v_count")
    private Integer vCount;

    @TableField(value = "i_count")
    private Integer iCount;

    @TableField(value = "unbalance_count")
    private Integer unbalanceCount;

    @TableField(value = "i_neg_count")
    private Integer iNegCount;

    @TableField(value = "flicker_count")
    private Integer flickerCount;

    @TableField(value = "inuharm_count")
    private Integer inuharmCount;

    @TableField(value = "event_measurement_count")
    private Integer eventMeasurementCount;

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

    @TableField(value = "swell_measurement_count")
    private Integer swellMeasurementCount;

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

    @TableField(value = "sag_measurement_count")
    private Integer sagMeasurementCount;

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

    @TableField(value = "interrupt_measurement_count")
    private Integer interruptMeasurementCount;

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

}
