package com.gkhy.exam.common.enums; /** * 题目类型 */ public enum QuestionTypeEnum { SINGLE(1, "单选题"), MULTI(2, "多选题"), JUDGE(3, "判断题"), EASY(4, "简答题"); private final Integer code; private final String info; QuestionTypeEnum(Integer code, String info) { this.code = code; this.info = info; } public Integer getCode() { return code; } public String getInfo() { return info; } }