zhanghua
2022-09-27 6aae0fb74bb0414cf158bac825858006c92733ea
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
31
32
33
34
35
36
37
package com.ycl.entity.caseHandler;
 
/**
 * EventType 事件类型
 *
 * @version V1.0
 * @author: AI
 * @date: 2022-09-27 17:47
 **/
public enum QuestionCategory {
    VIOLATION(1, "违规"),
    ILLEGAL_BUILDING(2, "违建");
 
    private Integer code;
    private String name;
 
    QuestionCategory(int code, String name) {
        this.code = code;
        this.name = name;
    }
 
    public Integer getCode() {
        return code;
    }
 
    public void setCode(Integer code) {
        this.code = code;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
}