From c14eb328564ebf665d53ac3df08f317380b8a28d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E6=B2=90?= Date: Tue, 25 Jun 2024 17:20:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=AE=E4=BB=B6=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../maku/system/entity/SysMailConfigEntity.java | 72 ++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 maku-boot-system/src/main/java/net/maku/system/entity/SysMailConfigEntity.java diff --git a/maku-boot-system/src/main/java/net/maku/system/entity/SysMailConfigEntity.java b/maku-boot-system/src/main/java/net/maku/system/entity/SysMailConfigEntity.java new file mode 100644 index 0000000..c6496e7 --- /dev/null +++ b/maku-boot-system/src/main/java/net/maku/system/entity/SysMailConfigEntity.java @@ -0,0 +1,72 @@ +package net.maku.system.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; +import lombok.EqualsAndHashCode; +import net.maku.framework.mybatis.entity.BaseEntity; + +/** + * 邮件平台 + * + * @author 阿沐 babamu@126.com + */ +@Data +@EqualsAndHashCode(callSuper = false) +@TableName("sys_mail_config") +public class SysMailConfigEntity extends BaseEntity { + /** + * 平台类型 -1:本地 0:阿里云 + */ + private Integer platform; + + /** + * 分组名称,发送邮件时,可指定分组 + */ + private String groupName; + + /** + * SMTP服务器 + */ + private String mailHost; + + /** + * SMTP端口 + */ + private Integer mailPort; + + /** + * 发件人邮箱 + */ + private String mailFrom; + + /** + * 发件人密码 + */ + private String mailPass; + + /** + * regionId + */ + private String regionId; + + /** + * 阿里云 endpoint + */ + private String endpoint; + + /** + * AccessKey + */ + private String accessKey; + + /** + * SecretKey + */ + private String secretKey; + + /** + * 状态 0:禁用 1:启用 + */ + private Integer status; + +} \ No newline at end of file