updated code

This commit is contained in:
rajesh
2024-09-12 15:49:32 +05:30
parent 2d5aeb95b5
commit 2afb092070
2 changed files with 26 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
package net.gepafin.tendermanagement.enums;
import com.fasterxml.jackson.annotation.JsonValue;
public enum RoleStatusEnum {
ROLE_BENEFICIARY("ROLE_BENEFICIARY"),
ROLE_SUPER_ADMIN("ROLE_SUPER_ADMIN"),
ROLE_PRE_INSTRUCTOR("ROLE_PRE_INSTRUCTOR"),
ROLE_GEPAFIN_OPERATOR("ROLE_GEPAFIN_OPERATOR");
private String value;
RoleStatusEnum(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
}