From a0c512f258f4b18a2df0fa6181550e531fcd6430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E6=B2=90?= Date: Tue, 25 Jun 2024 17:20:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=AE=E4=BB=B6=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../net/maku/system/entity/SysMailLogEntity.java | 70 ++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 maku-boot-system/src/main/java/net/maku/system/entity/SysMailLogEntity.java diff --git a/maku-boot-system/src/main/java/net/maku/system/entity/SysMailLogEntity.java b/maku-boot-system/src/main/java/net/maku/system/entity/SysMailLogEntity.java new file mode 100644 index 0000000..982ba41 --- /dev/null +++ b/maku-boot-system/src/main/java/net/maku/system/entity/SysMailLogEntity.java @@ -0,0 +1,70 @@ +package net.maku.system.entity; + +import com.baomidou.mybatisplus.annotation.FieldFill; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + +import java.time.LocalDateTime; + +/** + * 邮件日志 + * + * @author 阿沐 babamu@126.com + */ +@Data +@TableName("sys_mail_log") +public class SysMailLogEntity { + /** + * id + */ + @TableId + private Long id; + + /** + * 平台ID + */ + private Long platformId; + + /** + * 平台类型 + */ + private Integer platform; + + /** + * 发件人邮箱 + */ + private String mailFrom; + + /** + * 接受人邮箱 + */ + private String mailTos; + + /** + * 邮件主题 + */ + private String subject; + + /** + * 邮件内容 + */ + private String content; + + /** + * 状态 0:失败 1:成功 + */ + private Integer status; + + /** + * 异常信息 + */ + private String error; + + /** + * 创建时间 + */ + @TableField(fill = FieldFill.INSERT) + private LocalDateTime createTime; +} \ No newline at end of file