From 10df7e29b51d6a2efacc83d870856f57d97a9b66 Mon Sep 17 00:00:00 2001
From: yanghui <2536613402@qq.com>
Date: 星期一, 24 十月 2022 13:48:24 +0800
Subject: [PATCH] #feat 修改别名

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

diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActFourMemberVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActFourMemberVO.java
index bb82d98..f6e63c9 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActFourMemberVO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActFourMemberVO.java
@@ -1,6 +1,8 @@
 package com.panzhihua.common.model.vos.community;
 
 import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.databind.annotation.JsonSerialize;
+import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
 import com.panzhihua.common.validated.AddGroup;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
@@ -8,8 +10,10 @@
 
 import javax.validation.constraints.Min;
 import javax.validation.constraints.Pattern;
+import java.util.Arrays;
 import java.util.Date;
 import java.util.List;
+import java.util.stream.Collectors;
 
 /**
  * @author zzj
@@ -17,12 +21,14 @@
 @Data
 @ApiModel("四长四员实体")
 public class ComActFourMemberVO {
-    private Integer id;
+    @JsonSerialize(using = ToStringSerializer.class)
+    private Long id;
 
     /**
      * 用户id
      */
     @ApiModelProperty(value = "用户id")
+    @JsonSerialize(using = ToStringSerializer.class)
     private Long userId;
 
     /**
@@ -41,6 +47,7 @@
      * 社区id
      */
     @ApiModelProperty(value = "社区id")
+    @JsonSerialize(using = ToStringSerializer.class)
     private Long communityId;
 
     /**
@@ -64,6 +71,7 @@
 
     @ApiModelProperty("角色")
     @Min(value = 1, groups = {AddGroup.class}, message = "角色不能为空")
+    @JsonSerialize(using = ToStringSerializer.class)
     private Long roleId;
 
     @ApiModelProperty("手机号")
@@ -85,4 +93,11 @@
 
     @ApiModelProperty("id数组")
     private Integer[] ids;
+
+    @ApiModelProperty("管辖区域")
+    private String jurisdictionContent;
+
+    @ApiModelProperty("管辖区域数组")
+    private List<String> jurisdictionContentList;
+
 }

--
Gitblit v1.7.1