From b2242780c6994327c105e97a2240e282ee52f90c Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 24 Jun 2022 16:14:31 +0800
Subject: [PATCH] 20220606
---
src/main/java/com/xcong/farmer/cms/modules/system/entity/ArticleEntity.java | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 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 daecf72..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,13 +63,17 @@
//发布时间
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date releaseTime;
+ //设置成热门文章 0:否 1:是
+ private Integer isTop;
//是否立即发布 0:否 1:是
private Integer releaseStatus;
//文章详情
private String articleDetails;
+ //上传附件
+ private String uploadFile;
//是否删除 0:已删除 1:未删除
private Integer delStatus;
//所属ID
- private Long belongId;
+ private Long companyId;
}
--
Gitblit v1.9.1