提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.bpm.controller.admin.task.vo.task; |
H |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
import javax.validation.constraints.NotEmpty; |
|
7 |
import java.util.Set; |
|
8 |
|
|
9 |
@Schema(description = "管理后台 - 加签任务的创建(加签) Request VO") |
|
10 |
@Data |
|
11 |
public class BpmTaskSignCreateReqVO { |
|
12 |
|
|
13 |
@Schema(description = "需要加签的任务编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
14 |
@NotEmpty(message = "任务编号不能为空") |
|
15 |
private String id; |
|
16 |
|
|
17 |
@Schema(description = "加签的用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "888") |
|
18 |
@NotEmpty(message = "加签用户不能为空") |
|
19 |
private Set<Long> userIds; |
|
20 |
|
|
21 |
@Schema(description = "加签类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "before") |
|
22 |
@NotEmpty(message = "加签类型不能为空") |
|
23 |
private String type; // 参见 BpmTaskSignTypeEnum 枚举 |
|
24 |
|
|
25 |
@Schema(description = "加签原因", requiredMode = Schema.RequiredMode.REQUIRED, example = "需要加签") |
|
26 |
@NotEmpty(message = "加签原因不能为空") |
|
27 |
private String reason; |
|
28 |
|
|
29 |
} |