You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
718 B

  1. using Newtonsoft.Json;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Entity.ShowEasyDtos
  8. {
  9. public class CountryDTO
  10. {
  11. /// <summary>
  12. ///
  13. /// </summary>
  14. public string CountryID { get; set; }
  15. /// <summary>
  16. ///
  17. /// </summary>
  18. public string CountryName { get; set; }
  19. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  20. public List<CityDTO> CityList = new List<CityDTO>();
  21. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  22. public Dictionary<string, CityDTO> CityDic = new Dictionary<string, CityDTO>();
  23. }
  24. }