|
@@ -1,8 +1,10 @@
|
|
package com.qmth.sop.business.bean.result;
|
|
package com.qmth.sop.business.bean.result;
|
|
|
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonInclude;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
import com.qmth.sop.common.enums.FlowStatusEnum;
|
|
import com.qmth.sop.common.enums.FlowStatusEnum;
|
|
|
|
+import com.qmth.sop.common.enums.TFCustomTypeEnum;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
@@ -15,6 +17,7 @@ import java.util.Objects;
|
|
* @Author: wangliang
|
|
* @Author: wangliang
|
|
* @Date: 2023/8/10
|
|
* @Date: 2023/8/10
|
|
*/
|
|
*/
|
|
|
|
+@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
public class WorkTaskResult implements Serializable {
|
|
public class WorkTaskResult implements Serializable {
|
|
|
|
|
|
@ApiModelProperty(value = "用户id")
|
|
@ApiModelProperty(value = "用户id")
|
|
@@ -22,7 +25,7 @@ public class WorkTaskResult implements Serializable {
|
|
private Long userId;
|
|
private Long userId;
|
|
|
|
|
|
@ApiModelProperty(value = "用户姓名")
|
|
@ApiModelProperty(value = "用户姓名")
|
|
- private String userName;
|
|
|
|
|
|
+ private String realName;
|
|
|
|
|
|
@ApiModelProperty(value = "流程状态")
|
|
@ApiModelProperty(value = "流程状态")
|
|
private FlowStatusEnum status;
|
|
private FlowStatusEnum status;
|
|
@@ -61,6 +64,96 @@ public class WorkTaskResult implements Serializable {
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
private Long customFlowEntityid;
|
|
private Long customFlowEntityid;
|
|
|
|
|
|
|
|
+ @ApiModelProperty(value = "流程类型")
|
|
|
|
+ private TFCustomTypeEnum type;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "流程类型str")
|
|
|
|
+ private String typeStr;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "用户登录名")
|
|
|
|
+ private String loginName;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "用户手机号")
|
|
|
|
+ private String mobileNumber;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "流程编号")
|
|
|
|
+ private String code;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "流程版本号")
|
|
|
|
+ private Integer version;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "动态表单")
|
|
|
|
+ FlowTaskResult setupMap;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ public FlowTaskResult getSetupMap() {
|
|
|
|
+ return setupMap;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setSetupMap(FlowTaskResult setupMap) {
|
|
|
|
+ this.setupMap = setupMap;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getRealName() {
|
|
|
|
+ return realName;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setRealName(String realName) {
|
|
|
|
+ this.realName = realName;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public TFCustomTypeEnum getType() {
|
|
|
|
+ return type;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setType(TFCustomTypeEnum type) {
|
|
|
|
+ this.type = type;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getTypeStr() {
|
|
|
|
+ if (Objects.nonNull(type)) {
|
|
|
|
+ return type.getTitle();
|
|
|
|
+ } else {
|
|
|
|
+ return typeStr;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setTypeStr(String typeStr) {
|
|
|
|
+ this.typeStr = typeStr;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getLoginName() {
|
|
|
|
+ return loginName;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setLoginName(String loginName) {
|
|
|
|
+ this.loginName = loginName;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getMobileNumber() {
|
|
|
|
+ return mobileNumber;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setMobileNumber(String mobileNumber) {
|
|
|
|
+ this.mobileNumber = mobileNumber;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getCode() {
|
|
|
|
+ return code;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setCode(String code) {
|
|
|
|
+ this.code = code;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Integer getVersion() {
|
|
|
|
+ return version;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setVersion(Integer version) {
|
|
|
|
+ this.version = version;
|
|
|
|
+ }
|
|
|
|
+
|
|
public Long getCustomFlowEntityid() {
|
|
public Long getCustomFlowEntityid() {
|
|
return customFlowEntityid;
|
|
return customFlowEntityid;
|
|
}
|
|
}
|
|
@@ -77,14 +170,6 @@ public class WorkTaskResult implements Serializable {
|
|
this.userId = userId;
|
|
this.userId = userId;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getUserName() {
|
|
|
|
- return userName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setUserName(String userName) {
|
|
|
|
- this.userName = userName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
public FlowStatusEnum getStatus() {
|
|
public FlowStatusEnum getStatus() {
|
|
return status;
|
|
return status;
|
|
}
|
|
}
|