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.

171 lines
4.2 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 ONSiteBaseListDTO
  50. {
  51. public string ServiceID { get; set; }
  52. //服務編號
  53. public string ServiceNo { get; set; }
  54. //服務名稱
  55. public string ServiceName { get; set; }
  56. //圖片
  57. public string PreviewFile { get; set; }
  58. public int MinPrice { get; set; }
  59. //適用地區
  60. public string PlaceName { get; set; }
  61. //服務類別名稱
  62. public string ServiceCategoryName { get; set; }
  63. public string LangID { get; set; }
  64. }
  65. public class FQADTO
  66. {
  67. public string Question { get; set; }
  68. public string Answer { get; set; }
  69. }
  70. public class ServiceCategoryDTO
  71. {
  72. /// <summary>
  73. ///
  74. /// </summary>
  75. public string CategoryID { get; set; }
  76. /// <summary>
  77. ///
  78. /// </summary>
  79. public string CategoryName { get; set; }
  80. /// <summary>
  81. ///
  82. /// </summary>
  83. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  84. public List<ServiceCategoryDTO> SubCategoryList = new List<ServiceCategoryDTO>();
  85. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  86. public Dictionary<string, ServiceCategoryDTO> SubCategoryDic = new Dictionary<string, ServiceCategoryDTO>();
  87. }
  88. public class ServiceRegionDTO
  89. {
  90. /// <summary>
  91. ///
  92. /// </summary>
  93. public string RegionID { get; set; }
  94. /// <summary>
  95. ///
  96. /// </summary>
  97. public string RegionName { get; set; }
  98. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  99. public List<ServiceCountryDTO> CountryList = new List<ServiceCountryDTO>();
  100. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  101. public Dictionary<string, ServiceCountryDTO> CountryDic = new Dictionary<string, ServiceCountryDTO>();
  102. }
  103. public class ServiceCountryDTO
  104. {
  105. /// <summary>
  106. ///
  107. /// </summary>
  108. public string CountryID { get; set; }
  109. /// <summary>
  110. ///
  111. /// </summary>
  112. public string CountryName { get; set; }
  113. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  114. public List<CityDTO> CityList = new List<CityDTO>();
  115. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  116. public Dictionary<string, CityDTO> CityDic = new Dictionary<string, CityDTO>();
  117. }
  118. }