using Newtonsoft.Json; namespace Masuit.Tools.Models { /// /// 百度IP接口的信息 /// public class BaiduIP { /// /// 基本信息 /// [JsonProperty("address")] public string Address { get; set; } /// /// 基本地理信息 /// [JsonProperty("content")] public AddressInfo AddressInfo { get; set; } /// /// 返回状态,0正常,1出错 /// [JsonProperty("status")] public int Status { get; set; } } /// /// 基本地理信息 /// public class AddressInfo { /// /// 基本地址 /// [JsonProperty("address")] public string Address { get; set; } /// /// 经纬度 /// [JsonProperty("point")] public LatiLongitude LatiLongitude { get; set; } } /// /// 经纬度 /// public class LatiLongitude { /// /// 经度 /// [JsonProperty("x")] public string X { get; set; } /// /// 纬度 /// [JsonProperty("y")] public string Y { get; set; } } }