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.

238 lines
6.7 KiB

  1. using Entity.Sugar;
  2. using Entity.ViewModels;
  3. using Newtonsoft.Json;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace Entity.ShowEasyDtos
  10. {
  11. public class ONSiteBaseInfoDTO
  12. {
  13. public string ServiceID { get; set; }
  14. //服務編號
  15. public string ServiceNo { get; set; }
  16. //服務名稱
  17. public string ServiceName { get; set; }
  18. //費用説明
  19. public string ExpenseDescription { get; set; }
  20. //常見問題
  21. public List<FQADTO> FQAs { get; set; }
  22. //適用展會
  23. public string ExhibitionNames { get; set; }
  24. //訂單確認工作天
  25. public string ConfirmDays { get; set; }
  26. //服務適用地
  27. public string SuitPlaces { get; set; }
  28. //服務領取地
  29. public string ReceivinPlaces { get; set; }
  30. //適用展會ID
  31. public string ExhibitionID { get; set; }
  32. //服務特色 (服務名稱下方的)
  33. public string Features { get; set; }
  34. //服務説明
  35. public string Details { get; set; }
  36. //取消政策
  37. public string CancelPolicy { get; set; }
  38. //public string SupplierID { get; set; }
  39. //public string CurrencyID { get; set; }
  40. //public DateTime? LaunchDateS { get; set; }
  41. //public DateTime? LaunchDateE { get; set; }
  42. //public string PayType { get; set; }
  43. //public string CMode { get; set; }
  44. //public string SuitPlace { get; set; }
  45. //public string CancelPolicy { get; set; }
  46. //public string OrderMemo { get; set; }
  47. //public string SubCategoryID { get; set; }
  48. //public string ExhibitionID { get; set; }
  49. //public string OrderQuestions { get; set; }
  50. }
  51. public class ONSiteBaseListDTO
  52. {
  53. public string ServiceID { get; set; }
  54. //服務編號
  55. public string ServiceNo { get; set; }
  56. //服務名稱
  57. public string ServiceName { get; set; }
  58. //圖片
  59. public string PreviewFile { get; set; }
  60. public int MinPrice { get; set; }
  61. //適用地區
  62. public string PlaceName { get; set; }
  63. //服務類別名稱
  64. public string ServiceCategoryName { get; set; }
  65. public string LangID { get; set; }
  66. }
  67. public class FQADTO
  68. {
  69. public string Question { get; set; }
  70. public string Answer { get; set; }
  71. }
  72. public class ServiceCategoryDTO
  73. {
  74. /// <summary>
  75. ///
  76. /// </summary>
  77. public string CategoryID { get; set; }
  78. /// <summary>
  79. ///
  80. /// </summary>
  81. public string CategoryName { get; set; }
  82. /// <summary>
  83. ///
  84. /// </summary>
  85. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  86. public List<ServiceCategoryDTO> SubCategoryList = new List<ServiceCategoryDTO>();
  87. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  88. public Dictionary<string, ServiceCategoryDTO> SubCategoryDic = new Dictionary<string, ServiceCategoryDTO>();
  89. }
  90. public class ServiceRegionDTO
  91. {
  92. /// <summary>
  93. ///
  94. /// </summary>
  95. public string RegionID { get; set; }
  96. /// <summary>
  97. ///
  98. /// </summary>
  99. public string RegionName { get; set; }
  100. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  101. public List<ServiceCountryDTO> CountryList = new List<ServiceCountryDTO>();
  102. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  103. public Dictionary<string, ServiceCountryDTO> CountryDic = new Dictionary<string, ServiceCountryDTO>();
  104. }
  105. public class ServiceCountryDTO
  106. {
  107. /// <summary>
  108. ///
  109. /// </summary>
  110. public string CountryID { get; set; }
  111. /// <summary>
  112. ///
  113. /// </summary>
  114. public string CountryName { get; set; }
  115. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  116. public List<CityDTO> CityList = new List<CityDTO>();
  117. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  118. public Dictionary<string, CityDTO> CityDic = new Dictionary<string, CityDTO>();
  119. }
  120. public class ONSiteItemDTO
  121. {
  122. /// <summary>
  123. ///
  124. /// </summary>
  125. public string Guid { get; set; }
  126. public string ItemType { get; set; }
  127. public string ItemName { get; set; }
  128. public string ExpensesMemo { get; set; }
  129. public string EscortFreeCityID { get; set; }
  130. public DateTime? CreateDate { get; set; }
  131. //堆高機費用規則
  132. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  133. public List<ServiceCostRulesDTO> StackerCostRules = new List<ServiceCostRulesDTO>();
  134. //卡車費用規則
  135. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  136. public List<ServiceTruckCostRulesDTO> TruckCostRules = new List<ServiceTruckCostRulesDTO>();
  137. //卡車假日加班費
  138. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  139. public List<ServiceTruckOtherCostDTO> TruckHolidayPay = new List<ServiceTruckOtherCostDTO>();
  140. //卡車車型加價
  141. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  142. public List<ServiceTruckOtherCostDTO> TruckMarkupByModel = new List<ServiceTruckOtherCostDTO>();
  143. //非卡車,堆高機費用規則
  144. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  145. public List<ONSiteOtherCostRulesDTO> OtherCostRules = new List<ONSiteOtherCostRulesDTO>();
  146. }
  147. //堆高機費用規則
  148. public class ServiceCostRulesDTO
  149. {
  150. public int Index { get; set; }
  151. public string Guid { get; set; }
  152. public string Weight_Min { get; set; }
  153. public string Weight_Max { get; set; }
  154. public int? Price { get; set; }
  155. public string PricingMode { get; set; }
  156. public string Memo { get; set; }
  157. public DateTime? CreateDate { get; set; }
  158. }
  159. //卡車費用規則
  160. public class ServiceTruckCostRulesDTO
  161. {
  162. public string TruckID { get; set; }
  163. public string CityID { get; set; }
  164. public int? Price { get; set; }
  165. }
  166. //卡車假日加班費 卡車車型加價
  167. public class ServiceTruckOtherCostDTO
  168. {
  169. public string TruckID { get; set; }
  170. public int? Price { get; set; }
  171. }
  172. //非卡車,堆高機費用規則
  173. public class ONSiteOtherCostRulesDTO
  174. {
  175. public string Guid { get; set; }
  176. public string PricingMode { get; set; }
  177. public int? Price { get; set; }
  178. public int? InterbankPrice { get; set; }
  179. public string Unit_Min { get; set; }
  180. }
  181. }