From 02f18587bd8860b305e2c688e20465be166bb48c Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期四, 22 七月 2021 15:14:03 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/test' into test --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleDO.java | 48 +++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 45 insertions(+), 3 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..7cc0312 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,8 +1,6 @@ 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 com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.io.Serializable; @@ -90,6 +88,7 @@ /** * 发布时间 */ + @TableField(fill = FieldFill.INSERT) private Date createAt; /** @@ -97,6 +96,49 @@ */ private Date replyAt; + /** + * 近3天评论数 + */ + private Integer lastCommentNum; + + /** + * 近3天评论数 + */ + private Integer lastFabulousNum; + + /** + * 近3天评论数 + */ + private Integer lastViewsNum; + + /** + * 话题id + */ + private Long topicId; + + /** + * 发布类型(1.小程序发布 2.后台发布) + */ + private Integer type; + + /** + * 发布状态(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; + } + @Override public String toString() { return "ComActNeighborCircleDO{" + -- Gitblit v1.7.1