package org.jeecg.modules.device.entity;

import java.io.Serializable;
import java.util.Date;

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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: bu_risk_item_value
 * @Author: jeecg-boot
 * @Date:   2024-08-02
 * @Version: V1.0
 */
@Data
@TableName("bu_risk_item_value")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bu_risk_item_value对象", description="bu_risk_item_value")
public class BuRiskItemValue implements Serializable {
    private static final long serialVersionUID = 1L;

	/**编号*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "编号")
    private String id;
	/**设备id*/
	@Excel(name = "设备id", width = 15)
    @ApiModelProperty(value = "设备id")
    private String deviceId;
	/**风险项id*/
	@Excel(name = "风险项id", width = 15)
    @ApiModelProperty(value = "风险项id")
    private String riskId;
	/**参数*/
	@Excel(name = "单项判断中间值", width = 15)
    @ApiModelProperty(value = "单项判断中间值")
    @TableField(updateStrategy = FieldStrategy.IGNORED, insertStrategy = FieldStrategy.IGNORED)
    private Double multiple;
	/**阈值1*/
	@Excel(name = "下限值", width = 15)
    @ApiModelProperty(value = "下限值")
    @TableField(updateStrategy = FieldStrategy.IGNORED, insertStrategy = FieldStrategy.IGNORED)
    private Double valueOne;
	/**阈值2*/
	@Excel(name = "上限值", width = 15)
    @ApiModelProperty(value = "上限值")
    @TableField(updateStrategy = FieldStrategy.IGNORED, insertStrategy = FieldStrategy.IGNORED)
    private Double valueTwo;
	/**阈值3*/
	@Excel(name = "备用一", width = 15)
    @ApiModelProperty(value = "备用一")
    @TableField(updateStrategy = FieldStrategy.IGNORED, insertStrategy = FieldStrategy.IGNORED)
    private Double valueThree;
	/**阈值4*/
	@Excel(name = "备用二", width = 15)
    @ApiModelProperty(value = "备用二")
    @TableField(updateStrategy = FieldStrategy.IGNORED, insertStrategy = FieldStrategy.IGNORED)
    private Double valueFour;
	/**是否启用（0是,1否）*/
	@Excel(name = "是否启用（0是,1否）", width = 15)
    @ApiModelProperty(value = "是否启用（0是,1否）")
    private String enabled;
    /**风险状态（0异常,1正常）*/
    @Excel(name = "风险状态（0异常,1正常）", width = 15)
    @ApiModelProperty(value = "风险状态（0异常,1正常）")
    private Integer status;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    /**设备名称*/
    @TableField(exist = false)
    private String deviceName;
    /**风险名称*/
    @TableField(exist = false)
    private String riskName;
    /**状态名称*/
    @TableField(exist = false)
    private String statusName;
}
