龚焕茏
2024-08-23 5ab636a4f38353a278ea1b99afdbec9d4f3eeac9
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;
    }
}