|
@@ -15,7 +15,7 @@ public class BpmProcessInstanceProgressRespVO {
|
|
|
private Integer status; // 参见 BpmProcessInstanceStatusEnum 枚举
|
|
|
|
|
|
@Schema(description = "审批信息列表", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
- private List<ApproveNodeInfo> approveNodeList;
|
|
|
+ private List<ApproveNodeInfo> approveNodes;
|
|
|
|
|
|
@Schema(description = "审批节点信息")
|
|
|
@Data
|
|
@@ -56,28 +56,30 @@ public class BpmProcessInstanceProgressRespVO {
|
|
|
@Schema(description = "用户昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
|
|
|
private String nickname;
|
|
|
|
|
|
- @Schema(description = "用户头像", example = "芋艿")
|
|
|
+ @Schema(description = "用户头像", example = "https://www.iocoder.cn/1.png")
|
|
|
private String avatar;
|
|
|
|
|
|
}
|
|
|
+
|
|
|
@Schema(description = "审批任务信息")
|
|
|
@Data
|
|
|
public static class ApproveTaskInfo {
|
|
|
|
|
|
- @Schema(description = "任务编号", example = "1")
|
|
|
+ @Schema(description = "任务编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
private String id;
|
|
|
|
|
|
- @Schema(description = "任务所属人")
|
|
|
+ @Schema(description = "任务所属人", example = "1024")
|
|
|
private User ownerUser;
|
|
|
|
|
|
- @Schema(description = "任务分配人")
|
|
|
+ @Schema(description = "任务分配人", example = "2048")
|
|
|
private User assigneeUser;
|
|
|
|
|
|
- @Schema(description = "任务状态", example = "1")
|
|
|
+ @Schema(description = "任务状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
private Integer status; // 参见 BpmTaskStatusEnum 枚举
|
|
|
|
|
|
@Schema(description = "审批意见", example = "同意")
|
|
|
private String reason;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
}
|