using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AllBase.Model.Division { public class PddDivision { public int? code { get; set; } // null, public int? national_code { get; set; } // null, public int? pdd_region_id { get; set; } // 500, public int? parent_id { get; set; } // 52, public string name { get; set; } // "东城区", public string level { get; set; } // "district", public int? region_type { get; set; } // 3, public List children { get; set; } // [], public int? region_tag { get; set; } // 1, public int? is_virtual { get; set; } // 0, public bool? is_capital { get; set; } // false, public int? is_state_subsidy_supported { get; set; } // 1, public int? street_required_for_state_subsidy { get; set; } // 0, public PddDivisionLocation location { get; set; } // { "lat": 39.92855, "lng": 116.41637 }, public bool? pdd_only { get; set; } // true } public class PddDivisionLocation { public decimal? lat { get; set; } // 39.92855 public decimal? lng { get; set; } // 116.41637 } }