package org.stm.problem.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
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 org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 问题整改
 * @Date:  2025-08-01
 * @Version: V1.0
 */
@Data
@TableName("st_problem_check")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="st_problem_check", description="问题整改")
public class StProblemCheck implements Serializable {
    private static final long serialVersionUID = 1L;

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

    /**编号*/
    @Excel(name = "编号", width = 15)
    @ApiModelProperty(value = "编号")
    private java.lang.String problemNo;

    /**类别*/
    @Excel(name = "类别", width = 15)
    @ApiModelProperty(value = "类别")
    private java.lang.String problemItem;

    /**问题描述*/
    @Excel(name = "问题描述", width = 15)
    @ApiModelProperty(value = "问题描述")
    private java.lang.String problemDes;

    /**问题来源*/
    @Excel(name = "问题来源", width = 15)
    @ApiModelProperty(value = "问题来源")
    private java.lang.String problemSource;

    /**严重程度;0001 不严重 0002 一般 0003 严重 0004 非常严重*/
    @Excel(name = "严重程度", width = 15, dicCode = "severity")
    @Dict(dicCode = "severity")
    @ApiModelProperty(value = "严重程度;0001 不严重 0002 一般 0003 严重 0004 非常严重")
    private java.lang.String severity;


    /**问题发现时间*/
    @Excel(name = "整改结束时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "整改结束时间")
    private java.util.Date findingTime;

    /**问题发现人*/
    @Excel(name = "问题发现人", width = 15)
    @ApiModelProperty(value = "问题发现人")
    private java.lang.String findUserId;

    /**领域*/
    @Excel(name = "领域", width = 15, dicCode = "rate_domain")
    @Dict(dicCode = "rate_domain")
    @ApiModelProperty(value = "领域")
    private java.lang.String domain;

    /**负责部门*/
    @Excel(name = "负责部门", width = 15)
    @ApiModelProperty(value = "负责部门")
    private java.lang.String headDepCode;

    /**负责人*/
    @ApiModelProperty(value = "负责人")
    private java.lang.String headUserId;

    /**是否整改*/
    @Excel(name = "是否整改", width = 15, dicCode = "yn")
    @Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否整改")
    private java.lang.String isRectified;

    /**整改状态*/
    @Excel(name = "整改状态", width = 15)
    @ApiModelProperty(value = "整改状态")
    private java.lang.String rectifyStatus;

    /**整改计划*/
    @Excel(name = "整改计划", width = 15)
    @ApiModelProperty(value = "整改计划")
    private java.lang.String rectifyPlan;

    /**成因分析*/
    @ApiModelProperty(value = "成因分析")
    private java.lang.String causeAnalysis;

    /**计划开始时间*/
    @Excel(name = "计划开始时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "计划开始时间")
    private java.util.Date planStartDate;

    /**计划结束时间*/
    @Excel(name = "计划结束时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "计划结束时间")
    private java.util.Date planEndDate;

    /**执行部门*/
    @Excel(name = "执行部门", width = 15)
    @ApiModelProperty(value = "执行部门")
    private java.lang.String execDepCode;

    /**执行人*/
    @ApiModelProperty(value = "执行人")
    private java.lang.String execUserId;

    /**整改开始时间*/
    @Excel(name = "整改开始时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "整改开始时间")
    private java.util.Date execStartDate;

    /**整改结束时间*/
    @Excel(name = "整改结束时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "整改结束时间")
    private java.util.Date execEndDate;

    /**整改落实情况*/
    @Excel(name = "整改落实情况", width = 15)
    @ApiModelProperty(value = "整改落实情况")
    private java.lang.String execRemark;

    /**审核意见*/
    @ApiModelProperty(value = "审核意见")
    private java.lang.String reviewComment;

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

    /**创建时间*/
    @Excel(name = "创建时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createdTime;

    /**更新人*/
    @Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
    private java.lang.String updatedUser;

    /**更新时间*/
    @Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updatedTime;

    @Excel(name = "风险等级", width = 15, dicCode = "risk_level")
    @Dict(dicCode = "risk_level")
    private java.lang.Integer riskLevel;

    /**流程状态*/
    private String bpmStatus;

    /**部署ID*/
    private java.lang.String deployId;
}