StartResult.java
3.14 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
116
117
118
119
package com.hotent.runtime.params;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import com.hotent.base.model.CommonResult;
import com.hotent.bpm.persistence.model.DefaultBpmProcessInstance;
import com.hotent.bpm.persistence.model.DefaultBpmTask;
/**
* 启动流程的结果
*
* @company 广州宏天软件股份有限公司
* @author zhangxianwen
* @email zhangxw@jee-soft.cn
* @date 2018年6月28日
*/
@ApiModel(value="启动流程的结果",parent=CommonResult.class)
public class StartResult extends CommonResult{
@ApiModelProperty(name="message",notes="流程实例ID",example="10000000000001",required=true)
private String instId;
@ApiModelProperty(name="curBoPkVal",notes="当前表单主表数据id",example="10000000000001",required=true)
private String curBoPkVal;
@ApiModelProperty(name="curBoPkVal",notes="执行人为空时选择 assign:由审批人指定",example="10000000000001",required=true)
private String executorIsEmpty;
@ApiModelProperty(name="assignTaskId",notes="执行人为空时返回的任务Id",example="10000000000001",required=true)
private String assignTaskId;
@ApiModelProperty(name="tasks",notes="自己可以审批的任务",required=true)
private List<DefaultBpmTask> tasks;
@ApiModelProperty(name="inst",notes="实例对象",required=true)
private DefaultBpmProcessInstance inst;
public String getExecutorIsEmpty() {
return executorIsEmpty;
}
public void setExecutorIsEmpty(String executorIsEmpty) {
this.executorIsEmpty = executorIsEmpty;
}
public String getAssignTaskId() {
return assignTaskId;
}
public void setAssignTaskId(String assignTaskId) {
this.assignTaskId = assignTaskId;
}
public DefaultBpmProcessInstance getInst() {
return inst;
}
public void setInst(DefaultBpmProcessInstance inst) {
this.inst = inst;
}
public List<DefaultBpmTask> getTasks() {
return tasks;
}
public void setTasks(List<DefaultBpmTask> tasks) {
this.tasks = tasks;
}
public StartResult(String instId){
this.instId = instId;
}
public StartResult(String message, String instId){
super(message);
this.instId = instId;
}
public StartResult(String message, String instId, String curBoPkVal) {
super(message);
this.instId = instId;
this.curBoPkVal = curBoPkVal;
}
public StartResult(String message, String instId, String curBoPkVal,List<DefaultBpmTask> tasks,DefaultBpmProcessInstance inst) {
super(message);
this.inst=inst;
this.tasks=tasks;
this.instId = instId;
this.curBoPkVal = curBoPkVal;
}
public StartResult(String message, String instId, String curBoPkVal,String executorIsEmpty,String assignTaskId, List<DefaultBpmTask> tasks,DefaultBpmProcessInstance inst) {
super(message);
this.inst=inst;
this.tasks=tasks;
this.instId = instId;
this.curBoPkVal = curBoPkVal;
this.executorIsEmpty = executorIsEmpty;
this.assignTaskId = assignTaskId;
}
public String getInstId() {
return instId;
}
public void setInstId(String instId) {
this.instId = instId;
}
public String getCurBoPkVal() {
return curBoPkVal;
}
public void setCurBoPkVal(String curBoPkVal) {
this.curBoPkVal = curBoPkVal;
}
}