package com.qiyou.mb.android.beans.basic;

public class GEO_bean  {

	public GEO_bean() {
		// TODO Auto-generated constructor stub
	}
	public GEO_bean(int id,int parentId,int geoType,String name,String address) {
		// TODO Auto-generated constructor stub
		_id =id;
		this.parentId = parentId;
		this.name = name;
		this.geoType =geoType;
		this.address=address;
	}
	
	public GEO_bean(GEOaddress gaddress) {
		// TODO Auto-generated constructor stub
		 
		if(gaddress==null)return;
		this.name = gaddress.getName();
		this.address=gaddress.getAddress();
		this.lat=gaddress.getLat();
		this.lon=gaddress.getLon();
	}
	
	private int _id;
	private int parentId;
	private int geoType;
	private String name;
	private String comment;
	private float lat;
	private float lon;

	public GEO_bean(int geoId, int parentId, int geoType, String value) {
	}

	public String getProName() {
		return proName;
	}
	public void setProName(String proName) {
		this.proName = proName;
	}
	public String getCityName() {
		return cityName;
	}
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	public String getDistrictName() {
		return districtName;
	}
	public void setDistrictName(String districtName) {
		this.districtName = districtName;
	}
	public String getStreetName() {
		return streetName;
	}
	public void setStreetName(String streetName) {
		this.streetName = streetName;
	}
	private int city;
	private String address;
	private String proName;
	private String cityName;
	private String districtName;
	private String streetName;
	private String sharedAddressUrl;
	
	public int getId() {
		return _id;
	}
	public void setId(int id) {
		this._id =  id;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public int getGeoType() {
		return geoType;
	}
	public void setGeoType(int geoType) {
		this.geoType = geoType;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public float getLat() {
		return lat;
	}

	public void setLat(float lat) {
		this.lat = lat;
	}

	public float getLon() {
		return lon;
	}

	public void setLon(float lon) {
		this.lon = lon;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getSharedAddressUrl() {
		return sharedAddressUrl;
	}
	public void setSharedAddressUrl(String sharedAddressUrl) {
		this.sharedAddressUrl = sharedAddressUrl;
	}
	public int getCity() {
		return city;
	}
	public void setCity(int city) {
		this.city = city;
	}

}
