AjhExerciseSituation.java
4.0 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
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
package com.skua.modules.ajh.entity;
import com.baomidou.mybatisplus.annotation.IdType;
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 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_exercise_situation")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ajh_exercise_situation对象", description="应急演练")
public class AjhExerciseSituation {
/**演习情况ID*/
@TableId(type = IdType.ID_WORKER_STR)
@ApiModelProperty(value = "演习情况ID")
private String id;
/**演习主题*/
@Excel(name = "演习主题", width = 15)
@ApiModelProperty(value = "演习主题")
private String exeTitle;
/**单位名称*/
@Excel(name = "单位名称", width = 15)
@ApiModelProperty(value = "单位名称")
private String exeUnitname;
/**演习时间*/
@Excel(name = "演习时间", width = 15)
@ApiModelProperty(value = "演习时间")
private String exeTime;
/**参加演习人数*/
@Excel(name = "参加演习人数", width = 15)
@ApiModelProperty(value = "参加演习人数")
private String exeNumber;
/**演习地点*/
@Excel(name = "演习地点", width = 15)
@ApiModelProperty(value = "演习地点")
private String exeAddres;
/**演习负责人*/
@Excel(name = "演习负责人", width = 15)
@ApiModelProperty(value = "演习负责人")
@Dict(dicCode = "id",dictTable="sys_user",dicText="realname")
private String exePerson;
/**演习情况*/
@Excel(name = "演习情况", width = 15)
@ApiModelProperty(value = "演习情况")
private String exeContent;
/**演习效果*/
@Excel(name = "演习效果", width = 15)
@ApiModelProperty(value = "演习效果")
private String exeResult;
/**附件*/
@Excel(name = "附件", width = 15)
@ApiModelProperty(value = "附件")
private String exeFile;
/**所属厂区*/
@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;
/**应急预案*/
@Excel(name = "应急预案", width = 15)
@ApiModelProperty(value = "应急预案")
@Dict(dictTable = "emergency_plan_database", dicCode="id", dicText = "doc_name")
private String emergencyPlan;
/**应急评估*/
@Excel(name = "应急评估", width = 15)
@ApiModelProperty(value = "应急评估")
private String exeAssessment;
}