From 5e873863bc7324894c89b0a0fc77a6202c91cd64 Mon Sep 17 00:00:00 2001 From: wzp <516075396@qq.com> Date: 星期二, 06 四月 2021 10:35:42 +0800 Subject: [PATCH] 20210406 --- src/main/java/com/ots/project/exam/domain/Question.java | 43 ------------------------------------------- 1 files changed, 0 insertions(+), 43 deletions(-) diff --git a/src/main/java/com/ots/project/exam/domain/Question.java b/src/main/java/com/ots/project/exam/domain/Question.java index 93d7013..3eccf53 100644 --- a/src/main/java/com/ots/project/exam/domain/Question.java +++ b/src/main/java/com/ots/project/exam/domain/Question.java @@ -1,138 +1,95 @@ package com.ots.project.exam.domain; - - import com.ots.common.enums.QuestionTypeEnum; import com.ots.project.tool.exam.ExamUtil; - import java.io.Serializable; import java.util.Date; import java.util.List; - public class Question implements Serializable { - private static final long serialVersionUID = 8826266720383164363L; - private Integer id; - private Integer questionType; - private Integer subjectId; - private Integer score; - private Integer gradeLevel; - private Integer difficult; - private String correct; - private Integer infoTextContentId; - private Integer createUser; - private Integer status; - private Date createTime; - private Boolean deleted; - public Integer getId() { return id; } - public void setId(Integer id) { this.id = id; } - public Integer getQuestionType() { return questionType; } - public void setQuestionType(Integer questionType) { this.questionType = questionType; } - public Integer getSubjectId() { return subjectId; } - public void setSubjectId(Integer subjectId) { this.subjectId = subjectId; } - public Integer getScore() { return score; } - public void setScore(Integer score) { this.score = score; } - public Integer getGradeLevel() { return gradeLevel; } - public void setGradeLevel(Integer gradeLevel) { this.gradeLevel = gradeLevel; } - public Integer getDifficult() { return difficult; } - public void setDifficult(Integer difficult) { this.difficult = difficult; } - public String getCorrect() { return correct; } - public void setCorrect(String correct) { this.correct = correct == null ? null : correct.trim(); } - public Integer getInfoTextContentId() { return infoTextContentId; } - public void setInfoTextContentId(Integer infoTextContentId) { this.infoTextContentId = infoTextContentId; } - public Integer getCreateUser() { return createUser; } - public void setCreateUser(Integer createUser) { this.createUser = createUser; } - public Integer getStatus() { return status; } - public void setStatus(Integer status) { this.status = status; } - public Date getCreateTime() { return createTime; } - public void setCreateTime(Date createTime) { this.createTime = createTime; } - public Boolean getDeleted() { return deleted; } - public void setDeleted(Boolean deleted) { this.deleted = deleted; } - - public void setCorrectFromVM(String correct, List<String> correctArray) { int qType = this.getQuestionType(); if (qType == QuestionTypeEnum.MultipleChoice.getCode()) { -- Gitblit v1.9.1