using Newtonsoft.Json;
namespace Masuit.Tools.Models
{
///
/// 地理信息成分
///
public class AddressComponent
{
///
/// 国家
///
[JsonProperty("country")]
public string Country { get; set; }
///
/// 国家代码
///
[JsonProperty("country_code")]
public int CountryCode { get; set; }
///
/// 省
///
[JsonProperty("province")]
public string Province { get; set; }
///
/// 市
///
[JsonProperty("city")]
public string City { get; set; }
///
/// 区
///
[JsonProperty("district")]
public string District { get; set; }
///
/// 街道
///
[JsonProperty("street")]
public string Street { get; set; }
///
/// 门牌号
///
[JsonProperty("street_number")]
public string StreetNumber { get; set; }
///
/// 方位
///
[JsonProperty("direction")]
public string Direction { get; set; }
///
/// 距离
///
[JsonProperty("distance")]
public string Distance { get; set; } = "0";
}
}