xiangpei
2024-06-03 ebc58083edd1342aad6bc81936608c824fae7fa8
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
package com.ycl.jxkg.domain.enums;
 
public enum QuestionStatusEnum {
 
    OK(1, "正常"),
    Publish(2, "发布");
 
    private final Integer code;
    private final String name;
 
    QuestionStatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
 
 
    public Integer getCode() {
        return code;
    }
 
    public String getName() {
        return name;
    }
 
 
}