|
@@ -8,6 +8,7 @@
|
|
|
package cn.com.qmth.examcloud.app.model;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
+import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* 用户信息
|
|
@@ -17,6 +18,7 @@ import java.io.Serializable;
|
|
|
*/
|
|
|
public class UserInfo implements Serializable {
|
|
|
private static final long serialVersionUID = 8766713125414955078L;
|
|
|
+ private Long id;
|
|
|
/**
|
|
|
* 用户ID
|
|
|
*/
|
|
@@ -37,14 +39,26 @@ public class UserInfo implements Serializable {
|
|
|
* 学号
|
|
|
*/
|
|
|
private String studentCode;
|
|
|
+ /**
|
|
|
+ * 学号列表
|
|
|
+ */
|
|
|
+ private List<String> studentCodeList;
|
|
|
/**
|
|
|
* 学生ID
|
|
|
*/
|
|
|
private String studentId;
|
|
|
+ /**
|
|
|
+ * 登录手机号
|
|
|
+ */
|
|
|
+ private String securityPhone;
|
|
|
/**
|
|
|
* 手机号
|
|
|
*/
|
|
|
- private String phone;
|
|
|
+ private String phoneNumber;
|
|
|
+ /**
|
|
|
+ * 图像地址
|
|
|
+ */
|
|
|
+ private String photoPath;
|
|
|
/**
|
|
|
* 顶级机构ID
|
|
|
*/
|
|
@@ -70,6 +84,14 @@ public class UserInfo implements Serializable {
|
|
|
*/
|
|
|
private String token;
|
|
|
|
|
|
+ public Long getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(Long id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
public Long getUserId() {
|
|
|
return userId;
|
|
|
}
|
|
@@ -118,12 +140,36 @@ public class UserInfo implements Serializable {
|
|
|
this.studentId = studentId;
|
|
|
}
|
|
|
|
|
|
- public String getPhone() {
|
|
|
- return phone;
|
|
|
+ public List<String> getStudentCodeList() {
|
|
|
+ return studentCodeList;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStudentCodeList(List<String> studentCodeList) {
|
|
|
+ this.studentCodeList = studentCodeList;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getSecurityPhone() {
|
|
|
+ return securityPhone;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSecurityPhone(String securityPhone) {
|
|
|
+ this.securityPhone = securityPhone;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getPhoneNumber() {
|
|
|
+ return phoneNumber;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPhoneNumber(String phoneNumber) {
|
|
|
+ this.phoneNumber = phoneNumber;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getPhotoPath() {
|
|
|
+ return photoPath;
|
|
|
}
|
|
|
|
|
|
- public void setPhone(String phone) {
|
|
|
- this.phone = phone;
|
|
|
+ public void setPhotoPath(String photoPath) {
|
|
|
+ this.photoPath = photoPath;
|
|
|
}
|
|
|
|
|
|
public Long getRootOrgId() {
|