| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684 |
- package com.ruoyi.learn.domain;
- import java.math.BigDecimal;
- 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_questions
- *
- * @author ruoyi
- * @date 2025-09-18
- */
- public class LearnQuestions extends BaseEntity
- {
- private static final long serialVersionUID = 1L;
- /** $column.columnComment */
- private Long id;
- /** 试题-题干 */
- @Excel(name = "试题-题干")
- private String title;
- /** 选项A */
- @Excel(name = "选项A")
- private String optionA;
- /** 选项B */
- @Excel(name = "选项B")
- private String optionB;
- /** 选项C */
- @Excel(name = "选项C")
- private String optionC;
- /** 选项D */
- @Excel(name = "选项D")
- private String optionD;
- /** 选项E */
- @Excel(name = "选项E")
- private String optionE;
- /** 选项D */
- @Excel(name = "选项D")
- private String optionF;
- /** 选项E */
- @Excel(name = "选项E")
- private String optionG;
- /** $column.columnComment */
- @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
- private String answer1;
- /** 非标准格式答案或含部分过程说明的答案 */
- @Excel(name = "非标准格式答案或含部分过程说明的答案")
- private String answer2;
- /** 类型(1判断题;2单选题;3多选题;4主观题,简答题) */
- @Excel(name = "类型", readConverterExp = "1=判断题;2单选题;3多选题;4主观题,简答题")
- private String qtpye;
- /** 学科Id */
- @Excel(name = "学科Id")
- private Long subjectId;
- /** $column.columnComment */
- @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
- private Long paperId;
- /** 知识点 */
- @Excel(name = "知识点")
- private Long knowledgeId;
- /** $column.columnComment */
- @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
- private BigDecimal diff;
- /** 试题在题库中的相似度,相似度越高,质量越低 */
- @Excel(name = "试题在题库中的相似度,相似度越高,质量越低")
- private Long similarity;
- /** 试题解析 */
- @Excel(name = "试题解析")
- private String parse;
- /** $column.columnComment */
- @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
- private Long knowId;
- /** 年级ID */
- @Excel(name = "年级ID")
- private Long gradeId;
- /** $column.columnComment */
- @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
- private String knowledges;
- /** 试题区域 */
- @Excel(name = "试题区域")
- private String area;
- /** 试题年份 */
- @Excel(name = "试题年份")
- private Long year;
- /** 试题类型:1,月考;2,模拟考;3,中考;4,高考;5,学业考试;6,其他 */
- @Excel(name = "试题类型:1,月考;2,模拟考;3,中考;4,高考;5,学业考试;6,其他")
- private String paperTpye;
- /** 来源(1gzdz,2dk,3self,4自制) */
- @Excel(name = "来源", readConverterExp = "1=gzdz,2dk,3self,4自制")
- private String source;
- /** 试题来源(网站) */
- @Excel(name = "试题来源", readConverterExp = "网=站")
- private String fromSite;
- /** 是否存在图片水印 */
- @Excel(name = "是否存在图片水印")
- private Integer isSub;
- /** 是否常规题,如果选择题无法正常提取标准答案或者选项,有小题的答题无法正常提取小题,则isNormal为0,否则为1 */
- @Excel(name = "是否常规题,如果选择题无法正常提取标准答案或者选项,有小题的答题无法正常提取小题,则isNormal为0,否则为1")
- private Integer isNormal;
- /** 是否匹配章节知识点,1匹配,0不匹配 */
- @Excel(name = "是否匹配章节知识点,1匹配,0不匹配")
- private Integer isKonw;
- /** 试题的tiid,结合fromsite进行同网站试题排重,用于增量更新 */
- @Excel(name = "试题的tiid,结合fromsite进行同网站试题排重,用于增量更新")
- private String tiid;
- /** 试题题干的md5值 */
- @Excel(name = "试题题干的md5值")
- private String md5;
- /** $column.columnComment */
- @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
- private Long isunique;
- /** $column.columnComment */
- @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
- private String md52;
- /** 得分 */
- @Excel(name = "得分")
- private BigDecimal score;
- /** 选项 */
- @Excel(name = "选项")
- private String options;
- /** $column.columnComment */
- @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
- private Long number;
- /** $column.columnComment */
- @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
- private String paperTypeTitle;
- /** 选项 */
- @Excel(name = "选项")
- private String options0;
- /** 试题-材料题题干 */
- @Excel(name = "试题-材料题题干")
- private String title0;
- /** 试题-材料题题干 */
- @Excel(name = "试题-材料题题干")
- private String title1;
- /** 试题解析 */
- @Excel(name = "试题解析")
- private String parse0;
- /** $column.columnComment */
- @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
- private String answer0;
- /** 是否更新 */
- @Excel(name = "是否更新")
- private Long isUpdate;
- /** 子题类型 */
- @Excel(name = "子题类型")
- private String isSubType;
- public void setId(Long id)
- {
- this.id = id;
- }
- public Long getId()
- {
- return id;
- }
- public void setTitle(String title)
- {
- this.title = title;
- }
- public String getTitle()
- {
- return title;
- }
- public void setOptionA(String optionA)
- {
- this.optionA = optionA;
- }
- public String getOptionA()
- {
- return optionA;
- }
- public void setOptionB(String optionB)
- {
- this.optionB = optionB;
- }
- public String getOptionB()
- {
- return optionB;
- }
- public void setOptionC(String optionC)
- {
- this.optionC = optionC;
- }
- public String getOptionC()
- {
- return optionC;
- }
- public void setOptionD(String optionD)
- {
- this.optionD = optionD;
- }
- public String getOptionD()
- {
- return optionD;
- }
- public void setOptionE(String optionE)
- {
- this.optionE = optionE;
- }
- public String getOptionE()
- {
- return optionE;
- }
- public void setOptionF(String optionF)
- {
- this.optionF = optionF;
- }
- public String getOptionF()
- {
- return optionF;
- }
- public void setOptionG(String optionG)
- {
- this.optionG = optionG;
- }
- public String getOptionG()
- {
- return optionG;
- }
- public void setAnswer1(String answer1)
- {
- this.answer1 = answer1;
- }
- public String getAnswer1()
- {
- return answer1;
- }
- public void setAnswer2(String answer2)
- {
- this.answer2 = answer2;
- }
- public String getAnswer2()
- {
- return answer2;
- }
- public void setQtpye(String qtpye)
- {
- this.qtpye = qtpye;
- }
- public String getQtpye()
- {
- return qtpye;
- }
- public void setSubjectId(Long subjectId)
- {
- this.subjectId = subjectId;
- }
- public Long getSubjectId()
- {
- return subjectId;
- }
- public void setPaperId(Long paperId)
- {
- this.paperId = paperId;
- }
- public Long getPaperId()
- {
- return paperId;
- }
- public void setKnowledgeId(Long knowledgeId)
- {
- this.knowledgeId = knowledgeId;
- }
- public Long getKnowledgeId()
- {
- return knowledgeId;
- }
- public void setDiff(BigDecimal diff)
- {
- this.diff = diff;
- }
- public BigDecimal getDiff()
- {
- return diff;
- }
- public void setSimilarity(Long similarity)
- {
- this.similarity = similarity;
- }
- public Long getSimilarity()
- {
- return similarity;
- }
- public void setParse(String parse)
- {
- this.parse = parse;
- }
- public String getParse()
- {
- return parse;
- }
- public void setKnowId(Long knowId)
- {
- this.knowId = knowId;
- }
- public Long getKnowId()
- {
- return knowId;
- }
- public void setGradeId(Long gradeId)
- {
- this.gradeId = gradeId;
- }
- public Long getGradeId()
- {
- return gradeId;
- }
- public void setKnowledges(String knowledges)
- {
- this.knowledges = knowledges;
- }
- public String getKnowledges()
- {
- return knowledges;
- }
- public void setArea(String area)
- {
- this.area = area;
- }
- public String getArea()
- {
- return area;
- }
- public void setYear(Long year)
- {
- this.year = year;
- }
- public Long getYear()
- {
- return year;
- }
- public void setPaperTpye(String paperTpye)
- {
- this.paperTpye = paperTpye;
- }
- public String getPaperTpye()
- {
- return paperTpye;
- }
- public void setSource(String source)
- {
- this.source = source;
- }
- public String getSource()
- {
- return source;
- }
- public void setFromSite(String fromSite)
- {
- this.fromSite = fromSite;
- }
- public String getFromSite()
- {
- return fromSite;
- }
- public void setIsSub(Integer isSub)
- {
- this.isSub = isSub;
- }
- public Integer getIsSub()
- {
- return isSub;
- }
- public void setIsNormal(Integer isNormal)
- {
- this.isNormal = isNormal;
- }
- public Integer getIsNormal()
- {
- return isNormal;
- }
- public void setIsKonw(Integer isKonw)
- {
- this.isKonw = isKonw;
- }
- public Integer getIsKonw()
- {
- return isKonw;
- }
- public void setTiid(String tiid)
- {
- this.tiid = tiid;
- }
- public String getTiid()
- {
- return tiid;
- }
- public void setMd5(String md5)
- {
- this.md5 = md5;
- }
- public String getMd5()
- {
- return md5;
- }
- public void setIsunique(Long isunique)
- {
- this.isunique = isunique;
- }
- public Long getIsunique()
- {
- return isunique;
- }
- public void setMd52(String md52)
- {
- this.md52 = md52;
- }
- public String getMd52()
- {
- return md52;
- }
- public void setScore(BigDecimal score)
- {
- this.score = score;
- }
- public BigDecimal getScore()
- {
- return score;
- }
- public void setOptions(String options)
- {
- this.options = options;
- }
- public String getOptions()
- {
- return options;
- }
- public void setNumber(Long number)
- {
- this.number = number;
- }
- public Long getNumber()
- {
- return number;
- }
- public void setPaperTypeTitle(String paperTypeTitle)
- {
- this.paperTypeTitle = paperTypeTitle;
- }
- public String getPaperTypeTitle()
- {
- return paperTypeTitle;
- }
- public void setOptions0(String options0)
- {
- this.options0 = options0;
- }
- public String getOptions0()
- {
- return options0;
- }
- public void setTitle0(String title0)
- {
- this.title0 = title0;
- }
- public String getTitle0()
- {
- return title0;
- }
- public void setTitle1(String title1)
- {
- this.title1 = title1;
- }
- public String getTitle1()
- {
- return title1;
- }
- public void setParse0(String parse0)
- {
- this.parse0 = parse0;
- }
- public String getParse0()
- {
- return parse0;
- }
- public void setAnswer0(String answer0)
- {
- this.answer0 = answer0;
- }
- public String getAnswer0()
- {
- return answer0;
- }
- public void setIsUpdate(Long isUpdate)
- {
- this.isUpdate = isUpdate;
- }
- public Long getIsUpdate()
- {
- return isUpdate;
- }
- public void setIsSubType(String isSubType)
- {
- this.isSubType = isSubType;
- }
- public String getIsSubType()
- {
- return isSubType;
- }
- @Override
- public String toString() {
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
- .append("id", getId())
- .append("title", getTitle())
- .append("optionA", getOptionA())
- .append("optionB", getOptionB())
- .append("optionC", getOptionC())
- .append("optionD", getOptionD())
- .append("optionE", getOptionE())
- .append("optionF", getOptionF())
- .append("optionG", getOptionG())
- .append("answer1", getAnswer1())
- .append("answer2", getAnswer2())
- .append("qtpye", getQtpye())
- .append("subjectId", getSubjectId())
- .append("paperId", getPaperId())
- .append("knowledgeId", getKnowledgeId())
- .append("diff", getDiff())
- .append("similarity", getSimilarity())
- .append("parse", getParse())
- .append("knowId", getKnowId())
- .append("gradeId", getGradeId())
- .append("knowledges", getKnowledges())
- .append("area", getArea())
- .append("year", getYear())
- .append("paperTpye", getPaperTpye())
- .append("source", getSource())
- .append("fromSite", getFromSite())
- .append("isSub", getIsSub())
- .append("isNormal", getIsNormal())
- .append("isKonw", getIsKonw())
- .append("tiid", getTiid())
- .append("md5", getMd5())
- .append("isunique", getIsunique())
- .append("md52", getMd52())
- .append("createTime", getCreateTime())
- .append("score", getScore())
- .append("options", getOptions())
- .append("number", getNumber())
- .append("paperTypeTitle", getPaperTypeTitle())
- .append("options0", getOptions0())
- .append("title0", getTitle0())
- .append("title1", getTitle1())
- .append("parse0", getParse0())
- .append("answer0", getAnswer0())
- .append("isUpdate", getIsUpdate())
- .append("isSubType", getIsSubType())
- .toString();
- }
- }
|