提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.controller.admin.mail.vo.log; |
H |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
import java.time.LocalDateTime; |
|
7 |
import java.util.Map; |
|
8 |
|
|
9 |
@Schema(description = "管理后台 - 邮件日志 Response VO") |
|
10 |
@Data |
|
11 |
public class MailLogRespVO { |
|
12 |
|
|
13 |
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "31020") |
|
14 |
private Long id; |
|
15 |
|
|
16 |
@Schema(description = "用户编号", example = "30883") |
|
17 |
private Long userId; |
|
18 |
|
|
19 |
@Schema(description = "用户类型,参见 UserTypeEnum 枚举", example = "2") |
|
20 |
private Byte userType; |
|
21 |
|
|
22 |
@Schema(description = "接收邮箱地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "76854@qq.com") |
|
23 |
private String toMail; |
|
24 |
|
|
25 |
@Schema(description = "邮箱账号编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "18107") |
|
26 |
private Long accountId; |
|
27 |
|
|
28 |
@Schema(description = "发送邮箱地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "85757@qq.com") |
|
29 |
private String fromMail; |
|
30 |
|
|
31 |
@Schema(description = "模板编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "5678") |
|
32 |
private Long templateId; |
|
33 |
|
|
34 |
@Schema(description = "模板编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "test_01") |
|
35 |
private String templateCode; |
|
36 |
|
|
37 |
@Schema(description = "模版发送人名称", example = "李四") |
|
38 |
private String templateNickname; |
|
39 |
|
|
40 |
@Schema(description = "邮件标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "测试标题") |
|
41 |
private String templateTitle; |
|
42 |
|
|
43 |
@Schema(description = "邮件内容", requiredMode = Schema.RequiredMode.REQUIRED, example = "测试内容") |
|
44 |
private String templateContent; |
|
45 |
|
|
46 |
@Schema(description = "邮件参数", requiredMode = Schema.RequiredMode.REQUIRED) |
|
47 |
private Map<String, Object> templateParams; |
|
48 |
|
|
49 |
@Schema(description = "发送状态,参见 MailSendStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
50 |
private Byte sendStatus; |
|
51 |
|
|
52 |
@Schema(description = "发送时间") |
|
53 |
private LocalDateTime sendTime; |
|
54 |
|
|
55 |
@Schema(description = "发送返回的消息 ID", example = "28568") |
|
56 |
private String sendMessageId; |
|
57 |
|
|
58 |
@Schema(description = "发送异常") |
|
59 |
private String sendException; |
|
60 |
|
|
61 |
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
|
62 |
private LocalDateTime createTime; |
|
63 |
|
|
64 |
} |