/* place.java */
package historyPlaces;

public class place {
	
	private int 	pid;
	private int 	parent;
	private String	placeName;
	private String	comment;
	private int		photoid;
	
	public place(int placeID, int parentID, String name, String comment, int photoID){
		this.pid 		= 	placeID;
		this.parent 	= 	parentID;
		this.placeName	=	name;
		this.comment	=	comment;
		this.photoid	=	photoID;
	}
	
	public place(){
		this(-1, -1, "", "", -1);
	}
	
	public int getPlaceID(){
		return this.pid;
	}
	
	public int getParentID(){
		return this.parent;
	}
	
	public String getPlaceName(){
		return this.placeName;
	}
	
	public String getComment(){
		return this.comment;
	}
	
	public int getPhotoID(){
		return this.photoid;
	}
}