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.

153 lines
3.6 KiB

  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 ONSiteBaseInfoDTO
  10. {
  11. public string ServiceID { get; set; }
  12. //服務編號
  13. public string ServiceNo { get; set; }
  14. //服務名稱
  15. public string ServiceName { get; set; }
  16. //費用説明
  17. public string ExpenseDescription { get; set; }
  18. //常見問題
  19. public List<FQADTO> FQAs { get; set; }
  20. //適用展會
  21. public string ExhibitionNames { get; set; }
  22. //訂單確認工作天
  23. public string ConfirmDays { get; set; }
  24. //服務適用地
  25. public string SuitPlaces { get; set; }
  26. //服務領取地
  27. public string ReceivinPlaces { get; set; }
  28. //適用展會ID
  29. public string ExhibitionID { get; set; }
  30. //服務特色 (服務名稱下方的)
  31. public string Features { get; set; }
  32. //服務説明
  33. public string Details { get; set; }
  34. //取消政策
  35. public string CancelPolicy { get; set; }
  36. //public string SupplierID { get; set; }
  37. //public string CurrencyID { get; set; }
  38. //public DateTime? LaunchDateS { get; set; }
  39. //public DateTime? LaunchDateE { get; set; }
  40. //public string PayType { get; set; }
  41. //public string CMode { get; set; }
  42. //public string SuitPlace { get; set; }
  43. //public string CancelPolicy { get; set; }
  44. //public string OrderMemo { get; set; }
  45. //public string SubCategoryID { get; set; }
  46. //public string ExhibitionID { get; set; }
  47. //public string OrderQuestions { get; set; }
  48. }
  49. public class FQADTO
  50. {
  51. public string Question { get; set; }
  52. public string Answer { get; set; }
  53. }
  54. public class ServiceCategoryDTO
  55. {
  56. /// <summary>
  57. ///
  58. /// </summary>
  59. public string CategoryID { get; set; }
  60. /// <summary>
  61. ///
  62. /// </summary>
  63. public string CategoryName { get; set; }
  64. /// <summary>
  65. ///
  66. /// </summary>
  67. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  68. public List<ServiceCategoryDTO> SubCategoryList = new List<ServiceCategoryDTO>();
  69. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  70. public Dictionary<string, ServiceCategoryDTO> SubCategoryDic = new Dictionary<string, ServiceCategoryDTO>();
  71. }
  72. public class ServiceRegionDTO
  73. {
  74. /// <summary>
  75. ///
  76. /// </summary>
  77. public string RegionID { get; set; }
  78. /// <summary>
  79. ///
  80. /// </summary>
  81. public string RegionName { get; set; }
  82. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  83. public List<ServiceCountryDTO> CountryList = new List<ServiceCountryDTO>();
  84. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  85. public Dictionary<string, ServiceCountryDTO> CountryDic = new Dictionary<string, ServiceCountryDTO>();
  86. }
  87. public class ServiceCountryDTO
  88. {
  89. /// <summary>
  90. ///
  91. /// </summary>
  92. public string CountryID { get; set; }
  93. /// <summary>
  94. ///
  95. /// </summary>
  96. public string CountryName { get; set; }
  97. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  98. public List<CityDTO> CityList = new List<CityDTO>();
  99. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  100. public Dictionary<string, CityDTO> CityDic = new Dictionary<string, CityDTO>();
  101. }
  102. }