EmergencyRiskEventHandleDto.java
2.3 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
package com.skua.modules.emergency.dto;
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.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 javax.validation.constraints.NotBlank;
import java.util.Date;
/**
* 应急风险事件
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="emergency_risk_event对象", description="应急风险事件")
public class EmergencyRiskEventHandleDto extends FlowEntity {
/**id*/
@TableId(type = IdType.ID_WORKER_STR)
@ApiModelProperty(value = "id")
@NotBlank
private String id;
/**所属厂站*/
@Excel(name = "所属厂站", width = 15)
@ApiModelProperty(value = "所属厂站")
private String departId;
/**管控层级(字典 emergency_risk_event_layer)*/
@Excel(name = "管控层级(字典 emergency_risk_event_layer)", width = 15)
@ApiModelProperty(value = "管控层级(字典 emergency_risk_event_layer)")
private String controlLayer;
/**责任部门*/
@Excel(name = "责任部门", width = 15)
@ApiModelProperty(value = "责任部门")
private String dutyDepart;
/**责任人员(用户id)*/
@Excel(name = "责任人员(用户id)", width = 15)
@ApiModelProperty(value = "责任人员(用户id)")
private String dutyUser;
/**现实风险等级(字典 emergency_risk_event_level)*/
@Excel(name = "现实风险等级(字典 emergency_risk_event_level)", width = 15)
@ApiModelProperty(value = "现实风险等级(字典 emergency_risk_event_level)")
private String realLevel;
/**管控措施*/
@Excel(name = "管控措施", width = 15)
@ApiModelProperty(value = "管控措施")
private String controlMean;
/**动态管控周期(月)*/
@Excel(name = "动态管控周期(月)", width = 15)
@ApiModelProperty(value = "动态管控周期(月)")
private Integer controlCycle;
}