29 lines
616 B
C#
29 lines
616 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace Assets.Scripts.Apis.Models
|
|||
|
|
{
|
|||
|
|
public class CountryInfo
|
|||
|
|
{
|
|||
|
|
public string name { get; set; }
|
|||
|
|
public List<ProvinceInfo> states;
|
|||
|
|
}
|
|||
|
|
public class CityInfo
|
|||
|
|
{
|
|||
|
|
public string name { get;set; }
|
|||
|
|
}
|
|||
|
|
public class ProvinceInfo
|
|||
|
|
{
|
|||
|
|
public string name { get; set; }
|
|||
|
|
public List<CityInfo> cities;
|
|||
|
|
}
|
|||
|
|
public class ChinaCityObject
|
|||
|
|
{
|
|||
|
|
public string name { get; set; }
|
|||
|
|
public string province { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|