From 2ddbd99aa5b2e396f96c6daba60fe1ac2573d9fb Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Sat, 18 May 2024 11:53:54 +0800
Subject: [PATCH] 新增RSS 订阅链接

---
 snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/entity/BlogArticleVo.java |   52 +++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 49 insertions(+), 3 deletions(-)

diff --git a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/entity/BlogArticleVo.java b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/entity/BlogArticleVo.java
index ceb1579..280508c 100644
--- a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/entity/BlogArticleVo.java
+++ b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/entity/BlogArticleVo.java
@@ -25,9 +25,11 @@
 package vip.xiaonuo.modular.blogarticle.entity;
 
 import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
 import lombok.Data;
 
 import java.util.Date;
+import java.util.List;
 
 /**
  * blog文章主体
@@ -79,7 +81,9 @@
     /**
      * 封面文件地址(id)
      */
+    @JsonIgnore
     private Long coverFileId;
+
 
     /**
      * 上次编辑时间
@@ -89,8 +93,14 @@
     /**
      * 发布时间
      */
-    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
+    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
     private Date publishDate;
+
+    /**
+     * 更新时间
+     */
+    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
+    private Date updateDate;
 
     /**
      * 是否置顶 0:否 1:是
@@ -103,10 +113,46 @@
      */
     private Integer authStatus;
 
+    /**
+     * 是否允许评论 0:否 1:是
+     */
+    private Integer isAllowedComment;
 
     /**
-     * 创建时间
+     * 是否有任意更新
      */
-    private Date createDate;
+    private Integer isAnyUpdate;
+
+    /**
+     * 外链跳转
+     */
+    private String jumpURL;
+
+    /**
+     * 上篇日志
+     */
+    private BlogArticleVo previousRecord;
+
+    /**
+     * 下篇日志
+     */
+    private BlogArticleVo nextRecord;
+
+
+    /**
+     * 图库地址列表
+     */
+    private List<String> pictureUrlList;
+
+    /**
+     * 视频地址列表
+     */
+    private List<String> videoUrlList;
+
+    @JsonIgnore
+    private String videoIds;
+
+    @JsonIgnore
+    private String pictureIds;
 
 }

--
Gitblit v1.9.1