From 526745df87b382366960df1c765b83a84d493019 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期三, 03 七月 2024 16:23:23 +0800 Subject: [PATCH] 随机试卷增加维度 --- src/main/java/com/ycl/jxkg/enums/QuestionTypeEnum.java | 18 +++++++----------- 1 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/enums/QuestionTypeEnum.java b/src/main/java/com/ycl/jxkg/enums/QuestionTypeEnum.java index 6398b77..2be650a 100644 --- a/src/main/java/com/ycl/jxkg/enums/QuestionTypeEnum.java +++ b/src/main/java/com/ycl/jxkg/enums/QuestionTypeEnum.java @@ -10,11 +10,14 @@ TrueFalse(3, "鍒ゆ柇棰�"), GapFilling(4, "濉┖棰�"), ShortAnswer(5, "绠�绛旈"), - Calculation(6,"璁$畻棰�"); - int code; + Audio(6,"璇煶棰�"), + Calculate(7,"璁$畻棰�"), + Analysis(8,"鍒嗘瀽棰�"); + + Integer code; String name; - QuestionTypeEnum(int code, String name) { + QuestionTypeEnum(Integer code, String name) { this.code = code; this.name = name; } @@ -43,21 +46,14 @@ } } - public int getCode() { + public Integer getCode() { return code; - } - - public void setCode(int code) { - this.code = code; } public String getName() { return name; } - public void setName(String name) { - this.name = name; - } } -- Gitblit v1.8.0