package org.jeecg.modules.stm.metric.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;


import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 指标历史表
 * @Author: jeecg-boot
 * @Date:   2025-07-06
 * @Version: V1.0
 */
@Data
@TableName("metric_monitor_set_history")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)

public class MetricMonitorSetHistory implements Serializable {
    private static final long serialVersionUID = 1L;

    /**id*/
    @TableId(type = IdType.AUTO)
    
    private java.lang.Integer id;

    /**指标名称*/
    @Excel(name = "指标名称", width = 15)
    
    private java.lang.String mtrcName;
    /**指标NO*/
    @Excel(name = "指标NO", width = 15)
    
    private java.lang.String mtrcNo;

    @Excel(name = "最小值", width = 15)
    
    private java.lang.Float stTolVal;

    /**容忍值*/
    @Excel(name = "低风险", width = 15)
    
    private java.lang.Float tolVal;

    @Excel(name = "中风险", width = 15)
    
    private java.lang.Float warnVal;
    /**干预值*/
    @Excel(name = "高风险", width = 15)
    
    private java.lang.Float intvVal;
    /**指标状态*/
    @Excel(name = "指标状态", width = 15)
    
    private java.lang.Integer mtrcSta;
    /**
     * 采集频率
     * 1:天,2:周,3:月,4:季,5:半年,6:年
     */
    @Excel(name = "采集频率", width = 15)
    @Dict(dicCode="colletrate")
    
    private java.lang.Integer collFreq;
    /**
     * 采集方法
     */
    @Excel(name = "采集方法", width = 15)
    
    @Dict(dicCode="colletway")
    private java.lang.Integer collMethod;
    /**
     * 是否统计 1：统计 2：不统计
     */
    @Excel(name = "指标分类", width = 15)
    
    @Dict(dicCode="metrictype")
    private java.lang.Integer mtrcTp;

    /**
     * 1:基本指标
     * 2:计算指标（组合指标）
     */
    @Excel(name = "指标分类2", width = 15)
    
    @Dict(dicCode="mtrcctp")
    private java.lang.Integer mtrcCtp;

    /**
     * 指标来源 0:标准库 1：自定义
     */
    @Excel(name = "指标来源", width = 15)
    
    private java.lang.Integer mtrcSourceTp;

    /**
     * 创建人
     */
    @Excel(name = "创建人", width = 15)
    
    private java.lang.String createdUser;

    /**公式*/
    @Excel(name = "公式", width = 15)
    
    private String formulas;

    /**领域编号*/
    @Excel(name = "领域编号", width = 15)
    
    private String domainNo;

    @Excel(name = "指标计量单位", width = 15)
    
    private String unit;

    /**参数*/
    @Excel(name = "参数", width = 15)
    
    private java.lang.String params;

    @Excel(name = "说明", width = 15)
    
    private java.lang.String des;

    @Excel(name = "指标类别", width = 15)
    
    @Dict(dicCode="mtrc_class")
    private java.lang.Integer mtrcClass;

    @Excel(name = "低风险消息接收人", width = 15)
    
    private java.lang.String noticeReceiveLow;

    @Excel(name = "中风险消息接收人", width = 15)
    
    private java.lang.String noticeReceiveMiddle;

    @Excel(name = "高风险消息接收人", width = 15)
    
    private java.lang.String noticeReceiveHight;

    
    private java.lang.String createBy;

    
    private java.util.Date createTime;


    @TableField(exist = false)
    private String domainName;




}
