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 | 8 +++++++- 1 files changed, 7 insertions(+), 1 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 6c1a65f..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("主题") @@ -109,7 +112,7 @@ private BigDecimal imgWidth; @ApiModelProperty("单张图片高度") - private BigDecimal heightWidth; + private BigDecimal imgHeight; @ApiModelProperty("是否可重复投票(1.是 2.否)") private Integer isRepeat; @@ -126,6 +129,9 @@ @ApiModelProperty("已投票记录列表") private List<ComActDiscussOptionUserVO> comActDiscussOptionUserVOList; + @ApiModelProperty("议事内容类型(1.社区议事 2.院落议事 3.党群议事)") + private Integer contentType; + @ApiModelProperty("已参与投票人数") private Integer votedPersonNum; -- Gitblit v1.7.1