package entity; /** * * @author Ninh */ public class Employee { private int id; private String name; private String dob; private boolean gender; private Department department; public Employee() { } public Employee(int id, String name, String dob, boolean gender, Department department) { this.id = id; this.name = name; this.dob = dob; this.gender = gender; this.department = department; } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getDob() { return dob; } public void setDob(String dob) { this.dob = dob; } public boolean getGender() { return gender; } public void setGender(boolean gender) { this.gender = gender; } public Department getDepartment() { return department; } public void setDepartment(Department department) { this.department = department; } }