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/partybuilding/west/PartyBuildingMemberVO.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/partybuilding/west/PartyBuildingMemberVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/partybuilding/west/PartyBuildingMemberVO.java index a31feb6..722e70c 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/partybuilding/west/PartyBuildingMemberVO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/partybuilding/west/PartyBuildingMemberVO.java @@ -1,6 +1,8 @@ package com.panzhihua.common.model.vos.partybuilding.west; 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; @@ -27,10 +29,12 @@ @ApiModelProperty(value = "转正时间") private Date employmentTime; @ApiModelProperty(value = "所属党组织id") + @JsonSerialize(using = ToStringSerializer.class) private Long orgId; @ApiModelProperty(value = "头像图片路径") private String photoPath; @ApiModelProperty(value = "社区ID", hidden = true) + @JsonSerialize(using = ToStringSerializer.class) private Long communityId; @ApiModelProperty(value = "社区名字") private String communityName; @@ -43,6 +47,7 @@ @ApiModelProperty(value = "状态") private String status; @ApiModelProperty(value = "党员唯一标识id") + @JsonSerialize(using = ToStringSerializer.class) private Long id; @ApiModelProperty(value = "报名时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @@ -63,6 +68,7 @@ private String position; @ApiModelProperty(value = "报道单位id") + @JsonSerialize(using = ToStringSerializer.class) private Long checkUnitId; @ApiModelProperty(value = "报道单位名称") -- Gitblit v1.7.1