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

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
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: st_problem
 * @Author: yzh
 * @Date:   2023-03-04
 * @Version: V1.0
 */
@Data
@TableName("st_problem")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)

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

    /**ID*/
    @TableId(type = IdType.ASSIGN_ID)
    
    private java.lang.Integer id;
    /**问题编号*/
    @Excel(name = "控制活动编号", width = 15)
    
    private java.lang.String caNo;
    /**合规编号*/
    @Excel(name = "合规编号", width = 15)
    
    private java.lang.String complianeNo;
    /**问题项*/
    @Excel(name = "问题项", width = 15)
    
    private java.lang.String problemItem;
    /**问题示例*/
    @Excel(name = "问题示例", width = 15)
    
    private java.lang.String problemExample;
    /**审核标志;4 初始状态 3 提交审核 2退回 1审核通过*/
    @Excel(name = "审核标志;4 初始状态 3 提交审核 2退回 1审核通过", width = 15)
    
    private java.lang.String approveFlag;
    /**有效标志;1 有效 0无效*/
    @Excel(name = "有效标志;1 有效 0无效", width = 15)
    
    private java.lang.String valid;
    /**创建人*/
    @Excel(name = "创建人", width = 15)
    
    private java.lang.String createdUser;
    /**创建时间*/
    @Excel(name = "创建时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    
    private java.util.Date createdTime;
    /**更新人*/
    @Excel(name = "更新人", width = 15)
    
    private java.lang.String updatedUser;
    /**更新时间*/
    @Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    
    private java.util.Date updatedTime;

    @Excel(name = "问题等级", width = 15)
    
    private java.lang.String problemLevel;


    @Excel(name = "问题性质", width = 15)
    
    private java.lang.String problemNature;

    @Excel(name = "问题建议", width = 15)
    
    private java.lang.String problemAdvise;

    @Excel(name = "问题分析", width = 15)
    
    private java.lang.String problemAnalysis;

    @Excel(name = "领域", width = 15)
    
    private java.lang.String domain;

    @Excel(name = "风险事件分类", width = 15)
    @Dict(dicCode="eventclassify")
    
    private java.lang.Integer riskEventTp;

}
