Skip to content

Instantly share code, notes, and snippets.

@atrifyllis
Created May 19, 2014 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atrifyllis/e7adfb576ee311aabda1 to your computer and use it in GitHub Desktop.
Save atrifyllis/e7adfb576ee311aabda1 to your computer and use it in GitHub Desktop.
test
package gr.alx.leavesmanagement.leave.enums;
public enum LeaveType {
NORMAL("Normal"), SICK("Sick"), UNPAID("Unpaid");
private String leaveType;
LeaveType(String leaveType) {
this.leaveType = leaveType;
}
public String toString() {
return leaveType;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment