|
@@ -3,6 +3,7 @@ package cn.iocoder.yudao.module.bpm.controller.admin.task.vo.instance;
|
|
|
import cn.iocoder.yudao.module.bpm.controller.admin.base.user.UserSimpleBaseVO;
|
|
|
import cn.iocoder.yudao.module.bpm.controller.admin.definition.vo.process.BpmProcessDefinitionRespVO;
|
|
|
import cn.iocoder.yudao.module.bpm.controller.admin.task.vo.task.BpmTaskRespVO;
|
|
|
+import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Data;
|
|
|
|
|
@@ -73,9 +74,17 @@ public class BpmApprovalDetailRespVO {
|
|
|
@Schema(description = "任务编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
private String id;
|
|
|
|
|
|
+ @Schema(description = "任务所属人编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "1818")
|
|
|
+ @JsonIgnore // 不返回,只是方便后续读取,赋值给 ownerUser
|
|
|
+ private Long owner;
|
|
|
+
|
|
|
@Schema(description = "任务所属人", example = "1024")
|
|
|
private UserSimpleBaseVO ownerUser;
|
|
|
|
|
|
+ @Schema(description = "任务分配人编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "2048")
|
|
|
+ @JsonIgnore // 不返回,只是方便后续读取,赋值给 assigneeUser
|
|
|
+ private Long assignee;
|
|
|
+
|
|
|
@Schema(description = "任务分配人", example = "2048")
|
|
|
private UserSimpleBaseVO assigneeUser;
|
|
|
|