From 43f0578e80af82ecae6c61b51bd0539c6b960603 Mon Sep 17 00:00:00 2001
From: puhanshu <a9236326>
Date: 星期二, 16 八月 2022 19:08:32 +0800
Subject: [PATCH] 服务范围优化

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActDiscussVO.java |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActDiscussVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActDiscussVO.java
index 51f43b2..3306a4a 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActDiscussVO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActDiscussVO.java
@@ -6,6 +6,8 @@
 
 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;
@@ -20,6 +22,7 @@
 @ApiModel("一起议议详情")
 public class ComActDiscussVO {
     @ApiModelProperty("主键")
+    @JsonSerialize(using = ToStringSerializer.class)
     private Long id;
 
     @ApiModelProperty("主题")
@@ -102,14 +105,14 @@
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     private Date endTime;
 
-    @ApiModelProperty("参与人数")
+    @ApiModelProperty("参与讨论人数")
     private Integer joinNum;
 
     @ApiModelProperty("单张图片宽度")
     private BigDecimal imgWidth;
 
     @ApiModelProperty("单张图片高度")
-    private BigDecimal heightWidth;
+    private BigDecimal imgHeight;
 
     @ApiModelProperty("是否可重复投票(1.是 2.否)")
     private Integer isRepeat;
@@ -120,6 +123,18 @@
     @ApiModelProperty("议事投票评论列表")
     private List<ComActDiscussCommentVO> discussCommentList;
 
+    @ApiModelProperty("剩余可投票数")
+    private Integer remainingVotes;
+
+    @ApiModelProperty("已投票记录列表")
+    private List<ComActDiscussOptionUserVO> comActDiscussOptionUserVOList;
+
+    @ApiModelProperty("议事内容类型(1.社区议事 2.院落议事 3.党群议事)")
+    private Integer contentType;
+
+    @ApiModelProperty("已参与投票人数")
+    private Integer votedPersonNum;
+
     /**
      * 类型 1 议事 2 投票
      */

--
Gitblit v1.7.1