| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234 |
- package com.ruoyi.learn.domain;
- import org.apache.commons.lang3.builder.ToStringBuilder;
- import org.apache.commons.lang3.builder.ToStringStyle;
- import com.ruoyi.common.annotation.Excel;
- import com.ruoyi.common.core.domain.BaseEntity;
- /**
- * 答卷答案对象 learn_answer
- *
- * @author ruoyi
- * @date 2025-09-25
- */
- public class LearnAnswer extends BaseEntity
- {
- private static final long serialVersionUID = 1L;
- /** 答题id */
- private Long answerId;
- /** 答卷id */
- @Excel(name = "答卷id")
- private Long examineeId;
- /** 学生用户id加速 */
- @Excel(name = "学生用户id加速")
- private Long studentId;
- /** 题id */
- @Excel(name = "题id")
- private Long questionId;
- /** 题号 */
- @Excel(name = "题号")
- private Integer seq;
- /** 知识点 */
- @Excel(name = "知识点")
- private Long knowledgeId;
- /** 学生答案 */
- @Excel(name = "学生答案")
- private String answer;
- /** 批改答案 */
- @Excel(name = "批改答案")
- private String correct;
- /** 最长时间 */
- @Excel(name = "最长时间")
- private Long duration;
- /** 更新次数 */
- @Excel(name = "更新次数")
- private Long count;
- /** 状态 1 正确 */
- @Excel(name = "0 默认 1正确 2错误 3不会")
- private Long state;
- /** 评级 */
- @Excel(name = "评级")
- private String scoreLevel;
- /** 评分 */
- @Excel(name = "评分")
- private Long score;
- /** 得分率 */
- @Excel(name = "得分率")
- private Long scoreRate;
- public void setAnswerId(Long answerId)
- {
- this.answerId = answerId;
- }
- public Long getAnswerId()
- {
- return answerId;
- }
- public void setExamineeId(Long examineeId)
- {
- this.examineeId = examineeId;
- }
- public Long getExamineeId()
- {
- return examineeId;
- }
- public void setStudentId(Long studentId)
- {
- this.studentId = studentId;
- }
- public Long getStudentId()
- {
- return studentId;
- }
- public void setQuestionId(Long questionId)
- {
- this.questionId = questionId;
- }
- public Long getQuestionId()
- {
- return questionId;
- }
- public void setSeq(Integer seq)
- {
- this.seq = seq;
- }
- public Integer getSeq()
- {
- return seq;
- }
- public void setKnowledgeId(Long knowledgeId)
- {
- this.knowledgeId = knowledgeId;
- }
- public Long getKnowledgeId()
- {
- return knowledgeId;
- }
- public void setAnswer(String answer)
- {
- this.answer = answer;
- }
- public String getAnswer()
- {
- return answer;
- }
- public void setCorrect(String correct)
- {
- this.correct = correct;
- }
- public String getCorrect()
- {
- return correct;
- }
- public void setDuration(Long duration)
- {
- this.duration = duration;
- }
- public Long getDuration()
- {
- return duration;
- }
- public void setCount(Long count)
- {
- this.count = count;
- }
- public Long getCount()
- {
- return count;
- }
- public void setState(Long state)
- {
- this.state = state;
- }
- public Long getState()
- {
- return state;
- }
- public void setScoreLevel(String scoreLevel)
- {
- this.scoreLevel = scoreLevel;
- }
- public String getScoreLevel()
- {
- return scoreLevel;
- }
- public void setScore(Long score)
- {
- this.score = score;
- }
- public Long getScore()
- {
- return score;
- }
- public void setScoreRate(Long scoreRate)
- {
- this.scoreRate = scoreRate;
- }
- public Long getScoreRate()
- {
- return scoreRate;
- }
- @Override
- public String toString() {
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
- .append("answerId", getAnswerId())
- .append("examineeId", getExamineeId())
- .append("studentId", getStudentId())
- .append("questionId", getQuestionId())
- .append("seq", getSeq())
- .append("knowledgeId", getKnowledgeId())
- .append("answer", getAnswer())
- .append("correct", getCorrect())
- .append("duration", getDuration())
- .append("count", getCount())
- .append("state", getState())
- .append("scoreLevel", getScoreLevel())
- .append("score", getScore())
- .append("scoreRate", getScoreRate())
- .append("createTime", getCreateTime())
- .append("updateTime", getUpdateTime())
- .toString();
- }
- }
|