Skip to content

Instantly share code, notes, and snippets.

@dennysfredericci
Created June 17, 2020 21:33
Show Gist options
  • Save dennysfredericci/e89becdaa191a3aff891749e305e5429 to your computer and use it in GitHub Desktop.
Save dennysfredericci/e89becdaa191a3aff891749e305e5429 to your computer and use it in GitHub Desktop.
public enum Gender {
FEMALE("F"),
MALE("M"),
NOT_AVAILABLE("N");
private final String code;
Gender(String code) {
this.code = code;
}
public String getCode() {
return code;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment