2026-07-01 6b5f7c66fc40d7f6099d561e31a34fbd50dd20d3
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
package cn.iocoder.yudao.module.bpm.controller.admin.task.vo.task;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
 
import java.util.List;
import java.util.Map;
 
@Schema(description = "管理后台 - 通过流程任务的 Request VO")
@Data
public class BpmTaskApproveReqVO {
 
    @Schema(description = "任务编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotEmpty(message = "任务编号不能为空")
    private String id;
 
    @Schema(description = "审批意见", example = "不错不错!")
    private String reason;
 
    @Schema(description = "签名", example = "https://www.iocoder.cn/sign.png")
    private String signPicUrl;
 
    @Schema(description = "附件", example = "[https://test.yudao.iocoder.cn/20260609/test.txt]")
    private List<String> attachments;
 
    @Schema(description = "变量实例(动态表单)", requiredMode = Schema.RequiredMode.REQUIRED)
    private Map<String, Object> variables;
 
    @Schema(description = "下一个节点审批人", example = "{nodeId:[1, 2]}")
    private Map<String, List<Long>> nextAssignees; // 为什么是 Map,而不是 List 呢?因为下一个节点可能是多个,例如说并行网关的情况
 
}