From e7f03acfa5ee4ad4fd6d1ee9e9ae9a5655488f6d Mon Sep 17 00:00:00 2001 From: 101captain <237651143@qq.com> Date: 星期二, 09 十一月 2021 17:04:46 +0800 Subject: [PATCH] 1109修改 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleDO.java | 61 ++++++++++++++++++------------ 1 files changed, 37 insertions(+), 24 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 969772c..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,11 +1,11 @@ package com.panzhihua.service_community.model.dos; -import com.baomidou.mybatisplus.annotation.*; -import lombok.Data; - import java.io.Serializable; import java.util.Date; +import com.baomidou.mybatisplus.annotation.*; + +import lombok.Data; /** * @auther lyq @@ -112,14 +112,38 @@ private Integer lastViewsNum; /** - * 发布类型(1.小程序发布 2.后台发布) + * 话题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 + + "}"; + } + + /** * 发布状态(1.待审核 2.显示 3.隐藏 4.驳回) */ - public interface status{ + public interface status { int dsh = 1; int xs = 2; int yc = 3; @@ -127,29 +151,18 @@ } /** - * 发布类型(1.小程序发布 2.后台发布) + * 发布类型(1.小程序发布 2.后台发布) */ - public interface type{ + public interface type { int mini = 1; int admin = 2; } - @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 + - "}"; + /** + * 是否已删除(1.是 2.否) + */ + public interface isDel{ + int yes = 1; + int no = 2; } } \ No newline at end of file -- Gitblit v1.7.1