fuliqi
2024-09-17 e13b129c300d3eff2ba555d0c41bbccbaab1014a
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
package enumeration;
 
import lombok.Getter;
 
/**
 * @author:xp
 * @date:2024/7/25 16:54
 */
@Getter
public enum OvertimeStatus {
 
    NOT(0, "未超时"),
    ALARM(1, "警告"),
    YES(2, "超时"),
    ;
 
    private final Integer value;
 
    private final String desc;
 
    OvertimeStatus(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}