
public abstract class Employee {
	private String name, title;
	private String id;
	private static int count = 0;
	
	public Employee(String name, String title) {
		this.name = name;
		this.title = title;
		this.id = setId();
	}
	
	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	public String toString() {
		return name;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId() {
		Employee.count += 1;
		this.id = String.format("Employee %", Employee.count);
	}
	
	public abstract void pay(int week);
	

}
