Explorar el Código

fix:合并3.3.4

caozixuan hace 1 año
padre
commit
144ddc0332

+ 20 - 0
teachcloud-obe/src/main/java/com/qmth/teachcloud/obe/enums/CourseDimensionSourceEnum.java

@@ -0,0 +1,20 @@
+package com.qmth.teachcloud.obe.enums;
+
+/**
+ * @Description: 课程知识点来源
+ * @Author: CaoZixuan
+ * @Date: 2024-02-28
+ */
+public enum CourseDimensionSourceEnum {
+    UNION_QUESTION("独立题库"), IMPORT("导入");
+
+    private final String name;
+
+    CourseDimensionSourceEnum(String name) {
+        this.name = name;
+    }
+
+    public String getName() {
+        return name;
+    }
+}

+ 41 - 0
teachcloud-obe/src/main/java/com/qmth/teachcloud/obe/enums/CourseEvaluationTypeEnum.java

@@ -0,0 +1,41 @@
+package com.qmth.teachcloud.obe.enums;
+
+/**
+ * @Description: 课程评价类型枚举
+ * @Author: CaoZixuan
+ * @Date: 2024-02-28
+ */
+public enum CourseEvaluationTypeEnum {
+    DEFAULT("默认", "期末考试", "按阅卷功能模块里的卷面成绩计算", 0), CUSTOM("自定义", "自定义", "", 1);
+
+    private final String type;
+
+    private final String name;
+
+    private final String value;
+
+    private final int index;
+
+    CourseEvaluationTypeEnum(String type, String name, String value, int index) {
+        this.type = type;
+        this.name = name;
+        this.value = value;
+        this.index = index;
+    }
+
+    public String getType() {
+        return type;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public String getValue() {
+        return value;
+    }
+
+    public int getIndex() {
+        return index;
+    }
+}

+ 20 - 0
teachcloud-obe/src/main/java/com/qmth/teachcloud/obe/enums/CourseSettingTypeEnum.java

@@ -0,0 +1,20 @@
+package com.qmth.teachcloud.obe.enums;
+
+/**
+ * @Description: 课程设置类型
+ * @Author: CaoZixuan
+ * @Date: 2024-02-29
+ */
+public enum CourseSettingTypeEnum {
+    COURSE_DIMENSION("课程知识点"), COURSE_TARGET("课程目标"), COURSE_EVALUATION("课程评价方式"), COURSE_WEIGHT("课程权重");
+
+    private final String name;
+
+    CourseSettingTypeEnum(String name) {
+        this.name = name;
+    }
+
+    public String getName() {
+        return name;
+    }
+}