package org.jeecg.modules.device.entity;

import java.io.Serializable;
import java.util.Date;
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 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
 * @Author: jeecg-boot
 * @Date:   2024-08-02
 * @Version: V1.0
 */
@Data
@TableName("bu_risk_item")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bu_risk_item对象", description="bu_risk_item")
public class BuRiskItem implements Serializable {
    private static final long serialVersionUID = 1L;

	/**编号*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "编号")
    private String id;
	/**风险名称*/
	@Excel(name = "风险名称", width = 15)
    @ApiModelProperty(value = "风险名称")
    private String riskName;
	/**传感器类名*/
	@Excel(name = "传感器类名", width = 15)
    @ApiModelProperty(value = "传感器类名")
    private String sensorType;
	/**风险说明*/
	@Excel(name = "风险说明", width = 15)
    @ApiModelProperty(value = "风险说明")
    private String riskExplain;
	/**风险危害*/
	@Excel(name = "风险危害", width = 15)
    @ApiModelProperty(value = "风险危害")
    private String riskHarm;
	/**处理建议*/
	@Excel(name = "处理建议", width = 15)
    @ApiModelProperty(value = "处理建议")
    private String dealAdvice;
	/**算法名*/
	@Excel(name = "算法名", width = 15)
    @ApiModelProperty(value = "算法名")
    private String methodName;
	/**影响字段*/
	@Excel(name = "影响字段", width = 15)
    @ApiModelProperty(value = "影响字段")
    private String affectsFields;
    /**极限值个数*/
    @Excel(name = "极限值个数", width = 15)
    @ApiModelProperty(value = "极限值个数")
    private Integer amount;
	/**创建人*/
    @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 sensorTypeName;
}
