审计记录

sk-module-biz/src/main/java/com/skua/modules/ajh/entity/AjhRectificationInfo.java 7.1 KB
张雷 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
package com.skua.modules.ajh.entity;

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 com.fasterxml.jackson.annotation.JsonFormat;
import com.skua.core.aspect.annotation.Dict;
import com.skua.modules.flow.core.entity.FlowEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

/**
 * 隐患检查
 */
@Data
@TableName("ajh_rectification_info")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ajh_rectification_info对象", description="隐患检查")
public class AjhRectificationInfo extends FlowEntity {

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
	private String id;
	/**指令单id*/
	@Excel(name = "指令单id", width = 15)
    @ApiModelProperty(value = "指令单id")
	private String recOrdId;
	/**隐患部位*/
	@Excel(name = "隐患部位 (构筑物id sys_struct_dict#id)", width = 15)
    @ApiModelProperty(value = "隐患部位(构筑物id sys_struct_dict#id)")
	@Dict(dicCode = "id",dictTable="sys_struct_dict",dicText="struct_name")
	private String recOrdBody;
	/**隐患描述*/
	@Excel(name = "隐患描述", width = 15)
    @ApiModelProperty(value = "隐患描述")
	private String recOrdDesc;
	/**隐患描述附件*/
	@Excel(name = "隐患描述附件", width = 15)
    @ApiModelProperty(value = "隐患描述附件")
	private String recOrdDescFile;
50 51 52 53 54
	/**上报部门*/
	@Excel(name = "上报部门", width = 15)
	@ApiModelProperty(value = "上报部门")
	@Dict(dicCode = "rec_depart")
	private String recDepart;
张雷 committed
55 56 57 58
	/**整改建议*/
	@Excel(name = "整改建议", width = 15)
    @ApiModelProperty(value = "整改建议")
	private String recOrdAdvi;
张雷 committed
59 60 61
	/**风险库关联ID*/
	@Excel(name = "风险库关联ID", width = 15)
	@ApiModelProperty(value = "风险库关联ID")
张雷 committed
62
	@Dict(dicCode = "id",dictTable="danger_level_manage",dicText="danger_name")
张雷 committed
63 64 65 66 67 68
	private String dangerId;
	/**验收人*/
	@Excel(name = "验收人", width = 15)
	@ApiModelProperty(value = "验收人")
	@Dict(dicCode = "id",dictTable="sys_user",dicText="realname")
	private String recYsUser;
张雷 committed
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190

	/**整改责任人*/
	@Excel(name = "整改责任人", width = 15)
    @ApiModelProperty(value = "整改责任人")
	@Dict(dicCode = "id",dictTable="sys_user",dicText="realname")
	private String recOrdPerson;
	/**整改确认人*/
	@Excel(name = "整改确认人", width = 15)
	@ApiModelProperty(value = "整改确认人")
	@Dict(dicCode = "id",dictTable="sys_user",dicText="realname")
	private String recOrdUser;
	/**隐患照片*/
	@Excel(name = "隐患照片", width = 15)
    @ApiModelProperty(value = "隐患照片")
	private String recOrdBeforeimg;
	/**整改结果*/
	@Excel(name = "整改结果", width = 15)
    @ApiModelProperty(value = "整改结果")
	private String recOrdResult;
	/**整改完成后照片*/
	@Excel(name = "整改完成后照片", width = 15)
    @ApiModelProperty(value = "整改完成后照片")
	private String recOrdAfterimg;

	/** '隐患分类 (字典 rectification_info_classify) */
	@Excel(name = "'隐患分类 (字典 rectification_info_classify)", width = 15)
	@ApiModelProperty(value = "'隐患分类 (字典 rectification_info_classify)")
	@Dict(dicCode = "rectification_info_classify")
	private String recOrdClassify;
	/** '隐患上报人 */
	@Excel(name = "'隐患上报人", width = 15)
	@ApiModelProperty(value = "'隐患上报人")
	@Dict(dicCode = "id",dictTable="sys_user",dicText="realname")
	private String recOrdReportUser;
	/** '隐患上报时间 */
	@Excel(name = "'隐患上报时间", width = 15)
	@ApiModelProperty(value = "'隐患上报时间")
	private String recOrdReportDate;
	/** '整改开始时间 */
	@Excel(name = "'整改开始时间", width = 15)
	@ApiModelProperty(value = "'整改开始时间")
	private String recOrdEndDate;
	/** '整改结束时间 */
	@Excel(name = "'整改结束时间", width = 15)
	@ApiModelProperty(value = "'整改结束时间")
	private String recOrdStartDate;
	/** '风险等级 (字典 rectification_info_level) */
	@Excel(name = "'风险等级 (字典 rectification_info_level)", width = 15)
	@ApiModelProperty(value = "'风险等级 (字典 rectification_info_level)")
	@Dict(dicCode = "rectification_info_level")
	private String recOrdLevel;
	/** '整改完成时间 */
	@Excel(name = "'整改完成时间", width = 15)
	@ApiModelProperty(value = "'整改完成时间")
	@Deprecated // 和 整改结束时间 字段冲突
	private String recOrdFinishDate;

	/**处理结果(字典  rectification_info_handleresult)*/
	@Excel(name = "处理结果(字典  rectification_info_handleresult)", width = 15)
	@ApiModelProperty(value = "处理结果(字典  rectification_info_handleresult)")
	@Dict(dicCode = "rectification_info_handleresult")
	private String handleResult;

	/**流程定义id*/
	@Excel(name = "流程定义id", width = 15)
	@ApiModelProperty(value = "流程定义id")
	private String processDefinitionId;
	/**流程实例id*/
	@Excel(name = "流程实例id", width = 15)
	@ApiModelProperty(value = "流程实例id")
	private String processInstanceId;

	/**状态*/
	@Excel(name = "状态", width = 15)
	@ApiModelProperty(value = "状态")
	@Dict(dicCode = "recordStatus")
	private Integer recOrdStatus;
	/**所属厂区*/
	@Excel(name = "所属厂区", width = 15)
	@Dict(dictTable = "sys_depart", dicCode="id", dicText = "depart_name")
    @ApiModelProperty(value = "所属厂区")
	private String departId;
	/**创建人员*/
	@Excel(name = "创建人员", width = 15)
    @ApiModelProperty(value = "创建人员")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, 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")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**修改人员*/
	@Excel(name = "修改人员", width = 15)
    @ApiModelProperty(value = "修改人员")
	private String updateBy;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, 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")
    @ApiModelProperty(value = "修改时间")
	private Date updateTime;
	/**修改部门*/
	@Excel(name = "修改部门", width = 15)
    @ApiModelProperty(value = "修改部门")
	private String createDept;
	/**修改集团*/
	@Excel(name = "修改集团", width = 15)
    @ApiModelProperty(value = "修改集团")
	private String createCmpy;
	/**标识*/
	@Excel(name = "标识", width = 15)
    @ApiModelProperty(value = "标识")
	private Integer delFlag;

	@ApiModelProperty(value = "开始时间")
	@TableField(exist=false)
	private String startTime;
	@ApiModelProperty(value = "结束时间")
	@TableField(exist=false)
	private String endTime;
}