|
@@ -8,13 +8,13 @@ import java.util.List;
|
|
|
/**
|
|
|
* Created by songyue on 17/2/22.
|
|
|
*/
|
|
|
-public class UserInfo implements Serializable{
|
|
|
+public class UserInfo implements Serializable {
|
|
|
private static final long serialVersionUID = 7939545789907406883L;
|
|
|
|
|
|
private Long userId;
|
|
|
-
|
|
|
+
|
|
|
private Long orgId;
|
|
|
-
|
|
|
+
|
|
|
private Long rootOrgId;
|
|
|
|
|
|
private String name;
|
|
@@ -32,11 +32,13 @@ public class UserInfo implements Serializable{
|
|
|
private String rootOrgName;
|
|
|
|
|
|
private String rootOrgLogo;
|
|
|
-
|
|
|
+
|
|
|
private Long studentId;
|
|
|
-
|
|
|
+
|
|
|
private String identityNumber;
|
|
|
|
|
|
+ private String studentCode;
|
|
|
+
|
|
|
private List<UserRole> userRoles;
|
|
|
|
|
|
private List<String> roleNames;
|
|
@@ -118,38 +120,38 @@ public class UserInfo implements Serializable{
|
|
|
}
|
|
|
|
|
|
public Long getOrgId() {
|
|
|
- return orgId;
|
|
|
- }
|
|
|
+ return orgId;
|
|
|
+ }
|
|
|
|
|
|
- public void setOrgId(Long orgId) {
|
|
|
- this.orgId = orgId;
|
|
|
- }
|
|
|
+ public void setOrgId(Long orgId) {
|
|
|
+ this.orgId = orgId;
|
|
|
+ }
|
|
|
|
|
|
- public Long getRootOrgId() {
|
|
|
- return rootOrgId;
|
|
|
- }
|
|
|
+ public Long getRootOrgId() {
|
|
|
+ return rootOrgId;
|
|
|
+ }
|
|
|
|
|
|
- public void setRootOrgId(Long rootOrgId) {
|
|
|
- this.rootOrgId = rootOrgId;
|
|
|
- }
|
|
|
+ public void setRootOrgId(Long rootOrgId) {
|
|
|
+ this.rootOrgId = rootOrgId;
|
|
|
+ }
|
|
|
|
|
|
- public Long getStudentId() {
|
|
|
- return studentId;
|
|
|
- }
|
|
|
+ public Long getStudentId() {
|
|
|
+ return studentId;
|
|
|
+ }
|
|
|
|
|
|
- public void setStudentId(Long studentId) {
|
|
|
- this.studentId = studentId;
|
|
|
- }
|
|
|
+ public void setStudentId(Long studentId) {
|
|
|
+ this.studentId = studentId;
|
|
|
+ }
|
|
|
|
|
|
public String getIdentityNumber() {
|
|
|
- return identityNumber;
|
|
|
- }
|
|
|
+ return identityNumber;
|
|
|
+ }
|
|
|
|
|
|
- public void setIdentityNumber(String identityNumber) {
|
|
|
- this.identityNumber = identityNumber;
|
|
|
- }
|
|
|
+ public void setIdentityNumber(String identityNumber) {
|
|
|
+ this.identityNumber = identityNumber;
|
|
|
+ }
|
|
|
|
|
|
- public List<UserRole> getUserRoles() {
|
|
|
+ public List<UserRole> getUserRoles() {
|
|
|
return userRoles;
|
|
|
}
|
|
|
|
|
@@ -165,6 +167,14 @@ public class UserInfo implements Serializable{
|
|
|
this.roleNames = roleNames;
|
|
|
}
|
|
|
|
|
|
+ public String getStudentCode() {
|
|
|
+ return studentCode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStudentCode(String studentCode) {
|
|
|
+ this.studentCode = studentCode;
|
|
|
+ }
|
|
|
+
|
|
|
public UserInfo() {
|
|
|
}
|
|
|
}
|