package test;

public class Employee {
	private String name;

	
	
	private int age;

	private int id;

	private String type;
	
	private String image;
	
	private int width;
	
	private int height;

	public Employee(){

	}

	public Employee(String name, int id, int age, String type, String image){//, int width, int height) {
		this.name = name;
		this.age = age;
		this.id  = id;
		this.type = type;
		this.image = image;
		//this.width = width;
		//this.height = height;

	}
	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width =  width;
	}
	
	public int getHeight() {
		return height;
	}

	public void setHeight (int height) {
		this.height =  height;
	}
	
	public String getName() {
		return name;
	}

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

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

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}


	public String toString() {
		StringBuffer sb = new StringBuffer();
		/*sb.append("Employee Details - ");
		sb.append("Name:" + getName());
		sb.append(", ");
		sb.append("Type:" + getType());
		sb.append(", ");
		sb.append("Id:" + getId());
		sb.append(", ");
		sb.append("Age:" + getAge());
		sb.append("."); */
		sb.append("Image name : " + getImageName());
		sb.append(".");
		
		return sb.toString();
	}
}
