forked from liweijie/education
登录 权限 放行 功能整理
This commit is contained in:
+3
-3
@@ -48,7 +48,7 @@ public class ResearchOfficeAffiliationVO {
|
||||
/**
|
||||
* 是否启用,由数据库“停用”字段反向转换得到。
|
||||
*/
|
||||
private Boolean enabled;
|
||||
private Integer enabled;
|
||||
|
||||
/**
|
||||
* 停用时间。
|
||||
@@ -58,7 +58,7 @@ public class ResearchOfficeAffiliationVO {
|
||||
/**
|
||||
* 是否为虚拟教研室。
|
||||
*/
|
||||
private Boolean virtual;
|
||||
private Integer virtual;
|
||||
|
||||
/**
|
||||
* 教研室备注。
|
||||
@@ -73,5 +73,5 @@ public class ResearchOfficeAffiliationVO {
|
||||
/**
|
||||
* 是否具有机关性质。
|
||||
*/
|
||||
private Boolean organNature;
|
||||
private Integer organNature;
|
||||
}
|
||||
|
||||
+4
-4
@@ -33,7 +33,7 @@ public class ResearchOfficeVO {
|
||||
/**
|
||||
* 是否启用,由数据库“停用”字段反向转换得到。
|
||||
*/
|
||||
private Boolean enabled;
|
||||
private Integer enabled;
|
||||
|
||||
/**
|
||||
* 停用时间。
|
||||
@@ -43,7 +43,7 @@ public class ResearchOfficeVO {
|
||||
/**
|
||||
* 是否为虚拟教研室。
|
||||
*/
|
||||
private Boolean virtual;
|
||||
private Integer virtual;
|
||||
|
||||
/**
|
||||
* 教研室备注。
|
||||
@@ -56,7 +56,7 @@ public class ResearchOfficeVO {
|
||||
private String sequenceNumber;
|
||||
|
||||
/**
|
||||
* 是否具有机关性质。
|
||||
* 机关性质。
|
||||
*/
|
||||
private Boolean organNature;
|
||||
private Integer organNature;
|
||||
}
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
package com.roomroot.jwgl.vo.login;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 登录响应结果
|
||||
*/
|
||||
@Data
|
||||
public class LoginResultVO {
|
||||
|
||||
/** 用户编号(登录信息表编号) */
|
||||
private String userId;
|
||||
|
||||
/** 用户姓名 */
|
||||
private String userName;
|
||||
|
||||
/** 登录账号 */
|
||||
private String loginName;
|
||||
|
||||
/** 用户类型: ADMIN-行政 TEACHER-教员 STUDENT-学员 MANAGER-管理员 */
|
||||
private String userType;
|
||||
|
||||
/** 单位编号 */
|
||||
private String orgId;
|
||||
|
||||
/** 单位名称 */
|
||||
private String orgName;
|
||||
|
||||
/** 角色列表 */
|
||||
private List<RoleInfo> roles;
|
||||
|
||||
@Data
|
||||
public static class RoleInfo {
|
||||
private String roleType;
|
||||
private String roleName;
|
||||
private String targetId;
|
||||
private String targetName;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user