|
@@ -20,17 +20,13 @@ import javax.persistence.Table;
|
|
|
@Entity
|
|
|
@Table(name = "ec_prt_objective_question_structure", indexes = {
|
|
|
@Index(name = "INDEX_PRT_OBJECTIVE_QUESTION_01", columnList = "examId"),
|
|
|
- @Index(name = "INDEX_PRT_OBJECTIVE_QUESTION_02", columnList = "paperId")})
|
|
|
+ @Index(name = "INDEX_PRT_OBJECTIVE_QUESTION_02", columnList = "courseId"),
|
|
|
+ @Index(name = "INDEX_PRT_OBJECTIVE_QUESTION_03", columnList = "paperId")})
|
|
|
public class ObjectiveQuestionStructure extends IdEntity {
|
|
|
/**
|
|
|
* 考试ID
|
|
|
*/
|
|
|
private Long examId;
|
|
|
- /**
|
|
|
- * 试卷ID
|
|
|
- */
|
|
|
- @Column(length = 50)
|
|
|
- private String paperId;
|
|
|
/**
|
|
|
* 课程ID
|
|
|
*/
|
|
@@ -47,6 +43,11 @@ public class ObjectiveQuestionStructure extends IdEntity {
|
|
|
//@ExcelProperty(name = "课程名称", index = 1)
|
|
|
@Column(length = 50)
|
|
|
private String courseName;
|
|
|
+ /**
|
|
|
+ * 试卷ID
|
|
|
+ */
|
|
|
+ @Column(length = 50)
|
|
|
+ private String paperId;
|
|
|
/**
|
|
|
* 试卷名称
|
|
|
*/
|
|
@@ -97,14 +98,6 @@ public class ObjectiveQuestionStructure extends IdEntity {
|
|
|
this.examId = examId;
|
|
|
}
|
|
|
|
|
|
- public String getPaperId() {
|
|
|
- return paperId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setPaperId(String paperId) {
|
|
|
- this.paperId = paperId;
|
|
|
- }
|
|
|
-
|
|
|
public Long getCourseId() {
|
|
|
return courseId;
|
|
|
}
|
|
@@ -129,6 +122,14 @@ public class ObjectiveQuestionStructure extends IdEntity {
|
|
|
this.courseName = courseName;
|
|
|
}
|
|
|
|
|
|
+ public String getPaperId() {
|
|
|
+ return paperId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPaperId(String paperId) {
|
|
|
+ this.paperId = paperId;
|
|
|
+ }
|
|
|
+
|
|
|
public String getPaperName() {
|
|
|
return paperName;
|
|
|
}
|