package com.njcn.harmonic.pojo.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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 风电站_台区电能质量明细_月表
 * </p>
 *
 * @author wr
 * @since 2022-11-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("r_mp_wp_power_detail_m")
@ApiModel(value="RMpWpPowerDetailM对象", description="风电站_台区电能质量明细_月表")
public class RMpWpPowerDetailM implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "监测点id")
    @TableId(value = "measurement_point_id", type = IdType.ASSIGN_ID)
    private String measurementPointId;

    @ApiModelProperty(value = "统计时间")
    private LocalDate dataDate;

    @ApiModelProperty(value = "监测点标签")
    private String monitorTag;

    @ApiModelProperty(value = "负载率(平均值)")
    private Float loadRateAvg;

    @ApiModelProperty(value = "负载率(95%值)")
    @TableField(value = "load_rate_95")
    private Float loadRate95;

    @ApiModelProperty(value = "负载率(99%值)")
    @TableField(value = "load_rate_99")
    private Float loadRate99;

    @ApiModelProperty(value = "谐波电压超标情况(0:否 1:是)")
    private Integer isV;

    @ApiModelProperty(value = "谐波电流超标情况(0:否 1:是)")
    private Integer isI;

    @ApiModelProperty(value = "电压不平衡度超标情况(0:否 1:是)")
    private Integer isUnbalance;

    @ApiModelProperty(value = "负序电流超标情况(0:否 1:是)")
    private Integer isINeg;

    @ApiModelProperty(value = "谐波电压超标次数")
    private Integer vTimes;

    @ApiModelProperty(value = "谐波电流超标次数")
    private Integer iTimes;

    @ApiModelProperty(value = "总有功功率99值")
    @TableField(value = "total_active_power_99")
    private Float totalActivePower99;

    @ApiModelProperty(value = "总有功功率95值")
    @TableField(value = "total_active_power_95")
    private Float totalActivePower95;

    @ApiModelProperty(value = "总有功功率平均值")
    private Float totalActivePowerAvg;

    @ApiModelProperty(value = "A相有功功率95值")
    @TableField(value = "ap_active_power_95")
    private Float apActivePower95;

    @ApiModelProperty(value = "A相有功功率99值")
    @TableField(value = "ap_active_power_99")
    private Float apActivePower99;

    @ApiModelProperty(value = "A相有功功率平均值")
    private Float apActivePowerAvg;

    @ApiModelProperty(value = "B相有功功率95值")
    @TableField(value = "bp_active_power_95")
    private Float bpActivePower95;

    @ApiModelProperty(value = "B相有功功率99值")
    @TableField(value = "bp_active_power_99")
    private Float bpActivePower99;

    @ApiModelProperty(value = "B相有功功率平均值")
    private Float bpActivePowerAvg;

    @ApiModelProperty(value = "C相有功功率95值")
    @TableField(value = "cp_active_power_99")
    private Float cpActivePower95;

    @ApiModelProperty(value = "C相有功功率99值")
    @TableField(value = "cp_active_power_99")
    private Float cpActivePower99;

    @ApiModelProperty(value = "C相有功功率平均值")
    private Float cpActivePowerAvg;

    @ApiModelProperty(value = "A相基波电压")
    private Float apFundamentalVoltage;

    @ApiModelProperty(value = "B相基波电压")
    private Float bpFundamentalVoltage;

    @ApiModelProperty(value = "C相基波电压")
    private Float cpFundamentalVoltage;

    @ApiModelProperty(value = "负序电压不平衡度")
    private Float negativeSequenceVoltageUnbalance;

    @ApiModelProperty(value = "电网暂降次数")
    private Integer gridDipNum;

    @ApiModelProperty(value = "脱网事件次数")
    private Integer offlineNum;


}
