From 27b61ffe97c575cdc6c2e8b9f010ab1021e7160e Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Sat, 02 Jul 2022 21:36:56 +0800
Subject: [PATCH] 添加模板解析逻辑
---
src/main/java/com/xcong/farmer/cms/modules/system/entity/ArticleEntity.java | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/xcong/farmer/cms/modules/system/entity/ArticleEntity.java b/src/main/java/com/xcong/farmer/cms/modules/system/entity/ArticleEntity.java
index 0e724c9..6cf38dc 100644
--- a/src/main/java/com/xcong/farmer/cms/modules/system/entity/ArticleEntity.java
+++ b/src/main/java/com/xcong/farmer/cms/modules/system/entity/ArticleEntity.java
@@ -30,6 +30,14 @@
*/
public static final Integer DELETE_STATUS_YES = 0;
/**
+ * 设置成热门文章 0:否
+ */
+ public static final Integer ISTOP_NO = 0;
+ /**
+ * 设置成热门文章 1:是
+ */
+ public static final Integer ISTOP_YES = 1;
+ /**
* 访问量
*/
public static final Integer VISITS_DEFAULT = 0;
@@ -55,6 +63,8 @@
//发布时间
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date releaseTime;
+ //设置成热门文章 0:否 1:是
+ private Integer isTop;
//是否立即发布 0:否 1:是
private Integer releaseStatus;
//文章详情
--
Gitblit v1.9.1