package org.jeecg.modules.stm.audit.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:   2024-08-26
 * @Version: V1.0
 */
@Data
@TableName("audit_risk_event")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
 
public class AuditRiskEvent implements Serializable {
    private static final long serialVersionUID = 1L;

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

	/**风险场景编号*/
	@Excel(name = "风险场景ID", width = 15)
    
    private String scid;

	/**风险事件名称*/
	@Excel(name = "风险事件名称", width = 15)
    
    private String riskEventName;

	/**风险事件描述*/
	@Excel(name = "风险事件描述", width = 15)
    
    private String riskEventDesc;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    
    private Date createTime;

    /**创建人*/
	@Excel(name = "创建人", width = 15)
    
    private String createUser;

    /**文件ID*/
    @Excel(name = "文件ID", width = 15)
    
    private Integer fileId;

    /**分类*/
    @Excel(name = "分类", width = 15)
    
    @Dict(dicCode="eventclassify")
    private Integer riskTp;

    /**标签*/
    @TableField(exist = false)
    private java.lang.String labels;

}
