From a830a73fd10a21e3793c79a35be4e532de124c6f Mon Sep 17 00:00:00 2001
From: nickchange <126672920+nickchange@users.noreply.github.com>
Date: 星期二, 17 十月 2023 17:25:16 +0800
Subject: [PATCH] 10.17.1

---
 cloud-server-other/src/main/java/com/dsh/other/entity/Banner.java |   43 +++++++++++++++++++++++++++++++++++++++----
 1 files changed, 39 insertions(+), 4 deletions(-)

diff --git a/cloud-server-other/src/main/java/com/dsh/other/entity/Banner.java b/cloud-server-other/src/main/java/com/dsh/other/entity/Banner.java
index a664590..7e188fe 100644
--- a/cloud-server-other/src/main/java/com/dsh/other/entity/Banner.java
+++ b/cloud-server-other/src/main/java/com/dsh/other/entity/Banner.java
@@ -4,9 +4,12 @@
 import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
-import lombok.Data;
 
+import com.fasterxml.jackson.annotation.JsonFormat;
+import lombok.Data;
 import java.util.Date;
+
+
 
 /**
  * @author zhibing.pu
@@ -21,7 +24,7 @@
     @TableId(value = "id", type = IdType.AUTO)
     private Integer id;
     /**
-     * 位置(1=首页,2=首页底部,3=线上课得积分,4=看视频得奖励,5=常见问题)
+     * 位置(1=首页,2=线上课得积分,3=看视频得奖励,4=常见问题)
      */
     @TableField("position")
     private Integer position;
@@ -31,10 +34,10 @@
     @TableField("img")
     private String img;
     /**
-     * 跳转页面
+     * 跳转页面id
      */
     @TableField("jumpPage")
-    private String jumpPage;
+    private Integer jumpPage;
     /**
      * 排序
      */
@@ -49,5 +52,37 @@
      * 添加时间
      */
     @TableField("insertTime")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
     private Date insertTime;
+    /**
+     * 跳转模块
+     */
+    @TableField("model")
+    private String model;
+    /**
+     * 广告名称
+     */
+    @TableField("name")
+    private String name;
+    /**
+     * 跳转类型
+     */
+    @TableField("type")
+    private String type;
+    /**
+     * 跳转类型
+     */
+    @TableField("turnId")
+    private String turnId;
+    /**
+     * 跳转页面
+     */
+    @TableField("page")
+    private String page;
+    /**
+     * 跳转类型id
+     */
+    @TableField("typeId")
+    private Integer typeId;
 }
+

--
Gitblit v1.7.1