提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.controller.admin.notify.vo.template; |
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 |
import java.util.Map; |
|
9 |
|
|
10 |
@Schema(description = "管理后台 - 站内信模板的发送 Request VO") |
|
11 |
@Data |
|
12 |
public class NotifyTemplateSendReqVO { |
|
13 |
|
|
14 |
@Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "01") |
|
15 |
@NotNull(message = "用户id不能为空") |
|
16 |
private Long userId; |
|
17 |
|
|
18 |
@Schema(description = "用户类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
19 |
@NotNull(message = "用户类型不能为空") |
|
20 |
private Integer userType; |
|
21 |
|
|
22 |
@Schema(description = "模板编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "01") |
|
23 |
@NotEmpty(message = "模板编码不能为空") |
|
24 |
private String templateCode; |
|
25 |
|
|
26 |
@Schema(description = "模板参数") |
|
27 |
private Map<String, Object> templateParams; |
|
28 |
|
|
29 |
} |