EnterExitCostDto.cs 29 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205
  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. public int CurrUserId { get; set; }
  22. }
  23. public class EnterExitCostMobileViewPermissionUsersDto : EnterExitCostInfobyDiIdDto
  24. {
  25. }
  26. public class PostEnterExitCostMobileSubInfoDto : EnterExitCostInfobyDiIdDto
  27. {
  28. /// <summary>
  29. /// 费用项Type
  30. /// 1:境内费用 2:国际旅费 3:住宿费 4:伙食费 5:公杂费 6:培训费 7:其他
  31. /// </summary>
  32. public int SubType { get; set; }
  33. }
  34. public class EnterExitCostSetViewPermissiionDto: PortDtoBase
  35. {
  36. public int GroupId { get; set; }
  37. public int[] UserIds { get; set; }
  38. public int CurrUserId { get; set; }
  39. }
  40. /// <summary>
  41. /// 出入境费用 Add And Update Dto
  42. /// </summary>
  43. public class EnterExitCostOperateDto : PortDtoBase
  44. {
  45. public int UserId { get; set; }
  46. /// <summary>
  47. /// Id
  48. /// </summary>
  49. public int Id { get; set; }
  50. /// <summary>
  51. /// 团组Id
  52. /// </summary>
  53. public int DiId { get; set; }
  54. #region 境内费用(其他费用)
  55. /// <summary>
  56. /// 境内费用(其他费用)选择框
  57. /// </summary>
  58. public int ChoiceOne { get; set; }
  59. /// <summary>
  60. /// 境内费用(其他费用)
  61. /// </summary>
  62. public decimal InsidePay { get; set; }
  63. #region 境内费用(其他费用)子项
  64. /// <summary>
  65. /// 签证费
  66. /// </summary>
  67. public decimal Visa { get; set; }
  68. /// <summary>
  69. /// 签证费描述
  70. /// </summary>
  71. public string? VisaRemark { get; set; }
  72. /// <summary>
  73. /// 疫苗费
  74. /// </summary>
  75. public decimal YiMiao { get; set; }
  76. /// <summary>
  77. /// 核酸检测费用
  78. /// </summary>
  79. public decimal HeSuan { get; set; }
  80. /// <summary>
  81. /// 服务费用
  82. /// </summary>
  83. public decimal Service { get; set; }
  84. /// <summary>
  85. /// 参展门票
  86. /// </summary>
  87. public decimal Ticket { get; set; }
  88. /// <summary>
  89. /// 保险费
  90. /// </summary>
  91. public decimal Safe { get; set; }
  92. public string FirstItemRemark { get; set; }
  93. #endregion
  94. #endregion
  95. #region 国际旅费
  96. /// <summary>
  97. /// 国际旅费合计选择框
  98. /// </summary>
  99. public int ChoiceTwo { get; set; }
  100. /// <summary>
  101. /// 经济舱小计选择框
  102. /// </summary>
  103. public int SumJJC { get; set; }
  104. /// <summary>
  105. /// 公务舱小计选择框
  106. /// </summary>
  107. public int SumGWC { get; set; }
  108. /// <summary>
  109. /// 公务舱小计选择框
  110. /// </summary>
  111. public int SumTDC { get; set; }
  112. /// <summary>
  113. /// 第二项备注
  114. /// </summary>
  115. public string TwoItemRemark { get; set; }
  116. #region 国际旅费子项
  117. /// <summary>
  118. /// 国际旅费合计(经济舱)
  119. /// </summary>
  120. public decimal OutsideJJPay { get; set; }
  121. /// <summary>
  122. /// 国际旅费合计(公务舱)
  123. /// </summary>
  124. public decimal OutsideGWPay { get; set; }
  125. /// <summary>
  126. /// 国际旅费合计(头等舱)
  127. /// </summary>
  128. public decimal OutsideTDPay { get; set; }
  129. /// <summary>
  130. /// 国际机票(经济舱)
  131. /// </summary>
  132. public decimal AirJJ { get; set; }
  133. /// <summary>
  134. /// 国际机票(公务舱)
  135. /// </summary>
  136. public decimal AirGW { get; set; }
  137. /// <summary>
  138. /// 国际机票(头等舱)
  139. /// </summary>
  140. public decimal AirTD { get; set; }
  141. /// <summary>
  142. /// 国外城市间交通费
  143. /// </summary>
  144. public decimal CityTranffic { get; set; }
  145. /// <summary>
  146. /// 多个币种存储
  147. /// 存储方式: 美元(USD):6.2350|.......|墨西哥比索(MXN):1.0000
  148. /// </summary>
  149. public List<CurrencyInfo>? Currencys { get; set; }
  150. #endregion
  151. #endregion
  152. #region 住宿费
  153. /// <summary>
  154. /// 住宿费合计选择框
  155. /// </summary>
  156. public int ChoiceThree { get; set; }
  157. /// <summary>
  158. /// 住宿费子项Data
  159. /// </summary>
  160. public List<DayAndCostAddView>? QuarterageData { get; set; }
  161. #endregion
  162. #region 伙食费
  163. /// <summary>
  164. /// 伙食费合计选择框
  165. /// </summary>
  166. public int ChoiceFour { get; set; }
  167. /// <summary>
  168. /// 伙食费子项Data
  169. /// </summary>
  170. public List<DayAndCostAddView>? BoardWagesData { get; set; }
  171. #endregion
  172. #region 公杂费
  173. /// <summary>
  174. /// 公杂费合计选择框
  175. /// </summary>
  176. public int ChoiceFive { get; set; }
  177. /// <summary>
  178. /// 公杂费子项Data
  179. /// </summary>
  180. public List<DayAndCostAddView>? MiscellaneousFeeData { get; set; }
  181. #endregion
  182. #region 培训费
  183. /// <summary>
  184. /// 培训费用选择框
  185. /// </summary>
  186. public int ChoiceSix { get; set; }
  187. /// <summary>
  188. /// 培训费子项Data
  189. /// </summary>
  190. public List<DayAndCostAddView>? TrainingExpenseData { get; set; }
  191. #endregion
  192. #region 其他费用
  193. /// <summary>
  194. /// 其他费用选择框
  195. /// </summary>
  196. public int OtherExpenses_Checked { get; set; }
  197. /// <summary>
  198. /// 培训费子项Data
  199. /// </summary>
  200. public List<DayOtherPriceView> DayOtherPriceData { get; set; }
  201. #endregion
  202. #region 最下面 选择框状态
  203. /// <summary>
  204. /// 经济舱选择框
  205. /// </summary>
  206. public int AirJJC_Checked { get; set; }
  207. /// <summary>
  208. /// 公务舱选择框
  209. /// </summary>
  210. public int AirGWC_Checked { get; set; }
  211. /// <summary>
  212. /// 公务舱选择框
  213. /// </summary>
  214. public int AirTDC_Checked { get; set; }
  215. #endregion
  216. }
  217. public class ConfirmCostDto {
  218. /// <summary>
  219. /// 类型
  220. /// 1:确认 2:撤回
  221. /// </summary>
  222. public int Type { get; set; }
  223. /// <summary>
  224. /// 数据Id
  225. /// </summary>
  226. public int Id { get; set; }
  227. }
  228. /// <summary>
  229. /// 出入境费用 - 表格导出 Dto
  230. /// </summary>
  231. public class EnterExitCostDownloadDto : PortDtoBase
  232. {
  233. public int DiId { get; set; }
  234. /// <summary>
  235. /// 模板类型
  236. /// 1 明细表
  237. /// 2 表格
  238. /// 3 团组成员名单
  239. /// </summary>
  240. public int ExportType { get; set; }
  241. /// <summary>
  242. /// 类型Id
  243. /// </summary>
  244. public int SubTypeId { get; set; }
  245. }
  246. /// <summary>
  247. /// 出入境费用 - 一键清空 dto
  248. /// </summary>
  249. public class EnterExitCostOneClickClearDto : PortDtoBase
  250. {
  251. public int UserId { get; set; }
  252. public int DiId { get; set; }
  253. public int Id { get; set; }
  254. }
  255. /// <summary>
  256. /// 团组模块 - 出入境国家费用标准 Page List
  257. /// </summary>
  258. public class NationalTravelFeePageDto : DtoBase
  259. {
  260. /// <summary>
  261. /// 国家
  262. /// </summary>
  263. public string Country { get; set; }
  264. /// <summary>
  265. /// 城市
  266. /// </summary>
  267. public string City { get; set; }
  268. }
  269. /// <summary>
  270. /// 团组模块 - 出入境国家费用标准
  271. /// 根据国家城市查询Dto
  272. /// </summary>
  273. public class NationalTravelFeeByCountryAndCityDto : PortDtoBase
  274. {
  275. /// <summary>
  276. /// 国家
  277. /// </summary>
  278. public string Country { get; set; }
  279. /// <summary>
  280. /// 城市
  281. /// </summary>
  282. public string City { get; set; }
  283. }
  284. /// <summary>
  285. /// 出入境费用子项删除
  286. /// </summary>
  287. public class EnterExitCostSubItemDelDto : DelBaseDto
  288. { }
  289. /// <summary>
  290. /// 团组模块 - 出入境国家费用标准 - Del
  291. /// </summary>
  292. public class NationalTravelFeeDelDto : DelBaseDto
  293. {
  294. }
  295. /// <summary>
  296. /// 团组模块 - 出入境国家费用标准 - Add Or Update Dto
  297. /// </summary>
  298. public class NationalTravelFeeOperateDto:PortDtoBase
  299. {
  300. /// <summary>
  301. /// 编号
  302. /// add Id = 0 Or Update Id=Id值
  303. /// </summary>
  304. public int Id { get; set; }
  305. /// <summary>
  306. /// 创建者Id
  307. /// </summary>
  308. public int UserId { get; set; }
  309. /// <summary>
  310. /// 洲别
  311. /// </summary>
  312. public string? Continent { get; set; }
  313. /// <summary>
  314. /// 国家
  315. /// </summary>
  316. public string? Country { get; set; }
  317. /// <summary>
  318. /// 城市
  319. /// </summary>
  320. public string? City { get; set; }
  321. /// <summary>
  322. /// 币种
  323. /// Sys_SetData STid=66
  324. /// </summary>
  325. public int Currency { get; set; }
  326. /// <summary>
  327. /// 住宿费
  328. /// </summary>
  329. public decimal? RoomCost { get; set; } = 0;
  330. /// <summary>
  331. /// 伙食费
  332. /// </summary>
  333. public decimal? FoodCost { get; set; } = 0;
  334. /// <summary>
  335. /// 公杂费
  336. /// </summary>
  337. public decimal? PublicCost { get; set; } = 0;
  338. /// <summary>
  339. /// 备注
  340. /// </summary>
  341. public string? Remark { get; set; }
  342. }
  343. #region Mobile Request Dto
  344. public class PostEnterExitCostMobileGroupDataDto : DtoBase
  345. {
  346. public int CurrUserId { get; set; }
  347. public string GroupName { get; set; }
  348. }
  349. public class PostEnterExitCostMobileCurrencyDataDto : DtoBase
  350. {
  351. public string CurrencyName { get; set; }
  352. }
  353. public class PostEnterExitCostMobileOtherItemCurrencyDataDto : PortDtoBase
  354. {
  355. public int DiId { get; set; }
  356. }
  357. public class GetEnterExitCostMobileFeeTipsDto : PortDtoBase {
  358. /// <summary>
  359. /// 团组Id
  360. /// </summary>
  361. public int GroupId { get; set; }
  362. /// <summary>
  363. /// 提示数据类型
  364. /// 1 实时汇率
  365. /// 2 签证费用
  366. /// 3 机票费用
  367. /// </summary>
  368. public int TipsType { get; set; }
  369. }
  370. public class PostNationalTravelFeeMobileDataDto :DtoBase
  371. {
  372. /// <summary>
  373. /// 搜索条件
  374. /// </summary>
  375. public string Search { get; set; }
  376. }
  377. public class PostNationalTravelFeeMobileInfoDto : PortDtoBase
  378. {
  379. public int DiId { get; set; }
  380. }
  381. #region op
  382. public class EnterExitCostMobileSetViewPermissiionDto
  383. {
  384. public int DiId { get; set; }
  385. public int[] UserIds { get; set; }
  386. public int CurrUserId { get; set; }
  387. }
  388. public class PostEnterExitCostMobileUpdateDtoBase : PortDtoBase {
  389. public int Id { get; set; }
  390. public int DiId { get; set; }
  391. public int CurrUserId { get; set; }
  392. }
  393. public class PostEnterExitCostMobileFeeRateOpDto : PostEnterExitCostMobileUpdateDtoBase
  394. {
  395. /// <summary>
  396. /// 多个币种存储
  397. /// 存储方式: 美元(USD):6.2350|.......|墨西哥比索(MXN):1.0000
  398. /// </summary>
  399. public CurrencyInfo[] Currencys { get; set; }
  400. }
  401. public class PostEnterExitCostMobileFeeOpCheckboxDto : PostEnterExitCostMobileUpdateDtoBase
  402. {
  403. /// <summary>
  404. /// 境内费用(其他费用)选择框
  405. /// </summary>
  406. public int ChoiceOne { get; set; }
  407. /// <summary>
  408. /// 国际旅费合计选择框
  409. /// </summary>
  410. public int ChoiceTwo { get; set; }
  411. /// <summary>
  412. /// 经济舱小计选择框
  413. /// </summary>
  414. public int SumJJC { get; set; }
  415. /// <summary>
  416. /// 公务舱小计选择框
  417. /// </summary>
  418. public int SumGWC { get; set; }
  419. /// <summary>
  420. /// 公务舱小计选择框
  421. /// </summary>
  422. public int SumTDC { get; set; }
  423. /// <summary>
  424. /// 住宿费合计选择框
  425. /// </summary>
  426. public int ChoiceThree { get; set; }
  427. /// <summary>
  428. /// 伙食费合计选择框
  429. /// </summary>
  430. public int ChoiceFour { get; set; }
  431. /// <summary>
  432. /// 公杂费合计选择框
  433. /// </summary>
  434. public int ChoiceFive { get; set; }
  435. /// <summary>
  436. /// 培训费用选择框
  437. /// </summary>
  438. public int ChoiceSix { get; set; }
  439. /// <summary>
  440. /// 其他费用选择框
  441. /// </summary>
  442. public int OtherExpenses_Checked { get; set; }
  443. }
  444. public class EnterExitCostMobileOpSingleCheckboxDto: PostEnterExitCostMobileUpdateDtoBase
  445. {
  446. /// <summary>
  447. /// 子项复选框类型
  448. /// 3:住宿费; 4:伙食费; 5:公杂费; 6:培训费;7:其他;
  449. /// </summary>
  450. public int ItemType { get; set; }
  451. /// <summary>
  452. /// 是否选中
  453. /// 0 未选择 1 选中
  454. /// </summary>
  455. public int IsSelected { get; set; }
  456. }
  457. public class PostEnterExitCostMobileOpStep1Dto : PostEnterExitCostMobileUpdateDtoBase
  458. {
  459. /// <summary>
  460. /// 复选框选中
  461. /// 0 未选中 1 选中
  462. /// </summary>
  463. public int ChoiceOne { get; set; }
  464. /// <summary>
  465. /// 签证费
  466. /// </summary>
  467. public decimal Visa { get; set; }
  468. /// <summary>
  469. /// 签证费描述
  470. /// </summary>
  471. public string? VisaRemark { get; set; }
  472. /// <summary>
  473. /// 疫苗费
  474. /// </summary>
  475. public decimal YiMiao { get; set; }
  476. /// <summary>
  477. /// 核酸检测费用
  478. /// </summary>
  479. public decimal HeSuan { get; set; }
  480. /// <summary>
  481. /// 服务费用
  482. /// </summary>
  483. public decimal Service { get; set; }
  484. /// <summary>
  485. /// 参展门票
  486. /// </summary>
  487. public decimal Ticket { get; set; }
  488. /// <summary>
  489. /// 保险费
  490. /// </summary>
  491. public decimal Safe { get; set; }
  492. public string FirstItemRemark { get; set; }
  493. }
  494. public class PostEnterExitCostMobileOpStep2Dto : PostEnterExitCostMobileUpdateDtoBase
  495. {
  496. /// <summary>
  497. /// 复选框选中(经济舱)
  498. /// 0 未选中 1 选中
  499. /// </summary>
  500. public int ChoiceTwoJJ { get; set; }
  501. /// <summary>
  502. /// 国际旅费合计(经济舱)
  503. /// </summary>
  504. public decimal OutsideJJPay { get; set; }
  505. /// <summary>
  506. /// 复选框选中(公务舱)
  507. /// 0 未选中 1 选中
  508. /// </summary>
  509. public int ChoiceTwoGW { get; set; }
  510. /// <summary>
  511. /// 国际旅费合计(公务舱)
  512. /// </summary>
  513. public decimal OutsideGWPay { get; set; }
  514. /// <summary>
  515. /// 复选框选中(头等舱)
  516. /// 0 未选中 1 选中
  517. /// </summary>
  518. public int ChoiceTwoTD { get; set; }
  519. /// <summary>
  520. /// 国际旅费合计(头等舱)
  521. /// </summary>
  522. public decimal OutsideTDPay { get; set; }
  523. /// <summary>
  524. /// 国际机票(经济舱)
  525. /// </summary>
  526. public decimal AirJJ { get; set; }
  527. /// <summary>
  528. /// 国际机票(公务舱)
  529. /// </summary>
  530. public decimal AirGW { get; set; }
  531. /// <summary>
  532. /// 国际机票(头等舱)
  533. /// </summary>
  534. public decimal AirTD { get; set; }
  535. /// <summary>
  536. /// 国外城市间交通费
  537. /// </summary>
  538. public decimal CityTranffic { get; set; }
  539. public string TwoItemRemark { get; set; }
  540. }
  541. public class PostEnterExitCostMobileOpStep3To6Dto
  542. {
  543. public int PortType { get; set; }
  544. public int DiId { get; set; }
  545. public int CurrUserId { get; set; }
  546. /// <summary>
  547. /// 费用类型
  548. /// 1 住宿费;2 伙食费;3 公杂费;4 培训费
  549. /// </summary>
  550. public int FeeType { get; set; }
  551. /// <summary>
  552. /// 详情
  553. /// </summary>
  554. public DayAndCostMobileInfoDto[] Infos { get; set; }
  555. }
  556. public class PostEnterExitCostMobileOpSingleStep3To6Dto : DayAndCostMobileInfoDto
  557. {
  558. public int PortType { get; set; }
  559. public int DiId { get; set; }
  560. public int CurrUserId { get; set; }
  561. ///// <summary>
  562. ///// 数据主表Id
  563. ///// </summary>
  564. //public int ParentId { get; set; }
  565. ///// <summary>
  566. ///// 复选框
  567. ///// 0 未选中 1 选中
  568. ///// </summary>
  569. //public int IsSelect { get; set; }
  570. /// <summary>
  571. /// 费用类型
  572. /// 3 住宿费;4 伙食费;5 公杂费;6 培训费
  573. /// </summary>
  574. public int FeeType { get; set; }
  575. }
  576. public class DayAndCostMobileInfoDto
  577. {
  578. /// <summary>
  579. /// 数据子表Id
  580. /// </summary>
  581. public int SubId { get; set; }
  582. /// <summary>
  583. /// 天数
  584. /// </summary>
  585. public int Days { get; set; }
  586. /// <summary>
  587. /// 地名Id
  588. /// </summary>
  589. public int NationalTravelFeeId { get; set; }
  590. /// <summary>
  591. /// 费用标准
  592. /// </summary>
  593. public decimal Cost { get; set; }
  594. /// <summary>
  595. /// 币种
  596. /// Sys_SetData STid = 66
  597. /// </summary>
  598. public int Currency { get; set; }
  599. /// <summary>
  600. /// 小计
  601. /// </summary>
  602. public decimal SubTotal { get; set; }
  603. }
  604. public class PostEnterExitCostMobileOpStep7Dto
  605. {
  606. public int PortType { get; set; }
  607. public int DiId { get; set; }
  608. public int CurrUserId { get; set; }
  609. /// <summary>
  610. /// 详情
  611. /// </summary>
  612. public DayOtherPriceMobileInfoDto[] Infos { get; set; }
  613. }
  614. public class PostEnterExitCostMobileOpSingleStep7Dto : DayOtherPriceMobileInfoDto
  615. {
  616. public int PortType { get; set; }
  617. //public int DiId { get; set; }
  618. public int CurrUserId { get; set; }
  619. ///// <summary>
  620. ///// 数据主表Id
  621. ///// </summary>
  622. //public int ParentId { get; set; }
  623. ///// <summary>
  624. ///// 复选框
  625. ///// 0 未选中 1 选中
  626. ///// </summary>
  627. //public int IsSelect { get; set; }
  628. }
  629. public class DayOtherPriceMobileInfoDto
  630. {
  631. public int SubId { get; set; }
  632. public int Diid { get; set; }
  633. public int SetDataId { get; set; }
  634. public int Index { get; set; }
  635. public decimal Cost { get; set; }
  636. public int Currency { get; set; }
  637. public decimal SubTotal { get; set; }
  638. public string Remark { get; set; }
  639. }
  640. #endregion
  641. #endregion
  642. #region Draft Mobile Request Dto
  643. public class PostEnterExitCostDraftMobileGroupDataDto : DtoBase
  644. {
  645. public string GroupName { get; set; }
  646. }
  647. public class PostEnterExitCostDraftMobileCurrencyDataDto : DtoBase
  648. {
  649. public string CurrencyName { get; set; }
  650. }
  651. public class PostEnterExitCostDraftMobileOtherItemCurrencyDataDto : PortDtoBase
  652. {
  653. public int DraftId { get; set; }
  654. }
  655. public class EnterExitCostDraftMobileFeeTipsDto : PortDtoBase
  656. {
  657. /// <summary>
  658. /// 提示数据类型
  659. /// 1 实时汇率
  660. /// 2 签证费用
  661. /// 3 机票费用
  662. /// </summary>
  663. public int TipsType { get; set; }
  664. }
  665. public class EnterExitCostDraftMobileParentInfoDto
  666. {
  667. public int DraftId { get; set; }
  668. public int CurrUserId { get; set; }
  669. }
  670. #region op
  671. public class PostEnterExitCostDraftMobileUpdateDtoBase : PortDtoBase
  672. {
  673. public int DraftId { get; set; }
  674. public int CurrUserId { get; set; }
  675. }
  676. public class EnterExitCostDraftMobileSetViewPermissiionDto
  677. {
  678. public int DraftId { get; set; }
  679. public int[] UserIds { get; set; }
  680. public int CurrUserId { get; set; }
  681. }
  682. public class PostEnterExitCostDraftMobileFeeRateOpDto : PostEnterExitCostDraftMobileUpdateDtoBase
  683. {
  684. /// <summary>
  685. /// 多个币种存储
  686. /// 存储方式: 美元(USD):6.2350|.......|墨西哥比索(MXN):1.0000
  687. /// </summary>
  688. public CurrencyInfo[] Currencys { get; set; }
  689. }
  690. public class PostEnterExitCostDraftMobileFeeOpCheckboxDto : PostEnterExitCostDraftMobileUpdateDtoBase
  691. {
  692. /// <summary>
  693. /// 境内费用(其他费用)选择框
  694. /// </summary>
  695. public int ChoiceOne { get; set; }
  696. /// <summary>
  697. /// 国际旅费合计选择框
  698. /// </summary>
  699. public int ChoiceTwo { get; set; }
  700. /// <summary>
  701. /// 经济舱小计选择框
  702. /// </summary>
  703. public int SumJJC { get; set; }
  704. /// <summary>
  705. /// 公务舱小计选择框
  706. /// </summary>
  707. public int SumGWC { get; set; }
  708. /// <summary>
  709. /// 公务舱小计选择框
  710. /// </summary>
  711. public int SumTDC { get; set; }
  712. /// <summary>
  713. /// 住宿费合计选择框
  714. /// </summary>
  715. public int ChoiceThree { get; set; }
  716. /// <summary>
  717. /// 伙食费合计选择框
  718. /// </summary>
  719. public int ChoiceFour { get; set; }
  720. /// <summary>
  721. /// 公杂费合计选择框
  722. /// </summary>
  723. public int ChoiceFive { get; set; }
  724. /// <summary>
  725. /// 培训费用选择框
  726. /// </summary>
  727. public int ChoiceSix { get; set; }
  728. /// <summary>
  729. /// 其他费用选择框
  730. /// </summary>
  731. public int OtherExpenses_Checked { get; set; }
  732. }
  733. public class EnterExitCostDarftMobileOpSingleCheckboxDto : PostEnterExitCostDraftMobileUpdateDtoBase
  734. {
  735. /// <summary>
  736. /// 子项复选框类型
  737. /// 3:住宿费; 4:伙食费; 5:公杂费; 6:培训费;7:其他;
  738. /// </summary>
  739. public int ItemType { get; set; }
  740. /// <summary>
  741. /// 是否选中
  742. /// 0 未选择 1 选中
  743. /// </summary>
  744. public int IsSelected { get; set; }
  745. }
  746. public class PostEnterExitCostDraftMobileOpStep1Dto : PostEnterExitCostDraftMobileUpdateDtoBase
  747. {
  748. /// <summary>
  749. /// 复选框选中
  750. /// 0 未选中 1 选中
  751. /// </summary>
  752. public int ChoiceOne { get; set; }
  753. /// <summary>
  754. /// 签证费
  755. /// </summary>
  756. public decimal Visa { get; set; }
  757. /// <summary>
  758. /// 签证费描述
  759. /// </summary>
  760. public string? VisaRemark { get; set; }
  761. /// <summary>
  762. /// 疫苗费
  763. /// </summary>
  764. public decimal YiMiao { get; set; }
  765. /// <summary>
  766. /// 核酸检测费用
  767. /// </summary>
  768. public decimal HeSuan { get; set; }
  769. /// <summary>
  770. /// 服务费用
  771. /// </summary>
  772. public decimal Service { get; set; }
  773. /// <summary>
  774. /// 参展门票
  775. /// </summary>
  776. public decimal Ticket { get; set; }
  777. /// <summary>
  778. /// 保险费
  779. /// </summary>
  780. public decimal Safe { get; set; }
  781. public string FirstItemRemark { get; set; }
  782. }
  783. public class PostEnterExitCostDraftMobileOpStep2Dto : PostEnterExitCostDraftMobileUpdateDtoBase
  784. {
  785. /// <summary>
  786. /// 复选框选中(经济舱)
  787. /// 0 未选中 1 选中
  788. /// </summary>
  789. public int ChoiceTwoJJ { get; set; }
  790. /// <summary>
  791. /// 国际旅费合计(经济舱)
  792. /// </summary>
  793. public decimal OutsideJJPay { get; set; }
  794. /// <summary>
  795. /// 复选框选中(公务舱)
  796. /// 0 未选中 1 选中
  797. /// </summary>
  798. public int ChoiceTwoGW { get; set; }
  799. /// <summary>
  800. /// 国际旅费合计(公务舱)
  801. /// </summary>
  802. public decimal OutsideGWPay { get; set; }
  803. /// <summary>
  804. /// 复选框选中(头等舱)
  805. /// 0 未选中 1 选中
  806. /// </summary>
  807. public int ChoiceTwoTD { get; set; }
  808. /// <summary>
  809. /// 国际旅费合计(头等舱)
  810. /// </summary>
  811. public decimal OutsideTDPay { get; set; }
  812. /// <summary>
  813. /// 国际机票(经济舱)
  814. /// </summary>
  815. public decimal AirJJ { get; set; }
  816. /// <summary>
  817. /// 国际机票(公务舱)
  818. /// </summary>
  819. public decimal AirGW { get; set; }
  820. /// <summary>
  821. /// 国际机票(头等舱)
  822. /// </summary>
  823. public decimal AirTD { get; set; }
  824. /// <summary>
  825. /// 国外城市间交通费
  826. /// </summary>
  827. public decimal CityTranffic { get; set; }
  828. public string TwoItemRemark { get; set; }
  829. }
  830. public class PostEnterExitCostDraftMobileOpStep3To6Dto
  831. {
  832. public int PortType { get; set; }
  833. public int DraftId { get; set; }
  834. public int CurrUserId { get; set; }
  835. /// <summary>
  836. /// 费用类型
  837. /// 1 住宿费;2 伙食费;3 公杂费;4 培训费
  838. /// </summary>
  839. public int FeeType { get; set; }
  840. /// <summary>
  841. /// 详情
  842. /// </summary>
  843. public DayAndCostMobileInfoDto[] Infos { get; set; }
  844. }
  845. public class PostEnterExitCostDraftMobileOpSingleStep3To6Dto : DayAndCostDraftMobileInfoDto
  846. {
  847. public int PortType { get; set; }
  848. public int DraftId { get; set; }
  849. public int CurrUserId { get; set; }
  850. ///// <summary>
  851. ///// 数据主表Id
  852. ///// </summary>
  853. //public int ParentId { get; set; }
  854. ///// <summary>
  855. ///// 复选框
  856. ///// 0 未选中 1 选中
  857. ///// </summary>
  858. //public int IsSelect { get; set; }
  859. /// <summary>
  860. /// 费用类型
  861. /// 3 住宿费;4 伙食费;5 公杂费;6 培训费
  862. /// </summary>
  863. public int FeeType { get; set; }
  864. }
  865. public class DayAndCostDraftMobileInfoDto
  866. {
  867. /// <summary>
  868. /// 数据子表Id
  869. /// </summary>
  870. public int SubId { get; set; }
  871. /// <summary>
  872. /// 天数
  873. /// </summary>
  874. public int Days { get; set; }
  875. /// <summary>
  876. /// 地名Id
  877. /// </summary>
  878. public int NationalTravelFeeId { get; set; }
  879. /// <summary>
  880. /// 费用标准
  881. /// </summary>
  882. public decimal Cost { get; set; }
  883. /// <summary>
  884. /// 币种
  885. /// Sys_SetData STid = 66
  886. /// </summary>
  887. public int Currency { get; set; }
  888. /// <summary>
  889. /// 小计
  890. /// </summary>
  891. public decimal SubTotal { get; set; }
  892. }
  893. public class PostEnterExitCostDraftMobileOpStep7Dto
  894. {
  895. public int PortType { get; set; }
  896. public int DraftId { get; set; }
  897. public int CurrUserId { get; set; }
  898. /// <summary>
  899. /// 详情
  900. /// </summary>
  901. public DayOtherPriceMobileInfoDto[] Infos { get; set; }
  902. }
  903. public class PostEnterExitCostDraftMobileOpSingleStep7Dto : DayOtherPriceDraftMobileInfoDto
  904. {
  905. public int PortType { get; set; }
  906. //public int DiId { get; set; }
  907. public int CurrUserId { get; set; }
  908. ///// <summary>
  909. ///// 数据主表Id
  910. ///// </summary>
  911. //public int ParentId { get; set; }
  912. ///// <summary>
  913. ///// 复选框
  914. ///// 0 未选中 1 选中
  915. ///// </summary>
  916. //public int IsSelect { get; set; }
  917. }
  918. public class DayOtherPriceDraftMobileInfoDto
  919. {
  920. public int SubId { get; set; }
  921. public int DarftId { get; set; }
  922. public int SetDataId { get; set; }
  923. public int Index { get; set; }
  924. public decimal Cost { get; set; }
  925. public int Currency { get; set; }
  926. public decimal SubTotal { get; set; }
  927. public string Remark { get; set; }
  928. }
  929. #endregion
  930. #endregion
  931. }