paper-试卷表:
paper_id - int(11) - 试卷id
paper_name - varchar(255) - 试卷名称
paper_create_time - datetime - 试卷创建时间
paper_duration - int(11) - 考试时长(单位:秒)
paper_difficulty - int(11) - 试卷难度
paper_attention - varchar(255) - 考试注意事项
paper_type - int(11) - 组卷机制:1为随机;2为固定
single_score - int(11) - 单选题分配分数
multiple_score - int(11) - 多选题分配分数
judge_score - int(11) - 判断题分配分数
fill_score - int(11) - 试卷所属编程语言
course_id - int(11) - 试卷id
participate_num - int(11) - 已参加人数
public class Paper {
private Integer paperId;
private String paperName;
private Date paperCreateTime;
private Integer paperDuration;
private Integer paperDifficulty;
private String paperAttention;
private Integer paperType;
private Integer singleScore;
private Integer multipleScore;
private Integer judgeScore;
private Integer fillScore;
private Integer courseId;
private Integer participateNum;
public Integer getPaperId() {
return paperId;
}
public void setPaperId(Integer paperId) {
this.paperId = paperId;
}
public String getPaperName() {
return paperName;
}
public void setPaperName(String paperName) {
this.paperName = paperName == null ? null : paperName.trim();
}
public Date getPaperCreateTime() {
return paperCreateTime;
}
public void setPaperCreateTime(Date paperCreateTime) {
this.paperCreateTime = paperCreateTime;
}
public Integer getPaperDuration() {
return paperDuration;
}
public void setPaperDuration(Integer paperDuration) {
this.paperDuration = paperDuration;
}
public Integer getPaperDifficulty() {
return paperDifficulty;
}
public void setPaperDifficulty(Integer paperDifficulty) {
this.paperDifficulty = paperDifficulty;
}
public String getPaperAttention() {
return paperAttention;
}
public void setPaperAttention(String paperAttention) {
this.paperAttention = paperAttention == null ? null : paperAttention.trim();
}
public Integer getPaperType() {
return paperType;
}
public void setPaperType(Integer paperType) {
this.paperType = paperType;
}
public Integer getSingleScore() {
return singleScore;
}
public void setSingleScore(Integer singleScore) {
this.singleScore = singleScore;
}
public Integer getMultipleScore() {
return multipleScore;
}
public void setMultipleScore(Integer multipleScore) {
this.multipleScore = multipleScore;
}
public Integer getJudgeScore() {
return judgeScore;
}
public void setJudgeScore(Integer judgeScore) {
this.judgeScore = judgeScore;
}
public Integer getFillScore() {
return fillScore;
}
public void setFillScore(Integer fillScore) {
this.fillScore = fillScore;
}
public Integer getCourseId() {
return courseId;
}
public void setCourseId(Integer courseId) {
this.courseId = courseId;
}
public Integer getParticipateNum() {
return participateNum;
}
public void setParticipateNum(Integer participateNum) {
this.participateNum = participateNum;
}
}
paper_que-试卷问题表:
que_id - int(11) - 问题id
que_type - int(11) - 题类型
single_id - int(11) - 单选题id
multiple_id - int(11) - 多选题id
judge_id - int(11) - 判断题id
fill_id - int(11) - 填空题id
paper_id - int(11) - 试卷id
public class PaperQue {
private Integer queId;
private Integer queType;
private Integer singleId;
private Integer multipleId;
private Integer judgeId;
private Integer fillId;
private Integer paperId;
public Integer getQueId() {
return queId;
}
public void setQueId(Integer queId) {
this.queId = queId;
}
public Integer getQueType() {
return queType;
}
public void setQueType(Integer queType) {
this.queType = queType;
}
public Integer getSingleId() {
return singleId;
}
public void setSingleId(Integer singleId) {
this.singleId = singleId;
}
public Integer getMultipleId() {
return multipleId;
}
public void setMultipleId(Integer multipleId) {
this.multipleId = multipleId;
}
public Integer getJudgeId() {
return judgeId;
}
public void setJudgeId(Integer judgeId) {
this.judgeId = judgeId;
}
public Integer getFillId() {
return fillId;
}
public void setFillId(Integer fillId) {
this.fillId = fillId;
}
public Integer getPaperId() {
return paperId;
}
public void setPaperId(Integer paperId) {
this.paperId = paperId;
}
}