|
@@ -9,7 +9,6 @@ import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
-import java.util.Objects;
|
|
|
|
|
|
/**
|
|
|
* <p>
|
|
@@ -70,25 +69,25 @@ public class TCPaperStruct extends BaseEntity implements Serializable {
|
|
|
|
|
|
}
|
|
|
|
|
|
- public TCPaperStruct(Long examId, String courseCode, String courseName, String paperNumber, Long teachCourseId, String paperStructDimension, Long userId, Long dimensionSign) {
|
|
|
+ public TCPaperStruct(Long cultureProgramId,Long courseId, String courseCode, String courseName, String paperNumber, String paperStructDimension, Long userId, Long dimensionSign) {
|
|
|
insertInfo(userId);
|
|
|
- this.examId = examId;
|
|
|
+ this.cultureProgramId = cultureProgramId;
|
|
|
+ this.courseId = courseId;
|
|
|
this.courseCode = courseCode;
|
|
|
this.courseName = courseName;
|
|
|
this.paperNumber = paperNumber;
|
|
|
- this.teachCourseId = teachCourseId;
|
|
|
this.paperStructDimension = paperStructDimension;
|
|
|
this.enable = true;
|
|
|
this.dimensionSign = dimensionSign;
|
|
|
}
|
|
|
|
|
|
- public TCPaperStruct(Long examId, String courseCode, String courseName, String paperNumber, Long teachCourseId, String paperStruct, Double totalScore, Double passScore, Long userId) {
|
|
|
+ public TCPaperStruct(Long cultureProgramId,Long courseId, String courseCode, String courseName, String paperNumber, String paperStruct, Double totalScore, Double passScore, Long userId) {
|
|
|
insertInfo(userId);
|
|
|
- this.examId = examId;
|
|
|
+ this.cultureProgramId = cultureProgramId;
|
|
|
+ this.courseId = courseId;
|
|
|
this.courseCode = courseCode;
|
|
|
this.courseName = courseName;
|
|
|
this.paperNumber = paperNumber;
|
|
|
- this.teachCourseId = teachCourseId;
|
|
|
this.paperStruct = paperStruct;
|
|
|
this.totalScore = totalScore;
|
|
|
this.passScore = passScore;
|
|
@@ -100,13 +99,13 @@ public class TCPaperStruct extends BaseEntity implements Serializable {
|
|
|
updateInfo(userId);
|
|
|
}
|
|
|
|
|
|
- public TCPaperStruct(Long examId, String courseCode, String courseName, String paperNumber, Long teachCourseId, String paperStruct, Long userId) {
|
|
|
+ public TCPaperStruct(Long cultureProgramId,Long courseId, String courseCode, String courseName, String paperNumber, String paperStruct, Long userId) {
|
|
|
insertInfo(userId);
|
|
|
- this.examId = examId;
|
|
|
+ this.cultureProgramId = cultureProgramId;
|
|
|
+ this.courseId = courseId;
|
|
|
this.courseCode = courseCode;
|
|
|
this.courseName = courseName;
|
|
|
this.paperNumber = paperNumber;
|
|
|
- this.teachCourseId = teachCourseId;
|
|
|
this.paperStruct = paperStruct;
|
|
|
this.enable = true;
|
|
|
}
|
|
@@ -207,20 +206,20 @@ public class TCPaperStruct extends BaseEntity implements Serializable {
|
|
|
this.paperStructDimension = paperStructDimension;
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
- public boolean equals(Object o) {
|
|
|
- if (this == o) {
|
|
|
- return true;
|
|
|
- }
|
|
|
- if (o == null || getClass() != o.getClass()) {
|
|
|
- return false;
|
|
|
- }
|
|
|
- TCPaperStruct that = (TCPaperStruct) o;
|
|
|
- return examId.equals(that.examId) && courseCode.equals(that.courseCode) && Objects.equals(courseName, that.courseName) && Objects.equals(paperNumber, that.paperNumber) && teachCourseId.equals(that.teachCourseId) && Objects.equals(paperStruct, that.paperStruct) && Objects.equals(paperStructDimension, that.paperStructDimension) && Objects.equals(getCreateId(), that.getCreateId());
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public int hashCode() {
|
|
|
- return Objects.hash(examId, courseCode, courseName, paperNumber, teachCourseId, paperStruct, paperStructDimension, getCreateId());
|
|
|
- }
|
|
|
+// @Override
|
|
|
+// public boolean equals(Object o) {
|
|
|
+// if (this == o) {
|
|
|
+// return true;
|
|
|
+// }
|
|
|
+// if (o == null || getClass() != o.getClass()) {
|
|
|
+// return false;
|
|
|
+// }
|
|
|
+// TCPaperStruct that = (TCPaperStruct) o;
|
|
|
+// return examId.equals(that.examId) && courseCode.equals(that.courseCode) && Objects.equals(courseName, that.courseName) && Objects.equals(paperNumber, that.paperNumber) && teachCourseId.equals(that.teachCourseId) && Objects.equals(paperStruct, that.paperStruct) && Objects.equals(paperStructDimension, that.paperStructDimension) && Objects.equals(getCreateId(), that.getCreateId());
|
|
|
+// }
|
|
|
+//
|
|
|
+// @Override
|
|
|
+// public int hashCode() {
|
|
|
+// return Objects.hash(examId, courseCode, courseName, paperNumber, teachCourseId, paperStruct, paperStructDimension, getCreateId());
|
|
|
+// }
|
|
|
}
|