From 2e64c232ab6b51b2cecf1ee96e1e9b709234f326 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期六, 21 八月 2021 16:35:14 +0800
Subject: [PATCH] 随手拍改版接口开发

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

diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngCarVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngCarVO.java
index 562c96d..c80ad67 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngCarVO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngCarVO.java
@@ -1,6 +1,10 @@
 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.model.helper.encrypt.EncryptDecryptClass;
+import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
@@ -15,9 +19,11 @@
  */
 @Data
 @ApiModel("车辆管理")
+@EncryptDecryptClass
 public class ComMngCarVO implements Serializable {
 
     @ApiModelProperty("主键")
+    @JsonSerialize(using = ToStringSerializer.class)
     private Long id;
 
     @ApiModelProperty("社区ID")
@@ -30,10 +36,18 @@
     private String areaName;
 
     @ApiModelProperty("小区ID")
+    @JsonSerialize(using = ToStringSerializer.class)
     private Long areaId;
+
+    @ApiModelProperty("详细住址")
+    private String address;
 
     @ApiModelProperty("车主姓名")
     private String userName;
+
+    @ApiModelProperty("车主身份证号码")
+    @EncryptDecryptField
+    private String cardNo;
 
     @ApiModelProperty("车主用户ID")
     private Long userId;
@@ -44,14 +58,11 @@
     @ApiModelProperty("车牌号")
     private String plateNum;
 
-    @ApiModelProperty("车辆品牌")
+    @ApiModelProperty("车辆品牌型号")
     private String brand;
 
     @ApiModelProperty("车身颜色")
     private String color;
-
-    @ApiModelProperty("车辆型号")
-    private String model;
 
     @ApiModelProperty("创建时间")
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")

--
Gitblit v1.7.1