| | |
| | | package com.iailab.module.bpm.controller.admin.task.vo.instance; |
| | | |
| | | import com.iailab.module.bpm.controller.admin.base.user.UserSimpleBaseVO; |
| | | import com.iailab.module.bpm.controller.admin.definition.vo.process.BpmProcessDefinitionRespVO; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | |
| | | @Schema(description = "流程实例的编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
| | | private String id; |
| | | |
| | | @Schema(description = "流程名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "平台") |
| | | @Schema(description = "流程名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道") |
| | | private String name; |
| | | |
| | | @Schema(description = "流程分类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
| | |
| | | /** |
| | | * 发起流程的用户 |
| | | */ |
| | | private User startUser; |
| | | private UserSimpleBaseVO startUser; |
| | | |
| | | @Schema(description = "流程定义的编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2048") |
| | | private String processDefinitionId; |
| | |
| | | */ |
| | | private List<Task> tasks; // 仅在流程实例分页才返回 |
| | | |
| | | @Schema(description = "用户信息") |
| | | @Data |
| | | public static class User { |
| | | |
| | | @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
| | | private Long id; |
| | | @Schema(description = "用户昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "iailab") |
| | | private String nickname; |
| | | |
| | | @Schema(description = "部门编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
| | | private Long deptId; |
| | | @Schema(description = "部门名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "研发部") |
| | | private String deptName; |
| | | |
| | | } |
| | | |
| | | @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 = "平台") |
| | | @Schema(description = "任务名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道") |
| | | private String name; |
| | | |
| | | } |