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

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import com.njcn.db.bo.BaseEntity;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 监测指标数据质量问题汇总统计-月表
 * </p>
 *
 * @author wr
 * @since 2023-10-09
 */
@Getter
@Setter
@TableName("r_quality_parameter_m")
@ApiModel(value = "RQualityParameterM对象", description = "监测指标数据质量问题汇总统计-月表")
public class RQualityParameterM {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("单位ID")
    @MppMultiId("org_no")
    private String orgNo;

    @ApiModelProperty("时间")
    @MppMultiId("data_date")
    private LocalDateTime dataDate;

    @ApiModelProperty("监测点数量")
    @TableField("measurement_count")
    private Integer measurementCount;

    @ApiModelProperty("有效接入监测点数量")
    @TableField("effective_access_measurement_count")
    private Integer effectiveAccessMeasurementCount;

    @ApiModelProperty("存在数据质量问题监测点")
    @TableField("problem")
    private Integer problem;

    @ApiModelProperty("监测点-母线-变电站匹配个数")
    @TableField("matching_count")
    private Integer matchingCount;

    @ApiModelProperty("监测点-母线-变电站匹配个率")
    @TableField("matching_rate")
    private Float matchingRate;

    @ApiModelProperty("监测点台账完整率")
    @TableField("monitoring_integrity_rate")
    private Float monitoringIntegrityRate;

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


}
