| | |
| | | package com.ycl.jxkg.domain; |
| | | |
| | | import com.ycl.jxkg.domain.enums.QuestionTypeEnum; |
| | | import com.ycl.jxkg.utility.ExamUtil; |
| | | import com.ycl.jxkg.utils.ExamUtil; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | @Data |
| | | public class Question implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 8826266720383164363L; |
| | |
| | | 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) { |