“djh”
3 天以前 d7471cff04678b91271bdc566bcbddf2f4ab04b7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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;
    }
}