EnterExitCostDto.cs 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  1. using OASystem.Domain.ViewModels.Groups;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace OASystem.Domain.Dtos.Groups
  8. {
  9. public class EnterExitCostDto
  10. {
  11. }
  12. /// <summary>
  13. /// 出入境费用详情 Dto
  14. /// </summary>
  15. public class EnterExitCostInfobyDiIdDto : PortDtoBase
  16. {
  17. /// <summary>
  18. /// 团组Id
  19. /// </summary>
  20. public int DiId { get; set; }
  21. }
  22. /// <summary>
  23. /// 出入境费用 Add And Update Dto
  24. /// </summary>
  25. public class EnterExitCostOperateDto : PortDtoBase
  26. {
  27. public int UserId { get; set; }
  28. /// <summary>
  29. /// Id
  30. /// </summary>
  31. public int Id { get; set; }
  32. /// <summary>
  33. /// 团组Id
  34. /// </summary>
  35. public int DiId { get; set; }
  36. #region 境内费用(其他费用)
  37. /// <summary>
  38. /// 境内费用(其他费用)选择框
  39. /// </summary>
  40. public int ChoiceOne { get; set; }
  41. /// <summary>
  42. /// 境内费用(其他费用)
  43. /// </summary>
  44. public decimal InsidePay { get; set; }
  45. #region 境内费用(其他费用)子项
  46. /// <summary>
  47. /// 签证费
  48. /// </summary>
  49. public decimal Visa { get; set; }
  50. /// <summary>
  51. /// 签证费描述
  52. /// </summary>
  53. public string? VisaRemark { get; set; }
  54. /// <summary>
  55. /// 疫苗费
  56. /// </summary>
  57. public decimal YiMiao { get; set; }
  58. /// <summary>
  59. /// 核酸检测费用
  60. /// </summary>
  61. public decimal HeSuan { get; set; }
  62. /// <summary>
  63. /// 服务费用
  64. /// </summary>
  65. public decimal Service { get; set; }
  66. /// <summary>
  67. /// 参展门票
  68. /// </summary>
  69. public decimal Ticket { get; set; }
  70. /// <summary>
  71. /// 保险费
  72. /// </summary>
  73. public decimal Safe { get; set; }
  74. #endregion
  75. #endregion
  76. #region 国际旅费
  77. /// <summary>
  78. /// 国际旅费合计选择框
  79. /// </summary>
  80. public int ChoiceTwo { get; set; }
  81. /// <summary>
  82. /// 经济舱小计选择框
  83. /// </summary>
  84. public int SumJJC { get; set; }
  85. /// <summary>
  86. /// 公务舱小计选择框
  87. /// </summary>
  88. public int SumGWC { get; set; }
  89. /// <summary>
  90. /// 公务舱小计选择框
  91. /// </summary>
  92. public int SumTDC { get; set; }
  93. #region 国际旅费子项
  94. /// <summary>
  95. /// 国际旅费合计(经济舱)
  96. /// </summary>
  97. public decimal OutsideJJPay { get; set; }
  98. /// <summary>
  99. /// 国际旅费合计(公务舱)
  100. /// </summary>
  101. public decimal OutsideGWPay { get; set; }
  102. /// <summary>
  103. /// 国际旅费合计(头等舱)
  104. /// </summary>
  105. public decimal OutsideTDPay { get; set; }
  106. /// <summary>
  107. /// 国际机票(经济舱)
  108. /// </summary>
  109. public decimal AirJJ { get; set; }
  110. /// <summary>
  111. /// 国际机票(公务舱)
  112. /// </summary>
  113. public decimal AirGW { get; set; }
  114. /// <summary>
  115. /// 国际机票(头等舱)
  116. /// </summary>
  117. public decimal AirTD { get; set; }
  118. /// <summary>
  119. /// 国外城市间交通费
  120. /// </summary>
  121. public decimal CityTranffic { get; set; }
  122. /// <summary>
  123. /// 多个币种存储
  124. /// 存储方式: 美元(USD):6.2350|.......|墨西哥比索(MXN):1.0000
  125. /// </summary>
  126. public List<CurrencyInfo>? Currencys { get; set; }
  127. #endregion
  128. #endregion
  129. #region 住宿费
  130. /// <summary>
  131. /// 住宿费合计选择框
  132. /// </summary>
  133. public int ChoiceThree { get; set; }
  134. /// <summary>
  135. /// 住宿费子项Data
  136. /// </summary>
  137. public List<DayAndCostAddView>? QuarterageData { get; set; }
  138. #endregion
  139. #region 伙食费
  140. /// <summary>
  141. /// 伙食费合计选择框
  142. /// </summary>
  143. public int ChoiceFour { get; set; }
  144. /// <summary>
  145. /// 伙食费子项Data
  146. /// </summary>
  147. public List<DayAndCostAddView>? BoardWagesData { get; set; }
  148. #endregion
  149. #region 公杂费
  150. /// <summary>
  151. /// 公杂费合计选择框
  152. /// </summary>
  153. public int ChoiceFive { get; set; }
  154. /// <summary>
  155. /// 公杂费子项Data
  156. /// </summary>
  157. public List<DayAndCostAddView>? MiscellaneousFeeData { get; set; }
  158. #endregion
  159. #region 培训费
  160. /// <summary>
  161. /// 培训费用选择框
  162. /// </summary>
  163. public int ChoiceSix { get; set; }
  164. /// <summary>
  165. /// 培训费子项Data
  166. /// </summary>
  167. public List<DayAndCostAddView>? TrainingExpenseData { get; set; }
  168. #endregion
  169. #region 最下面 选择框状态
  170. /// <summary>
  171. /// 经济舱选择框
  172. /// </summary>
  173. public int AirJJC_Checked { get; set; }
  174. /// <summary>
  175. /// 公务舱选择框
  176. /// </summary>
  177. public int AirGWC_Checked { get; set; }
  178. /// <summary>
  179. /// 公务舱选择框
  180. /// </summary>
  181. public int AirTDC_Checked { get; set; }
  182. #endregion
  183. }
  184. public class ConfirmCostDto {
  185. /// <summary>
  186. /// 类型
  187. /// 1:确认 2:撤回
  188. /// </summary>
  189. public int Type { get; set; }
  190. /// <summary>
  191. /// 数据Id
  192. /// </summary>
  193. public int Id { get; set; }
  194. }
  195. /// <summary>
  196. /// 出入境费用 - 表格导出 Dto
  197. /// </summary>
  198. public class EnterExitCostDownloadDto : PortDtoBase
  199. {
  200. public int DiId { get; set; }
  201. /// <summary>
  202. /// 模板类型
  203. /// 1 明细表
  204. /// 2 表格
  205. /// 3 团组成员名单
  206. /// </summary>
  207. public int ExportType { get; set; }
  208. /// <summary>
  209. /// 类型Id
  210. /// </summary>
  211. public int SubTypeId { get; set; }
  212. }
  213. /// <summary>
  214. /// 出入境费用 - 一键清空 dto
  215. /// </summary>
  216. public class EnterExitCostOneClickClearDto : PortDtoBase
  217. {
  218. public int UserId { get; set; }
  219. public int DiId { get; set; }
  220. public int Id { get; set; }
  221. }
  222. /// <summary>
  223. /// 团组模块 - 出入境国家费用标准 Page List
  224. /// </summary>
  225. public class NationalTravelFeePageDto : DtoBase
  226. {
  227. /// <summary>
  228. /// 国家
  229. /// </summary>
  230. public string Country { get; set; }
  231. /// <summary>
  232. /// 城市
  233. /// </summary>
  234. public string City { get; set; }
  235. }
  236. /// <summary>
  237. /// 团组模块 - 出入境国家费用标准
  238. /// 根据国家城市查询Dto
  239. /// </summary>
  240. public class NationalTravelFeeByCountryAndCityDto : PortDtoBase
  241. {
  242. /// <summary>
  243. /// 国家
  244. /// </summary>
  245. public string Country { get; set; }
  246. /// <summary>
  247. /// 城市
  248. /// </summary>
  249. public string City { get; set; }
  250. }
  251. /// <summary>
  252. /// 出入境费用子项删除
  253. /// </summary>
  254. public class EnterExitCostSubItemDelDto : DelBaseDto
  255. { }
  256. /// <summary>
  257. /// 团组模块 - 出入境国家费用标准 - Del
  258. /// </summary>
  259. public class NationalTravelFeeDelDto : DelBaseDto
  260. {
  261. }
  262. /// <summary>
  263. /// 团组模块 - 出入境国家费用标准 - Add Or Update Dto
  264. /// </summary>
  265. public class NationalTravelFeeOperateDto:PortDtoBase
  266. {
  267. /// <summary>
  268. /// 编号
  269. /// add Id = 0 Or Update Id=Id值
  270. /// </summary>
  271. public int Id { get; set; }
  272. /// <summary>
  273. /// 创建者Id
  274. /// </summary>
  275. public int UserId { get; set; }
  276. /// <summary>
  277. /// 洲别
  278. /// </summary>
  279. public string? Continent { get; set; }
  280. /// <summary>
  281. /// 国家
  282. /// </summary>
  283. public string? Country { get; set; }
  284. /// <summary>
  285. /// 城市
  286. /// </summary>
  287. public string? City { get; set; }
  288. /// <summary>
  289. /// 币种
  290. /// Sys_SetData STid=66
  291. /// </summary>
  292. public int Currency { get; set; }
  293. /// <summary>
  294. /// 住宿费
  295. /// </summary>
  296. public decimal? RoomCost { get; set; } = 0;
  297. /// <summary>
  298. /// 伙食费
  299. /// </summary>
  300. public decimal? FoodCost { get; set; } = 0;
  301. /// <summary>
  302. /// 公杂费
  303. /// </summary>
  304. public decimal? PublicCost { get; set; } = 0;
  305. /// <summary>
  306. /// 备注
  307. /// </summary>
  308. public string? Remark { get; set; }
  309. }
  310. }