|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+package com.unissoft.model;
|
|
|
2
|
+
|
|
|
3
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
4
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
5
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
6
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
7
|
+import java.io.Serializable;
|
|
|
8
|
+import io.swagger.annotations.ApiModel;
|
|
|
9
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
10
|
+
|
|
|
11
|
+/**
|
|
|
12
|
+ * <p>
|
|
|
13
|
+ *
|
|
|
14
|
+ * </p>
|
|
|
15
|
+ *
|
|
|
16
|
+ * @author My SunShine
|
|
|
17
|
+ * @since 2020-12-16
|
|
|
18
|
+ */
|
|
|
19
|
+@TableName("process_audit")
|
|
|
20
|
+@ApiModel(value="ProcessAudit对象", description="")
|
|
|
21
|
+public class ProcessAudit implements Serializable {
|
|
|
22
|
+
|
|
|
23
|
+ private static final long serialVersionUID = 1L;
|
|
|
24
|
+
|
|
|
25
|
+
|
|
|
26
|
+
|
|
|
27
|
+ //业务字段
|
|
|
28
|
+ @TableField(exist = false)
|
|
|
29
|
+ private String houseName;
|
|
|
30
|
+ @TableField(exist = false)
|
|
|
31
|
+ private String applyName;
|
|
|
32
|
+ @TableField(exist = false)
|
|
|
33
|
+ private String departmentName;
|
|
|
34
|
+ @TableField(exist = false)
|
|
|
35
|
+ private String companyName;
|
|
|
36
|
+
|
|
|
37
|
+
|
|
|
38
|
+
|
|
|
39
|
+
|
|
|
40
|
+
|
|
|
41
|
+ public String getHouseName() {
|
|
|
42
|
+ return houseName;
|
|
|
43
|
+ }
|
|
|
44
|
+
|
|
|
45
|
+ public void setHouseName(String houseName) {
|
|
|
46
|
+ this.houseName = houseName;
|
|
|
47
|
+ }
|
|
|
48
|
+
|
|
|
49
|
+ public String getApplyName() {
|
|
|
50
|
+ return applyName;
|
|
|
51
|
+ }
|
|
|
52
|
+
|
|
|
53
|
+ public void setApplyName(String applyName) {
|
|
|
54
|
+ this.applyName = applyName;
|
|
|
55
|
+ }
|
|
|
56
|
+
|
|
|
57
|
+ public String getDepartmentName() {
|
|
|
58
|
+ return departmentName;
|
|
|
59
|
+ }
|
|
|
60
|
+
|
|
|
61
|
+ public void setDepartmentName(String departmentName) {
|
|
|
62
|
+ this.departmentName = departmentName;
|
|
|
63
|
+ }
|
|
|
64
|
+
|
|
|
65
|
+ public String getCompanyName() {
|
|
|
66
|
+ return companyName;
|
|
|
67
|
+ }
|
|
|
68
|
+
|
|
|
69
|
+ public void setCompanyName(String companyName) {
|
|
|
70
|
+ this.companyName = companyName;
|
|
|
71
|
+ }
|
|
|
72
|
+
|
|
|
73
|
+
|
|
|
74
|
+ @ApiModelProperty(value = "流程审批表")
|
|
|
75
|
+ @TableId(value = "id", type = IdType.AUTO)
|
|
|
76
|
+ private Integer id;
|
|
|
77
|
+
|
|
|
78
|
+ @ApiModelProperty(value = "主流程id")
|
|
|
79
|
+ @TableField("main_id")
|
|
|
80
|
+ private Integer mainId;
|
|
|
81
|
+
|
|
|
82
|
+ @ApiModelProperty(value = "子流程的id")
|
|
|
83
|
+ @TableField("sub_id")
|
|
|
84
|
+ private Integer subId;
|
|
|
85
|
+
|
|
|
86
|
+ @ApiModelProperty(value = "子流程的数据(1:是,0:否)")
|
|
|
87
|
+ @TableField("sub_data")
|
|
|
88
|
+ private Integer subData;
|
|
|
89
|
+
|
|
|
90
|
+ @ApiModelProperty(value = "审批状态(0:提交,1审批通过:,2:审批不通过,3:审批完成进行中,4已完成)")
|
|
|
91
|
+ @TableField("audit_state")
|
|
|
92
|
+ private Integer auditState;
|
|
|
93
|
+
|
|
|
94
|
+ @ApiModelProperty(value = "子流程的操作时间")
|
|
|
95
|
+ @TableField("operation_time")
|
|
|
96
|
+ private String operationTime;
|
|
|
97
|
+
|
|
|
98
|
+ @ApiModelProperty(value = "流程类型(如:tf)")
|
|
|
99
|
+ @TableField("type")
|
|
|
100
|
+ private String type;
|
|
|
101
|
+
|
|
|
102
|
+ @ApiModelProperty(value = "仓房id")
|
|
|
103
|
+ @TableField("house_id")
|
|
|
104
|
+ private Integer houseId;
|
|
|
105
|
+
|
|
|
106
|
+ @ApiModelProperty(value = "库id")
|
|
|
107
|
+ @TableField("depot_id")
|
|
|
108
|
+ private Integer depotId;
|
|
|
109
|
+
|
|
|
110
|
+ @ApiModelProperty(value = "提交人")
|
|
|
111
|
+ @TableField("from_people")
|
|
|
112
|
+ private Integer fromPeople;
|
|
|
113
|
+
|
|
|
114
|
+ @ApiModelProperty(value = "审批人")
|
|
|
115
|
+ @TableField("to_people")
|
|
|
116
|
+ private Integer toPeople;
|
|
|
117
|
+
|
|
|
118
|
+ @ApiModelProperty(value = "是否是整个业务的首条记录(1是0否)")
|
|
|
119
|
+ @TableField("result")
|
|
|
120
|
+ private Integer result;
|
|
|
121
|
+
|
|
|
122
|
+ @ApiModelProperty(value = "申请人")
|
|
|
123
|
+ @TableField("apply_people")
|
|
|
124
|
+ private Integer applyPeople;
|
|
|
125
|
+
|
|
|
126
|
+ @ApiModelProperty(value = "审批时间")
|
|
|
127
|
+ @TableField("audit_time")
|
|
|
128
|
+ private String auditTime;
|
|
|
129
|
+
|
|
|
130
|
+ @ApiModelProperty(value = "每一个业务流程的流程标识")
|
|
|
131
|
+ @TableField("process_id")
|
|
|
132
|
+ private String processId;
|
|
|
133
|
+
|
|
|
134
|
+ @ApiModelProperty(value = "进行到哪一步的主流程id")
|
|
|
135
|
+ @TableField("ongoing_step")
|
|
|
136
|
+ private String ongoingStep;
|
|
|
137
|
+
|
|
|
138
|
+ public Integer getId() {
|
|
|
139
|
+ return id;
|
|
|
140
|
+ }
|
|
|
141
|
+
|
|
|
142
|
+ public void setId(Integer id) {
|
|
|
143
|
+ this.id = id;
|
|
|
144
|
+ }
|
|
|
145
|
+ public Integer getMainId() {
|
|
|
146
|
+ return mainId;
|
|
|
147
|
+ }
|
|
|
148
|
+
|
|
|
149
|
+ public void setMainId(Integer mainId) {
|
|
|
150
|
+ this.mainId = mainId;
|
|
|
151
|
+ }
|
|
|
152
|
+ public Integer getSubId() {
|
|
|
153
|
+ return subId;
|
|
|
154
|
+ }
|
|
|
155
|
+
|
|
|
156
|
+ public void setSubId(Integer subId) {
|
|
|
157
|
+ this.subId = subId;
|
|
|
158
|
+ }
|
|
|
159
|
+ public Integer getSubData() {
|
|
|
160
|
+ return subData;
|
|
|
161
|
+ }
|
|
|
162
|
+
|
|
|
163
|
+ public void setSubData(Integer subData) {
|
|
|
164
|
+ this.subData = subData;
|
|
|
165
|
+ }
|
|
|
166
|
+ public Integer getAuditState() {
|
|
|
167
|
+ return auditState;
|
|
|
168
|
+ }
|
|
|
169
|
+
|
|
|
170
|
+ public void setAuditState(Integer auditState) {
|
|
|
171
|
+ this.auditState = auditState;
|
|
|
172
|
+ }
|
|
|
173
|
+ public String getOperationTime() {
|
|
|
174
|
+ return operationTime;
|
|
|
175
|
+ }
|
|
|
176
|
+
|
|
|
177
|
+ public void setOperationTime(String operationTime) {
|
|
|
178
|
+ this.operationTime = operationTime;
|
|
|
179
|
+ }
|
|
|
180
|
+ public String getType() {
|
|
|
181
|
+ return type;
|
|
|
182
|
+ }
|
|
|
183
|
+
|
|
|
184
|
+ public void setType(String type) {
|
|
|
185
|
+ this.type = type;
|
|
|
186
|
+ }
|
|
|
187
|
+ public Integer getHouseId() {
|
|
|
188
|
+ return houseId;
|
|
|
189
|
+ }
|
|
|
190
|
+
|
|
|
191
|
+ public void setHouseId(Integer houseId) {
|
|
|
192
|
+ this.houseId = houseId;
|
|
|
193
|
+ }
|
|
|
194
|
+ public Integer getDepotId() {
|
|
|
195
|
+ return depotId;
|
|
|
196
|
+ }
|
|
|
197
|
+
|
|
|
198
|
+ public void setDepotId(Integer depotId) {
|
|
|
199
|
+ this.depotId = depotId;
|
|
|
200
|
+ }
|
|
|
201
|
+ public Integer getFromPeople() {
|
|
|
202
|
+ return fromPeople;
|
|
|
203
|
+ }
|
|
|
204
|
+
|
|
|
205
|
+ public void setFromPeople(Integer fromPeople) {
|
|
|
206
|
+ this.fromPeople = fromPeople;
|
|
|
207
|
+ }
|
|
|
208
|
+ public Integer getToPeople() {
|
|
|
209
|
+ return toPeople;
|
|
|
210
|
+ }
|
|
|
211
|
+
|
|
|
212
|
+ public void setToPeople(Integer toPeople) {
|
|
|
213
|
+ this.toPeople = toPeople;
|
|
|
214
|
+ }
|
|
|
215
|
+ public Integer getResult() {
|
|
|
216
|
+ return result;
|
|
|
217
|
+ }
|
|
|
218
|
+
|
|
|
219
|
+ public void setResult(Integer result) {
|
|
|
220
|
+ this.result = result;
|
|
|
221
|
+ }
|
|
|
222
|
+ public Integer getApplyPeople() {
|
|
|
223
|
+ return applyPeople;
|
|
|
224
|
+ }
|
|
|
225
|
+
|
|
|
226
|
+ public void setApplyPeople(Integer applyPeople) {
|
|
|
227
|
+ this.applyPeople = applyPeople;
|
|
|
228
|
+ }
|
|
|
229
|
+ public String getAuditTime() {
|
|
|
230
|
+ return auditTime;
|
|
|
231
|
+ }
|
|
|
232
|
+
|
|
|
233
|
+ public void setAuditTime(String auditTime) {
|
|
|
234
|
+ this.auditTime = auditTime;
|
|
|
235
|
+ }
|
|
|
236
|
+ public String getProcessId() {
|
|
|
237
|
+ return processId;
|
|
|
238
|
+ }
|
|
|
239
|
+
|
|
|
240
|
+ public void setProcessId(String processId) {
|
|
|
241
|
+ this.processId = processId;
|
|
|
242
|
+ }
|
|
|
243
|
+ public String getOngoingStep() {
|
|
|
244
|
+ return ongoingStep;
|
|
|
245
|
+ }
|
|
|
246
|
+
|
|
|
247
|
+ public void setOngoingStep(String ongoingStep) {
|
|
|
248
|
+ this.ongoingStep = ongoingStep;
|
|
|
249
|
+ }
|
|
|
250
|
+
|
|
|
251
|
+ @Override
|
|
|
252
|
+ public String toString() {
|
|
|
253
|
+ return "ProcessAudit{" +
|
|
|
254
|
+ "id=" + id +
|
|
|
255
|
+ ", mainId=" + mainId +
|
|
|
256
|
+ ", subId=" + subId +
|
|
|
257
|
+ ", subData=" + subData +
|
|
|
258
|
+ ", auditState=" + auditState +
|
|
|
259
|
+ ", operationTime=" + operationTime +
|
|
|
260
|
+ ", type=" + type +
|
|
|
261
|
+ ", houseId=" + houseId +
|
|
|
262
|
+ ", depotId=" + depotId +
|
|
|
263
|
+ ", fromPeople=" + fromPeople +
|
|
|
264
|
+ ", toPeople=" + toPeople +
|
|
|
265
|
+ ", result=" + result +
|
|
|
266
|
+ ", applyPeople=" + applyPeople +
|
|
|
267
|
+ ", auditTime=" + auditTime +
|
|
|
268
|
+ ", processId=" + processId +
|
|
|
269
|
+ ", ongoingStep=" + ongoingStep +
|
|
|
270
|
+ "}";
|
|
|
271
|
+ }
|
|
|
272
|
+}
|