import java.util.*;

//The person class is the parent class for any human based sub classes.
//In this context Guest and Staff both inherit this class.
public class Person {
	private String nric;
	private String occupation;
	private String name;
	private MyDate birthday;

	public Person(String name, String nric, MyDate birthday, String occupation) {
		setName(name);
		setNric(nric);
		setBirthday(birthday);
		setOccupation(occupation);
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNric() {
		return this.nric;
	}

	public void setOccupation(String occupation) {
		this.occupation = occupation;
	}

	public String getOccupation() {
		return this.occupation;
	}

	public void setNric(String nric) {
		this.nric = nric;
	}

	public MyDate getBirthday() {
		return this.birthday;
	}

	public void setBirthday(MyDate birthday) {
		this.birthday = birthday;
	}

}

