提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.controller.admin.mail.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 = "管理后台 - 邮件发送 Req VO") |
|
11 |
@Data |
|
12 |
public class MailTemplateSendReqVO { |
|
13 |
|
|
14 |
@Schema(description = "接收邮箱", requiredMode = Schema.RequiredMode.REQUIRED, example = "7685413@qq.com") |
|
15 |
@NotEmpty(message = "接收邮箱不能为空") |
|
16 |
private String mail; |
|
17 |
|
|
18 |
@Schema(description = "模板编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "test_01") |
|
19 |
@NotNull(message = "模板编码不能为空") |
|
20 |
private String templateCode; |
|
21 |
|
|
22 |
@Schema(description = "模板参数") |
|
23 |
private Map<String, Object> templateParams; |
|
24 |
|
|
25 |
} |