提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.dal.dataobject.mail; |
H |
2 |
|
|
3 |
import com.iailab.framework.common.enums.CommonStatusEnum; |
|
4 |
import com.iailab.framework.mybatis.core.dataobject.BaseDO; |
|
5 |
import com.baomidou.mybatisplus.annotation.TableField; |
|
6 |
import com.baomidou.mybatisplus.annotation.TableName; |
|
7 |
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler; |
|
8 |
import lombok.Data; |
|
9 |
import lombok.EqualsAndHashCode; |
|
10 |
|
|
11 |
import java.util.List; |
|
12 |
|
|
13 |
/** |
|
14 |
* 邮件模版 DO |
|
15 |
* |
|
16 |
* @author wangjingyi |
|
17 |
* @since 2022-03-21 |
|
18 |
*/ |
|
19 |
@TableName(value = "system_mail_template", autoResultMap = true) |
|
20 |
@Data |
|
21 |
@EqualsAndHashCode(callSuper = true) |
|
22 |
public class MailTemplateDO extends BaseDO { |
|
23 |
|
|
24 |
/** |
|
25 |
* 主键 |
|
26 |
*/ |
|
27 |
private Long id; |
|
28 |
/** |
|
29 |
* 模版名称 |
|
30 |
*/ |
|
31 |
private String name; |
|
32 |
/** |
|
33 |
* 模版编号 |
|
34 |
*/ |
|
35 |
private String code; |
|
36 |
/** |
|
37 |
* 发送的邮箱账号编号 |
|
38 |
* |
|
39 |
* 关联 {@link MailAccountDO#getId()} |
|
40 |
*/ |
|
41 |
private Long accountId; |
|
42 |
|
|
43 |
/** |
|
44 |
* 发送人名称 |
|
45 |
*/ |
|
46 |
private String nickname; |
|
47 |
/** |
|
48 |
* 标题 |
|
49 |
*/ |
|
50 |
private String title; |
|
51 |
/** |
|
52 |
* 内容 |
|
53 |
*/ |
|
54 |
private String content; |
|
55 |
/** |
|
56 |
* 参数数组(自动根据内容生成) |
|
57 |
*/ |
|
58 |
@TableField(typeHandler = JacksonTypeHandler.class) |
|
59 |
private List<String> params; |
|
60 |
/** |
|
61 |
* 状态 |
|
62 |
* |
|
63 |
* 枚举 {@link CommonStatusEnum} |
|
64 |
*/ |
|
65 |
private Integer status; |
|
66 |
/** |
|
67 |
* 备注 |
|
68 |
*/ |
|
69 |
private String remark; |
|
70 |
|
|
71 |
} |