|
|
@@ -23,6 +23,7 @@ public class UserInfo {
|
|
|
this.userName = user.getUserName();
|
|
|
this.userTel = user.getUserTel();
|
|
|
this.userSex = user.getUserSex();
|
|
|
+ this.sys = user.isSys();
|
|
|
if (user.getRoles() != null && user.getRoles().size() > 0) {
|
|
|
StringBuffer sb = new StringBuffer();
|
|
|
for (Role role : user.getRoles()) {
|
|
|
@@ -68,6 +69,8 @@ public class UserInfo {
|
|
|
private String userSex;
|
|
|
|
|
|
private String role;
|
|
|
+
|
|
|
+ private boolean sys;
|
|
|
|
|
|
private List<Map<String, Object>> enterprises;
|
|
|
|
|
|
@@ -127,4 +130,12 @@ public class UserInfo {
|
|
|
this.enterprises = enterprises;
|
|
|
}
|
|
|
|
|
|
+ public boolean isSys() {
|
|
|
+ return sys;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSys(boolean sys) {
|
|
|
+ this.sys = sys;
|
|
|
+ }
|
|
|
+
|
|
|
}
|