package com.njcn.harmonic.pojo.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

/**
 *
 * Description:
 * 接口文档访问地址：http://serverIP:port/swagger-ui.html
 * Date: 2022/11/25  10:01【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */

/**
    * 主网运行指标统计-月表,主网监测指标数据质量统计-月表
    */
@Data
@TableName(value = "r_operating_index_d")
@AllArgsConstructor
@NoArgsConstructor
@Deprecated
public class ROperatingIndexDPO {
    /**
     * 单位ID
     */
    @MppMultiId(value = "org_no")
    private String orgNo;

    /**
     * 时间
     */
    @MppMultiId(value = "data_date")
    private LocalDate dataDate;

    /**
     * 在运监测点数
     */
    @TableField(value = "measurement_run_points")
    private Integer measurementRunPoints;

    /**
     * 在线监测点数
     */
    @TableField(value = "transit_measurement_points")
    private Integer transitMeasurementPoints;

    /**
     * 有效接入监测点数量
     */
    @TableField(value = "effective_access_measurement_count")
    private Integer effectiveAccessMeasurementCount;

    /**
     * 监测终端数
     */
    @TableField(value = "online_measurement_points")
    private Integer onlineMeasurementPoints;

    /**
     * 在线终端数
     */
    @TableField(value = "online_measurement_count")
    private Integer onlineMeasurementCount;

    /**
     * 应设点数
     */
    @TableField(value = "should_count")
    private Integer shouldCount;

    /**
     * 应设点覆盖率
     */
    @TableField(value = "should_point_coverage")
    private Double shouldPointCoverage;

    /**
     * 数据完整率
     */
    @TableField(value = "data_integrity_rate")
    private Double dataIntegrityRate;

    /**
     * 数据准确率
     */
    @TableField(value = "data_right_rate")
    private Double dataRightRate;

    /**
     * 指标完整率
     */
    @TableField(value = "index_integrity_rate")
    private Double indexIntegrityRate;

    /**
     * 数据否异常(0:正常 1:异常)
     */
    @TableField(value = "is_unusual")
    private Integer isUnusual;
}
