提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.dal.dataobject.mail; |
H |
2 |
|
|
3 |
import com.iailab.framework.mybatis.core.dataobject.BaseDO; |
|
4 |
import com.baomidou.mybatisplus.annotation.TableId; |
|
5 |
import com.baomidou.mybatisplus.annotation.TableName; |
|
6 |
import lombok.Data; |
|
7 |
import lombok.EqualsAndHashCode; |
|
8 |
|
|
9 |
/** |
|
10 |
* 邮箱账号 DO |
|
11 |
* |
|
12 |
* 用途:配置发送邮箱的账号 |
|
13 |
* |
|
14 |
* @author wangjingyi |
|
15 |
* @since 2022-03-21 |
|
16 |
*/ |
|
17 |
@TableName(value = "system_mail_account", autoResultMap = true) |
|
18 |
@Data |
|
19 |
@EqualsAndHashCode(callSuper = true) |
|
20 |
public class MailAccountDO extends BaseDO { |
|
21 |
|
|
22 |
/** |
|
23 |
* 主键 |
|
24 |
*/ |
|
25 |
@TableId |
|
26 |
private Long id; |
|
27 |
/** |
|
28 |
* 邮箱 |
|
29 |
*/ |
|
30 |
private String mail; |
|
31 |
|
|
32 |
/** |
|
33 |
* 用户名 |
|
34 |
*/ |
|
35 |
private String username; |
|
36 |
/** |
|
37 |
* 密码 |
|
38 |
*/ |
|
39 |
private String password; |
|
40 |
/** |
|
41 |
* SMTP 服务器域名 |
|
42 |
*/ |
|
43 |
private String host; |
|
44 |
/** |
|
45 |
* SMTP 服务器端口 |
|
46 |
*/ |
|
47 |
private Integer port; |
|
48 |
/** |
|
49 |
* 是否开启 SSL |
|
50 |
*/ |
|
51 |
private Boolean sslEnable; |
|
52 |
/** |
|
53 |
* 是否开启 STARTTLS |
|
54 |
*/ |
|
55 |
private Boolean starttlsEnable; |
|
56 |
|
|
57 |
} |