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.

342 lines
10 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  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. //最小金額
  39. public int? MinPrice { get; set; }
  40. //幣別
  41. public string CurrencyID { get; set; }
  42. //幣別名稱
  43. public string CurrencyName { get; set; }
  44. //供應商名稱
  45. public string SupplierName { get; set; }
  46. //供應商Logo
  47. public string SupplierLogo { get; set; }
  48. //服務封面圖片
  49. public string PreviewFile { get; set; }
  50. //public string CurrencyID { get; set; }
  51. //public DateTime? LaunchDateS { get; set; }
  52. //public DateTime? LaunchDateE { get; set; }
  53. //public string PayType { get; set; }
  54. //public string CMode { get; set; }
  55. //public string SuitPlace { get; set; }
  56. //public string CancelPolicy { get; set; }
  57. //public string OrderMemo { get; set; }
  58. //public string SubCategoryID { get; set; }
  59. //public string ExhibitionID { get; set; }
  60. //public string OrderQuestions { get; set; }
  61. }
  62. public class ONSiteBaseListDTO
  63. {
  64. public string ServiceID { get; set; }
  65. //服務編號
  66. public string ServiceNo { get; set; }
  67. //服務名稱
  68. public string ServiceName { get; set; }
  69. //圖片
  70. public string PreviewFile { get; set; }
  71. public int? MinPrice { get; set; }
  72. //適用地區
  73. public string PlaceName { get; set; }
  74. //服務類別名稱
  75. public string ServiceCategoryName { get; set; }
  76. public string LangID { get; set; }
  77. public string CurrencyID { get; set; }
  78. public string CurrencyName { get; set; }
  79. }
  80. public class FQADTO
  81. {
  82. public string Question { get; set; }
  83. public string Answer { get; set; }
  84. }
  85. public class ServiceCategoryDTO
  86. {
  87. /// <summary>
  88. ///
  89. /// </summary>
  90. public string CategoryID { get; set; }
  91. /// <summary>
  92. ///
  93. /// </summary>
  94. public string CategoryName { get; set; }
  95. /// <summary>
  96. ///
  97. /// </summary>
  98. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  99. public List<ServiceCategoryDTO> SubCategoryList = new List<ServiceCategoryDTO>();
  100. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  101. public Dictionary<string, ServiceCategoryDTO> SubCategoryDic = new Dictionary<string, ServiceCategoryDTO>();
  102. }
  103. public class ServiceRegionDTO
  104. {
  105. /// <summary>
  106. ///
  107. /// </summary>
  108. public string RegionID { get; set; }
  109. /// <summary>
  110. ///
  111. /// </summary>
  112. public string RegionName { get; set; }
  113. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  114. public List<ServiceCountryDTO> CountryList = new List<ServiceCountryDTO>();
  115. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  116. public Dictionary<string, ServiceCountryDTO> CountryDic = new Dictionary<string, ServiceCountryDTO>();
  117. }
  118. public class ServiceCountryDTO
  119. {
  120. /// <summary>
  121. ///
  122. /// </summary>
  123. public string CountryID { get; set; }
  124. /// <summary>
  125. ///
  126. /// </summary>
  127. public string CountryName { get; set; }
  128. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  129. public List<CityDTO> CityList = new List<CityDTO>();
  130. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  131. public Dictionary<string, CityDTO> CityDic = new Dictionary<string, CityDTO>();
  132. }
  133. public class ONSiteItemDTO
  134. {
  135. /// <summary>
  136. ///
  137. /// </summary>
  138. public string Guid { get; set; }
  139. public string ItemType { get; set; }
  140. public string ItemName { get; set; }
  141. //文字説明(非堆高機,非卡車)
  142. public string CostRuleText { get; set; }
  143. public string ExpensesMemo { get; set; }
  144. public string EscortFreeCityID { get; set; }
  145. public DateTime? CreateDate { get; set; }
  146. public int? ItemOrderByValue { get; set; }
  147. //優惠方案:1:勾選
  148. public string PreferentialScheme { get; set; }
  149. //攤位數
  150. public int? BoothNo { get; set; }
  151. //噸數
  152. public int? TonNo { get; set; }
  153. //貨品件數
  154. public int? ItemNo { get; set; }
  155. //堆高機費用規則
  156. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  157. public List<ServiceCostRulesDTO> StackerCostRules = new List<ServiceCostRulesDTO>();
  158. //卡車費用規則
  159. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  160. public List<ServiceTruckCostRulesDTO> TruckCostRules = new List<ServiceTruckCostRulesDTO>();
  161. //卡車假日加班費
  162. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  163. public List<ServiceTruckOtherCostDTO> TruckHolidayPay = new List<ServiceTruckOtherCostDTO>();
  164. //卡車車型加價
  165. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  166. public List<ServiceTruckOtherCostDTO> TruckMarkupByModel = new List<ServiceTruckOtherCostDTO>();
  167. //卡車押車費用規則
  168. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  169. public List<ServiceTruckCostRulesDTO> TruckEscortCostRules = new List<ServiceTruckCostRulesDTO>();
  170. //非卡車,堆高機費用規則
  171. [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
  172. public List<ONSiteOtherCostRulesDTO> OtherCostRules = new List<ONSiteOtherCostRulesDTO>();
  173. }
  174. //堆高機費用規則
  175. public class ServiceCostRulesDTO
  176. {
  177. public int Index { get; set; }
  178. public string Guid { get; set; }
  179. public string Weight_Min { get; set; }
  180. public string Weight_Max { get; set; }
  181. public int? Price { get; set; }
  182. public string PricingMode { get; set; }
  183. public string Memo { get; set; }
  184. public DateTime? CreateDate { get; set; }
  185. }
  186. //卡車費用規則
  187. public class ServiceTruckCostRulesDTO
  188. {
  189. public string TruckID { get; set; }
  190. public string CityID { get; set; }
  191. public int? Price { get; set; }
  192. }
  193. //卡車假日加班費 卡車車型加價
  194. public class ServiceTruckOtherCostDTO
  195. {
  196. public string TruckID { get; set; }
  197. public int? Price { get; set; }
  198. }
  199. //非卡車,堆高機費用規則
  200. public class ONSiteOtherCostRulesDTO
  201. {
  202. public string Guid { get; set; }
  203. public string PricingMode { get; set; }
  204. public int? Price { get; set; }
  205. public int? InterbankPrice { get; set; }
  206. public string Unit_Min { get; set; }
  207. }
  208. public class OrderQuestionDTO
  209. {
  210. public string ServiceID { get; set; }
  211. public int QuestionID { get; set; }
  212. //1:必填 0:非必填
  213. public string RequiredFlag { get; set; }
  214. public string LangID { get; set; }
  215. public string SurveyName { get; set; }
  216. public string AnswerType { get; set; }
  217. public string Answer { get; set; }
  218. public int? OrderByValue { get; set; }
  219. }
  220. public class BookingOrderDTO
  221. {
  222. public string LangType { get; set; }
  223. public string ExhibitionID { get; set; }
  224. public string CurrencyID { get; set; }
  225. public string PayType { get; set; }
  226. public string ServiceID { get; set; }
  227. public string TotalPrice { get; set; }
  228. public string SubTotal { get; set; }
  229. public List<string> BookingItem { get; set; }
  230. public List<string> OrderQuestion { get; set; }
  231. public string ServiceDateS { get; set; }
  232. public string ServiceDateE { get; set; }
  233. //訂購人信息
  234. //名字
  235. public string FirstName { get; set; }
  236. //姓氏
  237. public string LastName { get; set; }
  238. //郵箱
  239. public string Email { get; set; }
  240. //國家
  241. public string CountryID { get; set; }
  242. //電話
  243. public string Phone { get; set; }
  244. //電話國碼
  245. public string PhoneCode { get; set; }
  246. //賬單資訊 公司
  247. //公司名稱
  248. public string INVCompanyName { get; set; }
  249. //統一編號
  250. public string INVTaxNumber { get; set; }
  251. //國家
  252. public string INVCountryID { get; set; }
  253. //州/省
  254. public string INVStateName { get; set; }
  255. //城市
  256. public string INVCityName { get; set; }
  257. //公司地址
  258. public string INVStreet1 { get; set; }
  259. //郵遞區號
  260. public string INVZipCode { get; set; }
  261. //賬單資訊 個人
  262. //名字
  263. public string INVFirstName { get; set; }
  264. //姓氏
  265. public string INVLastName { get; set; }
  266. //郵箱
  267. public string INVEmail { get; set; }
  268. //國家
  269. public string INVICountryID { get; set; }
  270. //電話
  271. public string INVPhone { get; set; }
  272. //電話國碼
  273. public string INVPhoneCode { get; set; }
  274. }
  275. }