From bbda2ee1af4e86d76f93e00386d77efb56c60d5f Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期六, 23 七月 2022 15:42:06 +0800 Subject: [PATCH] bug修改 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActDiscussCommentVO.java | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 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 2b59c93..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,12 +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; -import java.util.List; /** * @program: springcloud_k8s_panzhihuazhihuishequ @@ -18,6 +21,7 @@ @ApiModel("一起议评论详情") public class ComActDiscussCommentVO { @ApiModelProperty("主键") + @JsonSerialize(using = ToStringSerializer.class) private Long id; @ApiModelProperty("一起议主键") @@ -51,6 +55,8 @@ @ApiModelProperty("回复人名字") private String userNameBack; + @ApiModelProperty("回复人昵称") + private String userNickNameBack; @ApiModelProperty("评论人手机号") private String phone; @@ -62,7 +68,7 @@ private Integer num; @ApiModelProperty("是否点赞 1 是 0 否") - private Integer haveSign; + private Integer haveSign = 0; @ApiModelProperty("回复内容") private String commentBack; @@ -74,4 +80,10 @@ @ApiModelProperty("二级评论集合") private List<ComActDiscussCommentVO> comActDiscussCommentVOList; + @ApiModelProperty("评论人用户类型(1.小程序用户(其他均为后台用户))") + private Integer userType; + + @ApiModelProperty("回复量") + private Integer replyNum; + } -- Gitblit v1.7.1