From cf25cda454a645ea47ce6135184c3df6afd09ddc Mon Sep 17 00:00:00 2001
From: Administrator <zhubaomin>
Date: 星期六, 20 一月 2024 10:40:41 +0800
Subject: [PATCH] 2024-01-20 朱宝民 删除不存在用户提示信息,用户名字段改名,Long型字段转字符串

---
 pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoBa/BaUser.java |   35 +++++++++++++++++++----------------
 1 files changed, 19 insertions(+), 16 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoBa/BaUser.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoBa/BaUser.java
index 73270a4..f7f99ee 100644
--- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoBa/BaUser.java
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoBa/BaUser.java
@@ -67,7 +67,7 @@
     @Schema(description = "濮撳悕", requiredMode = Schema.RequiredMode.REQUIRED)
     @NotEmpty(message = "濮撳悕涓嶈兘涓虹┖") //涓嶈兘涓虹┖涔熶笉鑳戒负null
     @Length(message = "濮撳悕涓嶅ぇ浜巤max}瀛楋紝涓嶅皬浜巤min}瀛�", min = 2, max = 25)
-    public String name;
+    public String userName;
 
     /**
      * 鎵嬫満鍙凤紝鎵嬫満鍙风敤浜庣櫥褰曠郴缁�
@@ -93,6 +93,7 @@
     /**
      * 鏄惁瓒呯骇绠$悊鍛� 1:鏄�,0:鍚�
      */
+    @Schema(hidden = true)
     @TableField(value = "supperAdmin")
     @JSONField(serialize = false)
     public Byte supperAdmin;
@@ -111,29 +112,31 @@
 
 
     /**
-     * 鐢ㄦ埛鎵�灞炶鑹�
-     */
-    @TableField(exist = false)
-    public List<?> roleList ;
-
-    /**
-     * 鐢ㄦ埛鎵�鎷ユ湁鐨勬潈闄�
-     */
-    @TableField(exist = false)
-    public List<Integer> privileges;
-    //public transient List<Integer> privileges;//姝ょ鏂瑰紡鍙橀噺涓嶅瓨搴擄紝 涔熶笉鍙備笌搴忓垪鍖栦簡
-
-    /**
      * 鐢ㄦ埛鎵�灞炶鑹睮d
      */
-    @Schema(hidden = true)
+    @Schema(description = "鎵�褰掕鑹诧紙鎵�灞炶鑹睮D瀛楃涓叉暟缁勶級", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
     @TableField(exist = false)
     public String[] roleIds ;
 
     /**
+     * 鐢ㄦ埛鎵�灞炶鑹�
+     */
+    @Schema(description = "鎵�褰掕鑹插垪琛紝鐢ㄤ簬鏄剧ず锛岃〃鍗曚笉鐢ㄥ~鍐�", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+    @TableField(exist = false)
+    public List<?> roleList ;
+
+    /**
+     * 鐢ㄦ埛鎵�鎷ユ湁鐨勬潈闄愶紝閽堝鐧诲綍搴旂敤
+     */
+    @Schema(hidden = true)
+    @TableField(exist = false)
+    @JSONField(serialize = false)
+    public List<Integer> privileges;
+
+    /**
      * 鎵�灞炵墖鍖哄悕绉�
      */
-    @Schema(description = "鎵�灞炵墖鍖哄悕绉帮紝琛ㄥ崟涓嶇敤濉啓", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
+    @Schema(description = "鎵�灞炵墖鍖哄悕绉帮紝鐢ㄤ簬鏄剧ず锛岃〃鍗曚笉鐢ㄥ~鍐�", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
     @TableField(exist = false)
     public String blockName ;
 }
\ No newline at end of file

--
Gitblit v1.8.0