From 3da01b2a6cf247f90aed86fc37d8cb0ab51a4b4c Mon Sep 17 00:00:00 2001
From: yanghui <2536613402@qq.com>
Date: 星期二, 29 十一月 2022 15:58:02 +0800
Subject: [PATCH] #feat .
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleDO.java | 147 +++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 124 insertions(+), 23 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..272dd76 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,16 +1,16 @@
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 com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
/**
- * @auther lyq
+ * @author lyq
* @create 2021-04-28 09:20:49
* @describe 邻里圈表实体类
*/
@@ -24,7 +24,7 @@
/**
* 主键id
*/
- @TableId(type = IdType.AUTO)
+ @TableId(type = IdType.ASSIGN_ID)
private Long id;
/**
@@ -90,29 +90,130 @@
/**
* 发布时间
*/
+ @TableField(fill = FieldFill.INSERT)
private Date createAt;
+ private String instruction;
/**
* 最后回复时间
*/
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;
+
+ /**
+ * 使用类型(1.邻里圈 2.问题清单 3.需求清单)
+ */
+ private Integer belongType;
+
+ private Integer solveStatus;
+
+ private Integer orderStatus;
+
+ private Long solveId;
+
+ private String solveContent;
+
+ private String solveUrl;
+
+ private Date orderTime;
+
+ private Date solveTime;
+
+ private Date commentTime;
+
+ private String comment;
+
+ private Integer orderType;
+
+ private Integer helpMemberType;
+
+ private String helpMemberContent;
+
+ private Integer helpOrgType;
+
+ private String helpOrgContent;
+
+ private Long solveUnitId;
+
+ private String realServiceTime;
+
+ private String targetServiceTime;
+
@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
+ + "}";
}
-}
\ No newline at end of file
+
+ /**
+ * 发布状态(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;
+ }
+
+ /**
+ * 使用类型(1.邻里圈 2.问题清单 3.需求清单)
+ */
+ public interface BelongType{
+ int LLQ = 1;
+ int WTQD = 2;
+ int XQQD = 3;
+ }
+}
--
Gitblit v1.7.1