EquipmentMaintenanceEnums.java
755 字节
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
38
39
40
41
42
43
44
45
package com.skua.modules.equipment.enums;
/**
* @author sonin
* @date 2021/11/10 18:03
*/
public enum EquipmentMaintenanceEnums {
/**
* 发布状态
**/
UNPUBLISHED(0, "未发布"),
PUBLISHED(1, "已发布"),
/**
* 执行结果
**/
NOT_FINISH(0, "未完成"),
RUNNING(1, "进行中"),
FINISHED(2, "完成"),
/**
* 执行状态
**/
TIME_OUT(0, "超时"),
NORMAL(1, "正常");
private final Integer key;
private final String value;
EquipmentMaintenanceEnums(Integer key, String value) {
this.key = key;
this.value = value;
}
public Integer getKey() {
return key;
}
public String getValue() {
return value;
}
}