wangwei 6 years ago
parent
commit
c324ba2eeb

+ 59 - 0
examcloud-core-examwork-api/src/main/java/cn/com/qmth/examcloud/examwork/api/bean/ExamCourseRelationBean.java

@@ -0,0 +1,59 @@
+package cn.com.qmth.examcloud.examwork.api.bean;
+
+import cn.com.qmth.examcloud.commons.web.cloud.api.JsonSerializable;
+
+public class ExamCourseRelationBean implements JsonSerializable {
+
+	private static final long serialVersionUID = 757531976286006550L;
+
+	private Long examId;
+
+	private Long courseId;
+
+	private String courseName;
+
+	private String courseCode;
+
+	private String courseLevel;
+
+	public Long getExamId() {
+		return examId;
+	}
+
+	public void setExamId(Long examId) {
+		this.examId = examId;
+	}
+
+	public Long getCourseId() {
+		return courseId;
+	}
+
+	public void setCourseId(Long courseId) {
+		this.courseId = courseId;
+	}
+
+	public String getCourseName() {
+		return courseName;
+	}
+
+	public void setCourseName(String courseName) {
+		this.courseName = courseName;
+	}
+
+	public String getCourseCode() {
+		return courseCode;
+	}
+
+	public void setCourseCode(String courseCode) {
+		this.courseCode = courseCode;
+	}
+
+	public String getCourseLevel() {
+		return courseLevel;
+	}
+
+	public void setCourseLevel(String courseLevel) {
+		this.courseLevel = courseLevel;
+	}
+
+}

+ 30 - 0
examcloud-core-examwork-api/src/main/java/cn/com/qmth/examcloud/examwork/api/request/GetExamCourseListReq.java

@@ -6,4 +6,34 @@ public class GetExamCourseListReq extends BaseRequest {
 
 	private static final long serialVersionUID = 3931835759483816611L;
 
+	private Long rootOrgId;
+
+	private Long examId;
+
+	private Long start;
+
+	public Long getRootOrgId() {
+		return rootOrgId;
+	}
+
+	public void setRootOrgId(Long rootOrgId) {
+		this.rootOrgId = rootOrgId;
+	}
+
+	public Long getExamId() {
+		return examId;
+	}
+
+	public void setExamId(Long examId) {
+		this.examId = examId;
+	}
+
+	public Long getStart() {
+		return start;
+	}
+
+	public void setStart(Long start) {
+		this.start = start;
+	}
+
 }

+ 23 - 0
examcloud-core-examwork-api/src/main/java/cn/com/qmth/examcloud/examwork/api/response/GetExamCourseListResp.java

@@ -1,9 +1,32 @@
 package cn.com.qmth.examcloud.examwork.api.response;
 
+import java.util.List;
+
 import cn.com.qmth.examcloud.commons.web.cloud.api.BaseResponse;
+import cn.com.qmth.examcloud.examwork.api.bean.ExamCourseRelationBean;
 
 public class GetExamCourseListResp extends BaseResponse {
 
 	private static final long serialVersionUID = 3698992696031626041L;
 
+	private long next;
+
+	private List<ExamCourseRelationBean> relationList;
+
+	public long getNext() {
+		return next;
+	}
+
+	public void setNext(long next) {
+		this.next = next;
+	}
+
+	public List<ExamCourseRelationBean> getRelationList() {
+		return relationList;
+	}
+
+	public void setRelationList(List<ExamCourseRelationBean> relationList) {
+		this.relationList = relationList;
+	}
+
 }