This commit is contained in:
parent
fc56cbe360
commit
196ec996df
1 changed files with 23 additions and 0 deletions
|
|
@ -0,0 +1,23 @@
|
||||||
|
package ru.spcex.platform.enumeration;
|
||||||
|
|
||||||
|
import ru.spcex.platform.utils.enumeration.IEnumKey;
|
||||||
|
|
||||||
|
public enum ServiceStatus implements IEnumKey {
|
||||||
|
Active("ACTV"),
|
||||||
|
Blocked("BLKD"),
|
||||||
|
Suspended("SSPD"),
|
||||||
|
Closed("CLOS"),
|
||||||
|
Reopened("ROPN"),
|
||||||
|
;
|
||||||
|
|
||||||
|
private final String key;
|
||||||
|
|
||||||
|
ServiceStatus(String key) {
|
||||||
|
this.key = key;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getKey() {
|
||||||
|
return key;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue