提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.mq.message.mail; |
H |
2 |
|
|
3 |
import lombok.Data; |
|
4 |
|
|
5 |
import javax.validation.constraints.NotEmpty; |
|
6 |
import javax.validation.constraints.NotNull; |
|
7 |
|
|
8 |
/** |
|
9 |
* 邮箱发送消息 |
|
10 |
* |
|
11 |
* @author iailab |
|
12 |
*/ |
|
13 |
@Data |
|
14 |
public class MailSendMessage { |
|
15 |
|
|
16 |
/** |
|
17 |
* 邮件日志编号 |
|
18 |
*/ |
|
19 |
@NotNull(message = "邮件日志编号不能为空") |
|
20 |
private Long logId; |
|
21 |
/** |
|
22 |
* 接收邮件地址 |
|
23 |
*/ |
|
24 |
@NotNull(message = "接收邮件地址不能为空") |
|
25 |
private String mail; |
|
26 |
/** |
|
27 |
* 邮件账号编号 |
|
28 |
*/ |
|
29 |
@NotNull(message = "邮件账号编号不能为空") |
|
30 |
private Long accountId; |
|
31 |
|
|
32 |
/** |
|
33 |
* 邮件发件人 |
|
34 |
*/ |
|
35 |
private String nickname; |
|
36 |
/** |
|
37 |
* 邮件标题 |
|
38 |
*/ |
|
39 |
@NotEmpty(message = "邮件标题不能为空") |
|
40 |
private String title; |
|
41 |
/** |
|
42 |
* 邮件内容 |
|
43 |
*/ |
|
44 |
@NotEmpty(message = "邮件内容不能为空") |
|
45 |
private String content; |
|
46 |
|
|
47 |
} |