Browse Source

考生增加orgId,rootOrgId,orgCode

ting.yin 8 years ago
parent
commit
1ce59f8460

+ 37 - 10
exam-work-domain/src/main/java/cn/com/qmth/examcloud/service/examwork/entity/ExamStudent.java

@@ -24,6 +24,19 @@ public class ExamStudent implements Serializable {
 	@ManyToOne
 	@JoinColumn(name = "examId")
 	private Exam exam;
+	/**
+	 * 学校id
+	 */
+	@NotNull
+    private Long rootOrgId;
+	/**
+	 * 学习中心id
+	 */
+    private Long orgId;
+	/**
+	 * 学习中心code
+	 */
+    private Long orgCode;
 
 	private String studentCode;
 
@@ -60,8 +73,6 @@ public class ExamStudent implements Serializable {
 	 */
 	private boolean isGraduate;
 
-	private String learnCenter;
-
 	private String status;
 
 	private String photoPath;
@@ -165,14 +176,6 @@ public class ExamStudent implements Serializable {
 		this.specialtyName = specialtyName;
 	}
 
-	public String getLearnCenter() {
-		return learnCenter;
-	}
-
-	public void setLearnCenter(String learnCenter) {
-		this.learnCenter = learnCenter;
-	}
-
 	public String getStatus() {
 		return status;
 	}
@@ -241,6 +244,30 @@ public class ExamStudent implements Serializable {
 		return serialVersionUID;
 	}
 
+	public Long getRootOrgId() {
+		return rootOrgId;
+	}
+
+	public void setRootOrgId(Long rootOrgId) {
+		this.rootOrgId = rootOrgId;
+	}
+
+	public Long getOrgId() {
+		return orgId;
+	}
+
+	public void setOrgId(Long orgId) {
+		this.orgId = orgId;
+	}
+
+	public Long getOrgCode() {
+		return orgCode;
+	}
+
+	public void setOrgCode(Long orgCode) {
+		this.orgCode = orgCode;
+	}
+
 	public ExamStudent() {
 	}
 }