|
@@ -45,27 +45,38 @@ public class TFFlow extends BaseEntity implements Serializable {
|
|
|
@ApiModelProperty(value = "是否发布,0:否,1:是")
|
|
|
private Boolean publish;
|
|
|
|
|
|
+ @ApiModelProperty(value = "流程id")
|
|
|
+ private String actFlowId;
|
|
|
+
|
|
|
public TFFlow() {
|
|
|
|
|
|
}
|
|
|
|
|
|
- public TFFlow(Long schoolId, Long orgId, String name, Long userId, String flowKey) {
|
|
|
- setId(SystemConstant.getDbUuid());
|
|
|
+ public TFFlow(Long schoolId, Long orgId, String name, Long userId, String flowKey, String actFlowId) {
|
|
|
this.schoolId = schoolId;
|
|
|
this.orgId = orgId;
|
|
|
this.name = name;
|
|
|
this.flowKey = flowKey;
|
|
|
- setCreateId(userId);
|
|
|
+ this.actFlowId = actFlowId;
|
|
|
+ insertInfo(userId);
|
|
|
}
|
|
|
|
|
|
- public TFFlow(Long schoolId, Long orgId, String name, Boolean publish, Long userId, String flowKey) {
|
|
|
- setId(SystemConstant.getDbUuid());
|
|
|
+ public TFFlow(Long schoolId, Long orgId, String name, Boolean publish, Long userId, String flowKey, String actFlowId) {
|
|
|
this.schoolId = schoolId;
|
|
|
this.orgId = orgId;
|
|
|
this.name = name;
|
|
|
this.publish = publish;
|
|
|
this.flowKey = flowKey;
|
|
|
- setCreateId(userId);
|
|
|
+ this.actFlowId = actFlowId;
|
|
|
+ insertInfo(userId);
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getActFlowId() {
|
|
|
+ return actFlowId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setActFlowId(String actFlowId) {
|
|
|
+ this.actFlowId = actFlowId;
|
|
|
}
|
|
|
|
|
|
public String getFlowKey() {
|