郑永安
2023-09-19 69185134fcfaf913ea45f1255677225a2cc311a4
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
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
package com.gk.hotwork.Domain;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * 风险源
 */
@TableName("risk_source")
public class RiskSource implements Serializable {
 
    private final static long serialVersionUID = 1L;
 
    //ID,主键
    @TableId(type = IdType.AUTO)
    private Long id;
 
    //风险源名称
    private String name;
 
    //风险源类型,1-设施设备,2-作业活动
    private Byte type;
 
    //风险等级,1-低风险,2-一般风险,3-较大风险,4-重大风险
    private Byte level;
 
    //状态,1-有效,2-无效,3-删除
    private Byte status;
 
    //可能导致的事故描述
    private String accidentDesc;
 
    //区域位置
    private String location;
 
    //所属部门ID
    private Long depId;
 
    //所属部门名称
    private String depName;
 
    //创建时间
    private Date createTime;
 
    //创建人ID
    private Long createUid;
 
    //创建人姓名
    private String createUname;
 
    //最新编辑时间
    private Date editTime;
 
    //最新编辑人ID
    private Long editUid;
 
    //最新编辑人姓名
    private String editUname;
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public Byte getType() {
        return type;
    }
 
    public void setType(Byte type) {
        this.type = type;
    }
 
    public Byte getLevel() {
        return level;
    }
 
    public void setLevel(Byte level) {
        this.level = level;
    }
 
    public Byte getStatus() {
        return status;
    }
 
    public void setStatus(Byte status) {
        this.status = status;
    }
 
    public String getAccidentDesc() {
        return accidentDesc;
    }
 
    public void setAccidentDesc(String accidentDesc) {
        this.accidentDesc = accidentDesc;
    }
 
    public String getLocation() {
        return location;
    }
 
    public void setLocation(String location) {
        this.location = location;
    }
 
    public Long getDepId() {
        return depId;
    }
 
    public void setDepId(Long depId) {
        this.depId = depId;
    }
 
    public String getDepName() {
        return depName;
    }
 
    public void setDepName(String depName) {
        this.depName = depName;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public Long getCreateUid() {
        return createUid;
    }
 
    public void setCreateUid(Long createUid) {
        this.createUid = createUid;
    }
 
    public String getCreateUname() {
        return createUname;
    }
 
    public void setCreateUname(String createUname) {
        this.createUname = createUname;
    }
 
    public Date getEditTime() {
        return editTime;
    }
 
    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }
 
    public Long getEditUid() {
        return editUid;
    }
 
    public void setEditUid(Long editUid) {
        this.editUid = editUid;
    }
 
    public String getEditUname() {
        return editUname;
    }
 
    public void setEditUname(String editUname) {
        this.editUname = editUname;
    }
}