package cn.net.caoyao.cpzshandset.bean;

public class TruckAddressBean {

	private int id;//主键，自增
	private int cityCode;//cityCode：三级地址信息的Code码
	private String detailAddress;//detailAddress：详细地址信息的文字信息
	private int originType;//来源   0：本地生成    1：服务器获取
	private String createDate;//createDate：创建时间
	private String updateDate;//updateDate：更新日期
	
	public TruckAddressBean() {
		// TODO Auto-generated constructor stub
	}
	public TruckAddressBean(int id,int cityCode,String detailAddress,int originType,String createDate) {
		this.id = id;
		this.cityCode = cityCode;
		this.detailAddress = detailAddress;
		this.originType = originType;
		this.createDate = createDate;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getCityCode() {
		return cityCode;
	}
	public void setCityCode(int cityCode) {
		this.cityCode = cityCode;
	}
	public String getDetailAddress() {
		return detailAddress;
	}
	public void setDetailAddress(String detailAddress) {
		this.detailAddress = detailAddress;
	}
	public int getOriginType() {
		return originType;
	}
	public void setOriginType(int originType) {
		this.originType = originType;
	}
	public String getCreateDate() {
		return createDate;
	}
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	public String getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(String updateDate) {
		this.updateDate = updateDate;
	}
	@Override
	public String toString() {
		return "TruckAddressBean [id=" + id + ", cityCode=" + cityCode + ", detailAddress=" + detailAddress
				+ ", originType=" + originType + ", createDate=" + createDate + ", updateDate=" + updateDate + "]";
	}
	
}
