From 0a4aee700a60c4b28248f3d1a7f4f91376b68492 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期一, 01 八月 2022 14:46:47 +0800
Subject: [PATCH] Merge branch 'haucheng_panzhihua' into shuangzheng2
---
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActDiscussCommentVO.java | 34 ++++++++++++++++++++++++++++++++--
1 files changed, 32 insertions(+), 2 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActDiscussCommentVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActDiscussCommentVO.java
index 8799c1b..ee182e8 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActDiscussCommentVO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActDiscussCommentVO.java
@@ -1,11 +1,15 @@
package com.panzhihua.common.model.vos.community;
+import java.util.Date;
+import java.util.List;
+
import com.fasterxml.jackson.annotation.JsonFormat;
+
+import com.fasterxml.jackson.databind.annotation.JsonSerialize;
+import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
-
-import java.util.Date;
/**
* @program: springcloud_k8s_panzhihuazhihuishequ
@@ -17,6 +21,7 @@
@ApiModel("一起议评论详情")
public class ComActDiscussCommentVO {
@ApiModelProperty("主键")
+ @JsonSerialize(using = ToStringSerializer.class)
private Long id;
@ApiModelProperty("一起议主键")
@@ -44,11 +49,26 @@
@ApiModelProperty("评论人名字")
private String userName;
+ @ApiModelProperty("评论人昵称")
+ private String userNickName;
+
+ @ApiModelProperty("回复人名字")
+ private String userNameBack;
+
+ @ApiModelProperty("回复人昵称")
+ private String userNickNameBack;
+
@ApiModelProperty("评论人手机号")
private String phone;
+ @ApiModelProperty("评论人头像")
+ private String imageUrl;
+
@ApiModelProperty("点赞数量")
private Integer num;
+
+ @ApiModelProperty("是否点赞 1 是 0 否")
+ private Integer haveSign = 0;
@ApiModelProperty("回复内容")
private String commentBack;
@@ -56,4 +76,14 @@
@ApiModelProperty("回复时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date timeBack;
+
+ @ApiModelProperty("二级评论集合")
+ private List<ComActDiscussCommentVO> comActDiscussCommentVOList;
+
+ @ApiModelProperty("评论人用户类型(1.小程序用户(其他均为后台用户))")
+ private Integer userType;
+
+ @ApiModelProperty("回复量")
+ private Integer replyNum;
+
}
--
Gitblit v1.7.1