From e14a6debcb17348164f703fcb2a7b9b1c3608352 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期五, 02 二月 2024 10:19:32 +0800
Subject: [PATCH] 提交版本

---
 meiya-admin/src/main/java/com/sinata/core/shiro/ShiroUser.java |   61 ++----------------------------
 1 files changed, 4 insertions(+), 57 deletions(-)

diff --git a/meiya-admin/src/main/java/com/sinata/core/shiro/ShiroUser.java b/meiya-admin/src/main/java/com/sinata/core/shiro/ShiroUser.java
index 89b967d..efe3167 100644
--- a/meiya-admin/src/main/java/com/sinata/core/shiro/ShiroUser.java
+++ b/meiya-admin/src/main/java/com/sinata/core/shiro/ShiroUser.java
@@ -1,5 +1,7 @@
 package com.sinata.core.shiro;
 
+import lombok.Data;
+
 import java.io.Serializable;
 import java.util.List;
 
@@ -9,6 +11,7 @@
  * @author fengshuonan
  * @date 2016年12月5日 上午10:26:43
  */
+@Data
 public class ShiroUser implements Serializable {
 
     private static final long serialVersionUID = 1L;
@@ -18,64 +21,8 @@
     public String name;         // 姓名
     public Integer deptId;      // 部门id
     public List<Integer> roleList; // 角色集
+    public String cityCode; // 角色集
     public String deptName;        // 部门名称
     public List<String> roleNames; // 角色名称集
-
-
-    public Integer getId() {
-        return id;
-    }
-
-    public void setId(Integer id) {
-        this.id = id;
-    }
-
-    public String getAccount() {
-        return account;
-    }
-
-    public void setAccount(String account) {
-        this.account = account;
-    }
-
-    public String getName() {
-        return name;
-    }
-
-    public void setName(String name) {
-        this.name = name;
-    }
-
-    public Integer getDeptId() {
-        return deptId;
-    }
-
-    public void setDeptId(Integer deptId) {
-        this.deptId = deptId;
-    }
-
-    public List<Integer> getRoleList() {
-        return roleList;
-    }
-
-    public void setRoleList(List<Integer> roleList) {
-        this.roleList = roleList;
-    }
-
-    public String getDeptName() {
-        return deptName;
-    }
-
-    public void setDeptName(String deptName) {
-        this.deptName = deptName;
-    }
-
-    public List<String> getRoleNames() {
-        return roleNames;
-    }
-
-    public void setRoleNames(List<String> roleNames) {
-        this.roleNames = roleNames;
-    }
 
 }

--
Gitblit v1.7.1