28 lines
500 B
Java
28 lines
500 B
Java
import java.util.Date;
|
|
|
|
public class Employee extends Person {
|
|
|
|
private int employeeID;
|
|
private Date joined;
|
|
public int getEmployeeID() {
|
|
return employeeID;
|
|
}
|
|
public void setEmployeeID(int employeeID) {
|
|
this.employeeID = employeeID;
|
|
}
|
|
public Date getJoined() {
|
|
return joined;
|
|
}
|
|
public void setJoined(Date joined) {
|
|
this.joined = joined;
|
|
}
|
|
public int getCategory() {
|
|
return Category;
|
|
}
|
|
public void setCategory(int category) {
|
|
Category = category;
|
|
}
|
|
private int Category;
|
|
|
|
}
|