kongzy
2024-06-24 4910e41f81a85c03a9dfc83f8ec9c1e71c123d49
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;
    }
}