xuzhen 1 year ago
parent bde8feba70
commit e5f1c75ffe

@ -8,7 +8,8 @@ import java.io.Serializable;
/**
* <p>
*
* ExamRepoSerializable使便使
* t_exam_repo
* </p>
*
* @author WeiJin
@ -18,51 +19,98 @@ import java.io.Serializable;
public class ExamRepo implements Serializable {
private static final long serialVersionUID = 1L;
// 定义序列化版本号用于在对象序列化和反序列化过程中保证版本兼容性这里初始化为1L。
// 以下是类中定义的各个成员变量分别对应数据库表“t_exam_repo”中的不同字段用于存储考试与题库关联关系的关键信息下面将逐个进行注释说明。
/**
* id
* t_exam_repoidInteger
* MyBatis Plus@TableIdIdType.AUTO便
*/
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
/**
* id
* Integer
* t_examID便使
*/
private Integer examId;
/**
* id
* Integer
* ID使
*/
private Integer repoId;
// 以下是各个成员变量对应的Getter和Setter方法用于获取和设置对象的属性值方便在其他类中对ExamRepo对象的属性进行访问和修改下面分别进行注释。
/**
* IDExamRepoID
* Integer
* @return ID
*/
public Integer getId() {
return id;
}
/**
* IDID
* 使idID
* @param id ID
*/
public void setId(Integer id) {
this.id = id;
}
/**
* IDExamRepoID
* 使Integer
* @return ID
*/
public Integer getExamId() {
return examId;
}
/**
* IDID
* ExamRepoIDexamIdID
* @param examId ID
*/
public void setExamId(Integer examId) {
this.examId = examId;
}
/**
* IDExamRepoID
* Integer
* @return ID
*/
public Integer getRepoId() {
return repoId;
}
/**
* IDID
* ExamRepoIDrepoIdID
*/
public void setRepoId(Integer repoId) {
this.repoId = repoId;
}
/**
* ObjecttoStringExamRepo
* ExamRepo{=,...}便
* @return ExamRepo
*/
@Override
public String toString() {
return "ExamRepo{" +
"id=" + id +
", examId=" + examId +
", repoId=" + repoId +
"}";
"id=" + id +
", examId=" + examId +
", repoId=" + repoId +
"}";
}
}
}
Loading…
Cancel
Save