From 1b9b482e6c55f043a586665b84d2d0feb8daa397 Mon Sep 17 00:00:00 2001
From: tangxiaobao <303826152@qq.com>
Date: 星期三, 15 九月 2021 14:55:10 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/test_bak' into test_bak
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleDO.java | 90 +++++++++++++++++++++++++++++++++++----------
1 files changed, 70 insertions(+), 20 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleDO.java
index c31306e..2a12a65 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleDO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleDO.java
@@ -1,13 +1,11 @@
package com.panzhihua.service_community.model.dos;
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableName;
-import lombok.Data;
-
import java.io.Serializable;
import java.util.Date;
+import com.baomidou.mybatisplus.annotation.*;
+
+import lombok.Data;
/**
* @auther lyq
@@ -90,6 +88,7 @@
/**
* 发布时间
*/
+ @TableField(fill = FieldFill.INSERT)
private Date createAt;
/**
@@ -97,22 +96,73 @@
*/
private Date replyAt;
+ /**
+ * 近3天评论数
+ */
+ private Integer lastCommentNum;
+
+ /**
+ * 近3天评论数
+ */
+ private Integer lastFabulousNum;
+
+ /**
+ * 近3天评论数
+ */
+ private Integer lastViewsNum;
+
+ /**
+ * 话题id
+ */
+ private Long topicId;
+
+ /**
+ * 发布类型(1.小程序发布 2.后台发布)
+ */
+ private Integer type;
+
+ /**
+ * 热度
+ */
+ private Long hotNum;
+
+ /**
+ * 是否已删除(1.是 2.否)
+ */
+ private Integer isDel;
+
@Override
public String toString() {
- return "ComActNeighborCircleDO{" +
- "id=" + id +
- ", releaseId=" + releaseId +
- ", releasePhone=" + releasePhone +
- ", communityId=" + communityId +
- ", releaseContent=" + releaseContent +
- ", releaseImages=" + releaseImages +
- ", status=" + status +
- ", refuseReason=" + refuseReason +
- ", commentNum=" + commentNum +
- ", fabulousNum=" + fabulousNum +
- ", forwardNum=" + forwardNum +
- ", isBoutique=" + isBoutique +
- ", createAt=" + createAt +
- "}";
+ return "ComActNeighborCircleDO{" + "id=" + id + ", releaseId=" + releaseId + ", releasePhone=" + releasePhone
+ + ", communityId=" + communityId + ", releaseContent=" + releaseContent + ", releaseImages=" + releaseImages
+ + ", status=" + status + ", refuseReason=" + refuseReason + ", commentNum=" + commentNum + ", fabulousNum="
+ + fabulousNum + ", forwardNum=" + forwardNum + ", isBoutique=" + isBoutique + ", createAt=" + createAt
+ + "}";
+ }
+
+ /**
+ * 发布状态(1.待审核 2.显示 3.隐藏 4.驳回)
+ */
+ public interface status {
+ int dsh = 1;
+ int xs = 2;
+ int yc = 3;
+ int bh = 4;
+ }
+
+ /**
+ * 发布类型(1.小程序发布 2.后台发布)
+ */
+ public interface type {
+ int mini = 1;
+ int admin = 2;
+ }
+
+ /**
+ * 是否已删除(1.是 2.否)
+ */
+ public interface isDel{
+ int yes = 1;
+ int no = 2;
}
}
\ No newline at end of file
--
Gitblit v1.7.1