Skip to content

Instantly share code, notes, and snippets.

View atrifyllis's full-sized avatar

Alexandros Trifyllis atrifyllis

View GitHub Profile
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
namespace app\models\search;
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;
}