EmergencyRiskEventAddDTO.java
2.6 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
package com.skua.modules.emergency.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.skua.core.aspect.annotation.Dict;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import javax.validation.constraints.NotBlank;
import java.util.Date;
/**
* 应急风险事件
*/
@Data
@EqualsAndHashCode(callSuper = false)
public class EmergencyRiskEventAddDTO {
/**风险点类型(字典 emergency_risk_event_risktype)*/
@Excel(name = "风险点类型(字典 emergency_risk_event_risktype)", width = 15)
@ApiModelProperty(value = "风险点类型(字典 emergency_risk_event_risktype)")
@NotBlank
private String riskPointType;
/**风险点名称*/
@Excel(name = "风险点名称", width = 15)
@ApiModelProperty(value = "风险点名称")
@NotBlank
private String riskName;
/**危险源描述*/
@Excel(name = "危险源描述", width = 15)
@ApiModelProperty(value = "危险源描述")
@NotBlank
private String riskDesc;
/**风险照片(url,用,隔开)*/
@Excel(name = "风险照片(url,用,隔开)", width = 15)
@ApiModelProperty(value = "风险照片(url,用,隔开)")
private String riskImgs;
/**事故类型 (字典 emergency_risk_event_eventtype)*/
@Excel(name = "事故类型 (字典 emergency_risk_event_eventtype)", width = 15)
@ApiModelProperty(value = "事故类型 (字典 emergency_risk_event_eventtype)")
private String eventType;
/**极端风险等级 (字典 emergency_risk_event_level)*/
@Excel(name = "极端风险等级 (字典 emergency_risk_event_level)", width = 15)
@ApiModelProperty(value = "极端风险等级 (字典 emergency_risk_event_level)")
@NotBlank
private String extremeLevel;
/**上报人(用户id)*/
@Excel(name = "上报人(用户id)", width = 15)
@ApiModelProperty(value = "上报人(用户id)")
private String reportUser;
/**上报时间*/
@ApiModelProperty(value = "上报时间")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
private Date reportDate;
/**所属厂站*/
@Excel(name = "所属厂站", width = 15)
@ApiModelProperty(value = "所属厂站")
private String departId;
/**流程定义id*/
@Excel(name = "流程定义id", width = 15)
@ApiModelProperty(value = "流程定义id")
private java.lang.String processDefinitionId;
/**流程实例id*/
@Excel(name = "流程实例id", width = 15)
@ApiModelProperty(value = "流程实例id")
private java.lang.String processInstanceId;
}