package org.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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
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)
@ApiModel(value="audit_risk_event对象", description="风险事件")
public class AuditRiskEvent implements Serializable {
    private static final long serialVersionUID = 1L;

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

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

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

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

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

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

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

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

}
