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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDate;
import java.util.Date;

import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;

/**
 * 
 * Description:
 * Date: 2023/6/6  9:10【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@TableName(value = "r_stat_harmonic_voltage_d")
public class RStatHarmonicVoltageDPO {
    /**
     * 单位ID
     */
    @MppMultiId(value = "org_no")
    private String orgNo;

    /**
     * 生成数据的时间,每月统计一次
     */
    @MppMultiId(value = "data_date")
    private LocalDate dataDate;

    /**
     * 监测对象类型ID
     */
    @MppMultiId(value = "measurement_type_class")
    private String measurementTypeClass;

    /**
     * 稳态指标类型Id，字典表ID
     */
    @MppMultiId(value = "harmonic_type")
    private String harmonicType;

    /**
     * 电压等级Id，字典表ID
     */
    @MppMultiId(value = "voltage_type")
    private String voltageType;

    /**
     * 数据类型,字典表（01：主网测点  02：配网测点）
     */
    @MppMultiId(value = "data_type")
    private String dataType;

    /**
     * 超标监测点数
     */
    @TableField(value = "over_limit_measurement_average")
    private Integer overLimitMeasurementAverage;

    /**
     * 超标监测点数占比
     */
    @TableField(value = "over_limit_measurement_ratio_average")
    private Double overLimitMeasurementRatioAverage;
}