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/8/4  15:48【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@TableName(value = "r_stat_load_type_d")
public class RStatLoadTypeDPO {
    /**
     * 单位ID
     */
    @MppMultiId(value = "org_no")
    private String orgNo;

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

    /**
     * 四类典型干扰源类型(风电、光伏、其他非线性负荷、电铁)，字典ID
     */
    @MppMultiId(value = "load_type")
    private String loadType;

    /**
     * 谐波电压超标点占比
     */
    @TableField(value = "v_ratio")
    private Double vRatio;

    /**
     * 谐波电流超标点占比
     */
    @TableField(value = "i_ratio")
    private Double iRatio;

    /**
     * 三相电压不平衡度超标点占比
     */
    @TableField(value = "unbalance_ratio")
    private Double unbalanceRatio;

    /**
     * 负序电流超标点占比
     */
    @TableField(value = "i_neg_ratio")
    private Double iNegRatio;

    /**
     * 闪变超标点占比
     */
    @TableField(value = "flicker_ratio")
    private Double flickerRatio;
}