|
@@ -4,20 +4,6 @@ import java.util.List;
|
|
|
|
|
|
import cn.com.qmth.examcloud.commons.web.cloud.api.JsonSerializable;
|
|
|
|
|
|
-/**
|
|
|
- * 类注释
|
|
|
- *
|
|
|
- * @author WANGWEI
|
|
|
- * @date 2018年5月25日
|
|
|
- * @Copyright (c) 2018-? http://qmth.com.cn All Rights Reserved.
|
|
|
- */
|
|
|
-/**
|
|
|
- * 类注释
|
|
|
- *
|
|
|
- * @author WANGWEI
|
|
|
- * @date 2018年5月25日
|
|
|
- * @Copyright (c) 2018-? http://qmth.com.cn All Rights Reserved.
|
|
|
- */
|
|
|
/**
|
|
|
* 类注释
|
|
|
*
|
|
@@ -29,15 +15,20 @@ public class UserBean implements JsonSerializable {
|
|
|
|
|
|
private static final long serialVersionUID = -4157068941699776174L;
|
|
|
|
|
|
+ /**
|
|
|
+ * 用户类型
|
|
|
+ */
|
|
|
+ private String userType;
|
|
|
+
|
|
|
/**
|
|
|
* 用户ID
|
|
|
*/
|
|
|
- private Long id;
|
|
|
+ private Long userId;
|
|
|
|
|
|
/**
|
|
|
- * 登录名
|
|
|
+ * 显示名
|
|
|
*/
|
|
|
- private String loginName;
|
|
|
+ private String displayName;
|
|
|
|
|
|
/**
|
|
|
* 顶级机构ID
|
|
@@ -49,20 +40,28 @@ public class UserBean implements JsonSerializable {
|
|
|
*/
|
|
|
private List<RoleBean> roleList;
|
|
|
|
|
|
- public Long getId() {
|
|
|
- return id;
|
|
|
+ public String getUserType() {
|
|
|
+ return userType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUserType(String userType) {
|
|
|
+ this.userType = userType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getUserId() {
|
|
|
+ return userId;
|
|
|
}
|
|
|
|
|
|
- public void setId(Long id) {
|
|
|
- this.id = id;
|
|
|
+ public void setUserId(Long userId) {
|
|
|
+ this.userId = userId;
|
|
|
}
|
|
|
|
|
|
- public String getLoginName() {
|
|
|
- return loginName;
|
|
|
+ public String getDisplayName() {
|
|
|
+ return displayName;
|
|
|
}
|
|
|
|
|
|
- public void setLoginName(String loginName) {
|
|
|
- this.loginName = loginName;
|
|
|
+ public void setDisplayName(String displayName) {
|
|
|
+ this.displayName = displayName;
|
|
|
}
|
|
|
|
|
|
public Long getRootOrgId() {
|