using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MES.Production.Entity { public class AddressGPS { [JsonProperty("status")] public string Status { get; set; } [JsonProperty("info")] public string Info { get; set; } [JsonProperty("infocode")] public string Infocode { get; set; } [JsonProperty("count")] public string Count { get; set; } [JsonProperty("geocodes")] public IList Geocodes { get; set; } } public class Neighborhood { [JsonProperty("name")] public IList Name { get; set; } [JsonProperty("type")] public IList Type { get; set; } } public class Building { [JsonProperty("name")] public IList Name { get; set; } [JsonProperty("type")] public IList Type { get; set; } } public class Geocode { [JsonProperty("formatted_address")] public string FormattedAddress { get; set; } [JsonProperty("province")] public string Province { get; set; } [JsonProperty("citycode")] public string Citycode { get; set; } [JsonProperty("city")] public string City { get; set; } [JsonProperty("district")] public string District { get; set; } [JsonProperty("township")] public IList Township { get; set; } [JsonProperty("neighborhood")] public Neighborhood Neighborhood { get; set; } [JsonProperty("building")] public Building Building { get; set; } [JsonProperty("adcode")] public string Adcode { get; set; } [JsonProperty("street")] public object Street { get; set; } [JsonProperty("number")] public object Number { get; set; } [JsonProperty("location")] public string Location { get; set; } [JsonProperty("level")] public string Level { get; set; } } }