提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.api.notify.dto; |
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 = "RPC 服务 - 站内信发送给 Admin 或者 Member 用户 Request DTO") |
|
11 |
@Data |
|
12 |
public class NotifySendSingleToUserReqDTO { |
|
13 |
|
|
14 |
@Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
15 |
@NotNull(message = "用户编号不能为空") |
|
16 |
private Long userId; |
|
17 |
|
|
18 |
@Schema(description = "站内信模板编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "USER_SEND") |
|
19 |
@NotEmpty(message = "站内信模板编号不能为空") |
|
20 |
private String templateCode; |
|
21 |
@Schema(description = "邮件模板参数") |
|
22 |
private Map<String, Object> templateParams; |
|
23 |
} |