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/dtos/community/PageEldersAuthElderlyDTO.java |   23 ++++++++++++++---------
 1 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/PageEldersAuthElderlyDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/PageEldersAuthElderlyDTO.java
index c02004c..aac4cd2 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/PageEldersAuthElderlyDTO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/PageEldersAuthElderlyDTO.java
@@ -1,11 +1,14 @@
 package com.panzhihua.common.model.dtos.community;
 
+import javax.validation.constraints.NotNull;
+import javax.validation.constraints.Pattern;
+
+import com.panzhihua.common.model.helper.encrypt.EncryptQuery;
+import com.panzhihua.common.model.helper.encrypt.EncryptQueryClass;
+
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-
-import javax.validation.constraints.NotNull;
-import javax.validation.constraints.Pattern;
 
 /**
  * 高领老人分页查询条件
@@ -13,9 +16,10 @@
  * @author cedoo email:cedoo(a)qq.com
  * @version 1.0
  * @since 1.0
- * */
+ */
 @Data
 @ApiModel("高领老人分页查询条件")
+@EncryptQueryClass
 public class PageEldersAuthElderlyDTO {
 
     @ApiModelProperty(value = "分页-当前页数,默认1", example = "1", required = true)
@@ -27,24 +31,25 @@
     private Long pageSize = 10L;
 
     @ApiModelProperty(value = "排序字段, 默认createAt", hidden = true, example = "createAt")
-    private String sortBy="create_at";
+    private String sortBy = "create_at";
 
     @ApiModelProperty(value = "排序方式: asc/desc(默认)", hidden = true, example = "desc")
     @Pattern(regexp = "asc|desc|ASC|DESC")
-    private String order="desc";
+    private String order = "desc";
 
     @ApiModelProperty(value = "姓名", example = "妞妞")
     private String name;
 
     @ApiModelProperty(value = "身份证号码")
+    @EncryptQuery
     private String idCard;
 
-    @ApiModelProperty(value = "人员类别",example = "1:80-89周岁;2:90-99周岁;3:100周岁(含)以上")
+    @ApiModelProperty(value = "人员类别", example = "1:80-89周岁;2:90-99周岁;3:100周岁(含)以上")
     private Integer level;
 
-    @ApiModelProperty(value = "是否健在",example = "1是,2否")
+    @ApiModelProperty(value = "是否健在", example = "1是,2否")
     private Integer isExist;
 
-    @ApiModelProperty(value = "是否办理高龄津贴",example = "1是,2否")
+    @ApiModelProperty(value = "是否办理高龄津贴", example = "1是,2否")
     private Integer isBigAge;
 }

--
Gitblit v1.7.1