Done ticket GEPAFINBE-8
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package net.gepafin.tendermanagement.enums;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
|
||||
public enum CallTypeEnum {
|
||||
|
||||
DRAFT("DRAFT"),
|
||||
PUBLISH("PUBLISH"),
|
||||
EXPIRE("EXPIRE");
|
||||
|
||||
private String value;
|
||||
|
||||
CallTypeEnum(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@JsonValue
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package net.gepafin.tendermanagement.enums;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
|
||||
public enum DocumentTypeEnum {
|
||||
|
||||
DOCUMENT("DOCUMENT"),
|
||||
IMAGES("IMAGES");
|
||||
|
||||
private String value;
|
||||
|
||||
DocumentTypeEnum(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@JsonValue
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user