01: package org.strecks.holidaybooking.domain;
02:
03: import java.io.Serializable;
04:
05: public class LeaveType implements Serializable {
06:
07: private static final long serialVersionUID = 1L;
08:
09: private Integer leaveTypeId;
10:
11: private String leaveTypeName;
12:
13: public LeaveType(Integer leaveTypeId, String leaveTypeName) {
14: super ();
15: this .leaveTypeId = leaveTypeId;
16: this .leaveTypeName = leaveTypeName;
17: }
18:
19: public Integer getLeaveTypeId() {
20: return leaveTypeId;
21: }
22:
23: public String getLeaveTypeName() {
24: return leaveTypeName;
25: }
26:
27: }
|