using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
///
/// Addresscomponent Data Structure.
///
[Serializable]
public class Addresscomponent : AopObject
{
///
/// 行政区编码
///
[XmlElement("adcode")]
public string Adcode { get; set; }
///
/// 建筑信息
///
[XmlElement("building")]
public Building Building { get; set; }
///
/// 商圈信息列表
///
[XmlArray("business_areas")]
[XmlArrayItem("businessarea")]
public List BusinessAreas { get; set; }
///
/// 当所在城市为北京、上海、天津、重庆四个直辖市时,该字段返回为空。当所在城市属于县级市的时候,此字段为空。
///
[XmlElement("city")]
public string City { get; set; }
///
/// 城市编码
///
[XmlElement("citycode")]
public string Citycode { get; set; }
///
/// 国内默认返回中国
///
[XmlElement("country")]
public string Country { get; set; }
///
/// 坐标点所在区
///
[XmlElement("district")]
public string District { get; set; }
///
/// 社区信息
///
[XmlElement("neighborhood")]
public Neighborhood Neighborhood { get; set; }
///
/// 坐标点所在省名称
///
[XmlElement("province")]
public string Province { get; set; }
///
/// 门牌信息
///
[XmlElement("street_number")]
public Streetnumber StreetNumber { get; set; }
///
/// 乡镇街道编码
///
[XmlElement("towncode")]
public string Towncode { get; set; }
///
/// 坐标点所在乡镇/街道(此街道为社区街道,不是道路信息)
///
[XmlElement("township")]
public string Township { get; set; }
}
}