提交 | 用户 | 时间
|
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 javax.validation.constraints.NotNull; |
|
8 |
|
|
9 |
@Schema(description = "管理后台 - 委派流程任务的 Request VO") |
|
10 |
@Data |
|
11 |
public class BpmTaskDelegateReqVO { |
|
12 |
|
|
13 |
@Schema(description = "任务编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
14 |
@NotEmpty(message = "任务编号不能为空") |
|
15 |
private String id; |
|
16 |
|
|
17 |
@Schema(description = "被委派人 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
18 |
@NotNull(message = "被委派人 ID 不能为空") |
|
19 |
private Long delegateUserId; |
|
20 |
|
|
21 |
@Schema(description = "委派原因", requiredMode = Schema.RequiredMode.REQUIRED, example = "做不了决定,需要你先帮忙瞅瞅") |
|
22 |
@NotEmpty(message = "委派原因不能为空") |
|
23 |
private String reason; |
|
24 |
|
|
25 |
} |