Refactor NDG code
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package net.gepafin.tendermanagement.enums;
|
||||
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
|
||||
public enum NdgStatusEnum {
|
||||
|
||||
NDG_INITITATED("NDG_INITITATED"),
|
||||
NDG_GENERATED("NDG_GENERATED"),
|
||||
NDG_IN_PROGRESS("NDG_IN_PROGRESS");
|
||||
|
||||
private String value;
|
||||
|
||||
NdgStatusEnum(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@JsonValue
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user