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 | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 46 insertions(+), 0 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 bcdaf31..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; + /** * 上次编辑时间 @@ -91,6 +95,12 @@ */ @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") private Date publishDate; + + /** + * 更新时间 + */ + @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") + private Date updateDate; /** * 是否置顶 0:否 1:是 @@ -108,5 +118,41 @@ */ private Integer isAllowedComment; + /** + * 是否有任意更新 + */ + 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