2026-05-12

This commit is contained in:
2026-05-12 12:24:11 +08:00
parent db71245cbd
commit b20da3cd06
597 changed files with 24930 additions and 35355 deletions
@@ -30,7 +30,12 @@ public enum QuestionType {
/**
* 简答题
*/
ESSAY(3, "简答题");
ESSAY(3, "简答题"),
/**
* 填空题
*/
FILL_BLANK(4, "填空题");
@EnumValue
private final int code;
@@ -28,6 +28,21 @@ public class Paper extends BaseEntity {
*/
private String description;
/**
* 试卷分类ID
*/
private Long categoryId;
/**
* 出卷方式:0-固定试卷,1-随机试卷
*/
private Integer paperType;
/**
* 随机试卷规则(JSON格式)
*/
private String randomRules;
/**
* 总分
*/
@@ -19,6 +19,11 @@ import java.time.LocalDateTime;
@TableName("ex_question")
public class Question extends BaseEntity {
/**
* 所属题库ID
*/
private Long bankId;
/**
* 题目类型
*/
@@ -43,13 +48,23 @@ public class Question extends BaseEntity {
*/
private String answer;
/**
* 难易程度:1-简单,2-一般,3-较难,4-困难
*/
private Integer difficulty;
/**
* 知识点,逗号分隔文本标签
*/
private String knowledgePoints;
/**
* 答案解析
*/
private String analysis;
/**
* 所属分类ID
* 所属分类ID(保留兼容)
*/
private Long categoryId;