heheng
6 天以前 61f6970c48d5334ca2b76e90eff94b46f593f5bd
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
package com.gkhy.exam.common.enums;
 
/**
 * 题目分配方式
 */
public enum QuestionAssignEnum {
    RANDOM(1, "随机"),
    RANK(2, "顺序");
 
    private final Integer code;
    private final String info;
 
    QuestionAssignEnum(Integer code, String info)
    {
        this.code = code;
        this.info = info;
    }
 
    public Integer getCode()
    {
        return code;
    }
 
    public String getInfo()
    {
        return info;
    }
}