Created
May 19, 2014 21:22
-
-
Save atrifyllis/e7adfb576ee311aabda1 to your computer and use it in GitHub Desktop.
test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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