6 天以前 ffe7921a138331185186fd100846fe50dcaf841c
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
34
35
36
37
38
39
40
41
42
package cn.iocoder.yudao.module.bpm.controller.admin.task.vo.instance;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.util.List;
 
@Schema(description = "管理后台 - 流程实例的打印数据 Response VO")
@Data
public class BpmProcessPrintDataRespVO {
 
    @Schema(description = "流程实例数据")
    private BpmProcessInstanceRespVO processInstance;
 
    @Schema(description = "是否开启自定义打印模板", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    private Boolean printTemplateEnable;
 
    @Schema(description = "自定义打印模板 HTML")
    private String printTemplateHtml;
 
    @Schema(description = "审批任务列表")
    private List<Task> tasks;
 
    @Schema(description = "流程任务")
    @Data
    public static class Task {
 
        @Schema(description = "流程任务的编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
        private String id;
 
        @Schema(description = "任务名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道")
        private String name;
 
        @Schema(description = "签名 URL", example = "https://www.iocoder.cn/sign.png")
        private String signPicUrl;
 
        @Schema(description = "任务描述", requiredMode = Schema.RequiredMode.REQUIRED)
        private String description; // 该字段由后端拼接
 
    }
 
}