From fef2b225354832d300fd7f93a71432789a539b12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E6=B2=90?= Date: Tue, 25 Jun 2024 17:20:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/net/maku/message/entity/SmsLogEntity.java | 64 ---------------------- .../net/maku/system/entity/SysSmsLogEntity.java | 62 +++++++++++++++++++++ 2 files changed, 62 insertions(+), 64 deletions(-) delete mode 100644 maku-boot-module/maku-module-message/src/main/java/net/maku/message/entity/SmsLogEntity.java create mode 100644 maku-boot-system/src/main/java/net/maku/system/entity/SysSmsLogEntity.java diff --git a/maku-boot-module/maku-module-message/src/main/java/net/maku/message/entity/SmsLogEntity.java b/maku-boot-module/maku-module-message/src/main/java/net/maku/message/entity/SmsLogEntity.java deleted file mode 100644 index df5fdab..0000000 --- a/maku-boot-module/maku-module-message/src/main/java/net/maku/message/entity/SmsLogEntity.java +++ /dev/null @@ -1,64 +0,0 @@ -package net.maku.message.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 lombok.EqualsAndHashCode; - -import java.time.LocalDateTime; - -/** - * 短信日志 - * - * @author 阿沐 babamu@126.com - * MAKU - */ -@Data -@EqualsAndHashCode(callSuper = false) -@TableName("sms_log") -public class SmsLogEntity { - /** - * id - */ - @TableId - private Long id; - - /** - * 平台ID - */ - private Long platformId; - - /** - * 平台类型 - */ - private Integer platform; - - /** - * 手机号 - */ - private String mobile; - - /** - * 状态 0:失败 1:成功 - */ - private Integer status; - - /** - * 参数 - */ - private String params; - - /** - * 异常信息 - */ - private String error; - - /** - * 创建时间 - */ - @TableField(fill = FieldFill.INSERT) - private LocalDateTime createTime; - -} \ No newline at end of file diff --git a/maku-boot-system/src/main/java/net/maku/system/entity/SysSmsLogEntity.java b/maku-boot-system/src/main/java/net/maku/system/entity/SysSmsLogEntity.java new file mode 100644 index 0000000..f8c7be1 --- /dev/null +++ b/maku-boot-system/src/main/java/net/maku/system/entity/SysSmsLogEntity.java @@ -0,0 +1,62 @@ +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 + * MAKU + */ +@Data +@TableName("sys_sms_log") +public class SysSmsLogEntity { + /** + * id + */ + @TableId + private Long id; + + /** + * 平台ID + */ + private Long platformId; + + /** + * 平台类型 + */ + private Integer platform; + + /** + * 手机号 + */ + private String mobile; + + /** + * 状态 0:失败 1:成功 + */ + private Integer status; + + /** + * 参数 + */ + private String params; + + /** + * 异常信息 + */ + private String error; + + /** + * 创建时间 + */ + @TableField(fill = FieldFill.INSERT) + private LocalDateTime createTime; + +} \ No newline at end of file