wjc
2023-07-07 22494af577e21a930abef309f2f60c03c9615bd1
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
package com.hdl.log.enums;
 
/**
 * Created by hxb on 2023/3/14.
 * 报警等级定义
 */
public enum Level {
    high("high", "高"),
    middle("middle", "中"),
    low("low", "低");
 
    private String code;
    private String msg;
 
    Level(String code, String msg) {
        this.msg = msg;
        this.code = code;
    }
 
    public String getCode() {
        return code;
    }
 
    public void setCode(String code) {
        this.code = code;
    }
 
    public String getMsg() {
        return msg;
    }
 
    public void setMsg(String msg) {
        this.msg = msg;
    }
}