src/main/java/com/ycl/jxkg/enums/QuestionTypeEnum.java
@@ -11,10 +11,11 @@ GapFilling(4, "填空题"), ShortAnswer(5, "简答题"), Calculation(6,"计算题"); int code; Integer code; String name; QuestionTypeEnum(int code, String name) { QuestionTypeEnum(Integer code, String name) { this.code = code; this.name = name; } @@ -43,21 +44,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; } }