From 7294edec2274ae72d80efecfc9fb0ca7a884c31b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E6=B2=90?= Date: Tue, 25 Jun 2024 17:17:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=AE=E4=BB=B6=E9=85=8D=E7=BD=AEVO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/net/maku/system/vo/SysMailConfigVO.java | 78 ++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 maku-boot-system/src/main/java/net/maku/system/vo/SysMailConfigVO.java diff --git a/maku-boot-system/src/main/java/net/maku/system/vo/SysMailConfigVO.java b/maku-boot-system/src/main/java/net/maku/system/vo/SysMailConfigVO.java new file mode 100644 index 0000000..353b6a0 --- /dev/null +++ b/maku-boot-system/src/main/java/net/maku/system/vo/SysMailConfigVO.java @@ -0,0 +1,78 @@ +package net.maku.system.vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import net.maku.framework.common.utils.DateUtils; + +import java.io.Serializable; +import java.util.Date; + +/** + * 邮件配置 + * + * @author 阿沐 babamu@126.com + */ +@Data +@Schema(description = "邮件配置") +public class SysMailConfigVO implements Serializable { + private static final long serialVersionUID = 1L; + + @Schema(description = "id") + private Long id; + + @Schema(description = "平台类型") + private Integer platform; + + @Schema(description = "分组名称,发送邮件时,可指定分组") + private String groupName; + + @Schema(description = "SMTP服务器") + private String mailHost; + + @Schema(description = "SMTP端口") + private Integer mailPort; + + @Schema(description = "发件人邮箱") + private String mailFrom; + + @Schema(description = "发件人密码") + private String mailPass; + + @Schema(description = "regionId") + private String regionId; + + @Schema(description = "阿里云 endpoint") + private String endpoint; + + @Schema(description = "AccessKey") + private String accessKey; + + @Schema(description = "SecretKey") + private String secretKey; + + @Schema(description = "状态 0:禁用 1:启用") + private Integer status; + + @Schema(description = "版本号") + private Integer version; + + @Schema(description = "删除标识") + private Integer deleted; + + @Schema(description = "创建者") + private Long creator; + + @Schema(description = "创建时间") + @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN) + private Date createTime; + + @Schema(description = "更新者") + private Long updater; + + @Schema(description = "更新时间") + @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN) + private Date updateTime; + + +} \ No newline at end of file