GroupStatementView.cs 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326
  1. using Google.Protobuf;
  2. using OASystem.Domain.Entities.Financial;
  3. using OASystem.Domain.Entities.Groups;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace OASystem.Domain.ViewModels.Statistics
  10. {
  11. /// <summary>
  12. /// 团组报表
  13. /// </summary>
  14. public class GroupStatementView
  15. {
  16. }
  17. /// <summary>
  18. /// 团组报表
  19. /// Items View
  20. /// </summary>
  21. public class GroupStatementItemView
  22. {
  23. /// <summary>
  24. /// 序号
  25. /// </summary>
  26. public int Row_Number { get; set; }
  27. /// <summary>
  28. /// 是否操作完成
  29. /// 0否1是
  30. /// </summary>
  31. public int IsSure { get; set; }
  32. /// <summary>
  33. /// 主键Id
  34. /// 团组Id
  35. /// </summary>
  36. public int Id { get; set; }
  37. /// <summary>
  38. /// 团号
  39. /// </summary>
  40. public string? TourCode { get; set; }
  41. /// <summary>
  42. /// 接团操作人
  43. /// </summary>
  44. public string? JietuanOperator { get; set; }
  45. /// <summary>
  46. /// 团组等级Id
  47. /// </summary>
  48. public int TeamLevId { get; set; }
  49. /// <summary>
  50. /// 团组等级
  51. /// </summary>
  52. public string? TeamLev { get; set; }
  53. /// <summary>
  54. /// 团组名称
  55. /// </summary>
  56. public string? TeamName { get; set; }
  57. /// <summary>
  58. /// 客户名称
  59. /// </summary>
  60. public string? ClientName { get; set; }
  61. /// <summary>
  62. /// 客户所属公司
  63. /// </summary>
  64. public string? ClientUnit { get; set; }
  65. /// <summary>
  66. /// 团组类型Id
  67. /// </summary>
  68. public int TeamTypeId { get; set; }
  69. /// <summary>
  70. /// 团组类型
  71. /// </summary>
  72. public string? TeamType { get; set; }
  73. /// <summary>
  74. /// 出团日期
  75. /// </summary>
  76. public DateTime VisitDate { get; set; }
  77. /// <summary>
  78. /// 出行天数
  79. /// </summary>
  80. public int VisitDays { get; set; }
  81. /// <summary>
  82. /// 出行人数
  83. /// </summary>
  84. public int VisitPNumber { get; set; }
  85. /// <summary>
  86. /// 最后收款时间
  87. /// </summary>
  88. public DateTime? LastCollectionTime { get; set; }
  89. }
  90. /// <summary>
  91. /// 团组报表
  92. /// Details View
  93. /// </summary>
  94. public class GroupStatementDetailsView
  95. {
  96. /// <summary>
  97. /// 费用总计 描述
  98. /// </summary>
  99. public string? FeeTotalStr { get; set; }
  100. /// <summary>
  101. /// 团组收入
  102. /// Data View
  103. /// </summary>
  104. public GroupIncomeView? GroupIncome { get; set; }
  105. /// <summary>
  106. /// 团组收入
  107. /// 描述
  108. /// </summary>
  109. public string? GroupIncomeStr { get; set; }
  110. /// <summary>
  111. /// 团组支出
  112. /// </summary>
  113. public GroupExpenditureView? GroupExpenditure { get; set; }
  114. }
  115. #region 团组收入
  116. /// <summary>
  117. /// 团组收入
  118. /// Data View
  119. /// </summary>
  120. public class GroupIncomeView
  121. {
  122. /// <summary>
  123. /// 应收 Items
  124. /// </summary>
  125. public List<Gsd_ForeignReceivablesView>? Receivables { get; set; }
  126. /// <summary>
  127. /// 应收 Str
  128. /// </summary>
  129. public string? ReceivableStr { get; set; }
  130. /// <summary>
  131. /// 已收 Items
  132. /// </summary>
  133. public List<Gsd_ProceedsReceivedView>? ProceedsReceivedViews { get; set; }
  134. /// <summary>
  135. /// 已收 Str
  136. /// </summary>
  137. public string? ProceedsReceivedStr { get; set; }
  138. /// <summary>
  139. /// 支出费用 Items
  140. /// </summary>
  141. public List<Gsd_ExtraCostsView>? ExtraCostsViews { get; set; }
  142. /// <summary>
  143. /// 支出费用 Str
  144. /// </summary>
  145. public string? ExtraCostsStr { get; set; }
  146. /// <summary>
  147. /// 收款退还 Items
  148. /// </summary>
  149. public List<Gsd_PaymentRefundAndOtherMoneyView>? PaymentRefundAndOtherMoneyViews { get; set; }
  150. /// <summary>
  151. /// 收款退还 Str
  152. /// </summary>
  153. public string? PaymentRefundAndOtherMoneyStr { get; set; }
  154. }
  155. /// <summary>
  156. /// 应收报表
  157. /// </summary>
  158. public class Gsd_ForeignReceivablesView
  159. {
  160. public int Id { get; set; }
  161. public int diid { get; set; }
  162. /// <summary>
  163. /// 添加方式
  164. /// 0 - 账单模块 1 - 成本预算模块 2 - 实际报价
  165. /// </summary>
  166. public int AddingWay { get; set; }
  167. /// <summary>
  168. /// 审核状态 AddingWay==2该项有值
  169. /// 0 - 未审核 1 - 审核通过 2 - 审核不通过
  170. /// </summary>
  171. public int Status { get; set; }
  172. public string StatusStr
  173. {
  174. get
  175. {
  176. string str = "-";
  177. if (AddingWay == 2)
  178. {
  179. if (Status == 0) str = "未审核";
  180. else if (Status == 1) str = "审核通过";
  181. else if (Status == 2) str = "审核不通过";
  182. }
  183. return str;
  184. }
  185. }
  186. public string Auditor { get; set; }
  187. public string AuditorStr { get {
  188. string str = "-";
  189. if (AddingWay == 2)
  190. {
  191. if (Status != 0)
  192. {
  193. str = @$"{Auditor} ";
  194. }
  195. }
  196. return str;
  197. } }
  198. //public DateTime? AuditTime { get; set; }
  199. /// <summary>
  200. /// 费用名称
  201. /// </summary>
  202. public string? PriceName { get; set; }
  203. /// <summary>
  204. /// 单价
  205. /// </summary>
  206. public decimal Price { get; set; } = 0.00M;
  207. /// <summary>
  208. /// 数量
  209. /// </summary>
  210. public int Count { get; set; }
  211. /// <summary>
  212. /// 单位
  213. /// </summary>
  214. public string? Unit { get; set; }
  215. /// <summary>
  216. /// 币种
  217. /// </summary>
  218. public int Currency { get; set; }
  219. /// <summary>
  220. /// 币种 Code
  221. /// </summary>
  222. public string CurrencyCode { get; set; }
  223. /// <summary>
  224. /// 币种 Name
  225. /// </summary>
  226. public string CurrencyName { get; set; }
  227. /// <summary>
  228. /// 汇率
  229. /// </summary>
  230. public decimal Rate { get; set; } = 1.0000M;
  231. /// <summary>
  232. /// 应收金额
  233. /// </summary>
  234. public decimal ItemSumPrice { get; set; } = 0.00M;
  235. }
  236. /// <summary>
  237. /// 已收报表
  238. /// </summary>
  239. public class Gsd_ProceedsReceivedView
  240. {
  241. public int Id { get; set; }
  242. public int Diid { get; set; }
  243. public string SectionTimeDt { get; set; }
  244. /// <summary>
  245. /// 到款时间
  246. /// </summary>
  247. public string SectionTime { get {
  248. string dt = "";
  249. if (!string.IsNullOrEmpty(SectionTimeDt))
  250. {
  251. DateTime validDate;
  252. bool isValid = DateTime.TryParse(SectionTimeDt, out validDate);
  253. if (isValid)
  254. {
  255. dt = validDate.ToString("yyyy-MM-dd");
  256. }
  257. }
  258. return dt;
  259. } }
  260. /// <summary>
  261. /// 费用金额
  262. /// </summary>
  263. public decimal Price { get; set; } = 0.00M;
  264. /// <summary>
  265. /// 币种
  266. /// </summary>
  267. public int Currency { get; set; }
  268. /// <summary>
  269. /// 币种 Code
  270. /// </summary>
  271. public string CurrencyCode { get; set; }
  272. /// <summary>
  273. /// 币种 Name
  274. /// </summary>
  275. public string CurrencyName { get; set; }
  276. /// <summary>
  277. /// 支出单位
  278. /// </summary>
  279. public string? Client { get; set; }
  280. /// <summary>
  281. /// 转账标识Id
  282. /// </summary>
  283. public int ReceivablesType { get; set; }
  284. /// <summary>
  285. /// 转账类型名称
  286. /// </summary>
  287. public string ReceivablesTypeName { get; set; }
  288. /// <summary>
  289. /// 备注
  290. /// </summary>
  291. public string? Remark { get; set; }
  292. }
  293. /// <summary>
  294. /// 超支费用
  295. /// </summary>
  296. public class Gsd_ExtraCostsView
  297. {
  298. public int GECId { get; set; }
  299. public int GECDiId { get; set; }
  300. /// <summary>
  301. /// 费用名称
  302. /// </summary>
  303. public string? PriceName { get; set; }
  304. /// <summary>
  305. /// 付款金额
  306. /// </summary>
  307. public decimal PayMoney { get; set; } = 0.00M;
  308. /// <summary>
  309. /// 付款币种
  310. /// </summary>
  311. public string? PaymentCurrency { get; set; }
  312. /// <summary>
  313. /// 当天汇率
  314. /// </summary>
  315. public decimal DayRate { get; set; } = 1.0000M;
  316. /// <summary>
  317. /// 人民币金额
  318. /// </summary>
  319. public decimal CNYPrice { get; set; } = 0.00M;
  320. /// <summary>
  321. /// 收款方
  322. /// </summary>
  323. public string? Payee { get; set; }
  324. /// <summary>
  325. /// 费用标识
  326. /// -1 未选择 0 公转 1 私转
  327. /// </summary>
  328. public int OrbitalPrivateTransfer { get; set; }
  329. /// <summary>
  330. /// 支付方式
  331. /// </summary>
  332. public string? PayWay { get; set; }
  333. /// <summary>
  334. /// 卡类型
  335. /// </summary>
  336. public string? CardType { get; set; }
  337. /// <summary>
  338. /// 付款状态
  339. /// </summary>
  340. public int IsPay { get; set; }
  341. /// <summary>
  342. /// 申请人
  343. /// </summary>
  344. public string? Applicant { get; set; }
  345. }
  346. /// <summary>
  347. /// 收款退还
  348. /// </summary>
  349. public class Gsd_PaymentRefundAndOtherMoneyView
  350. {
  351. public int Id { get; set; }
  352. public int DiId { get; set; }
  353. /// <summary>
  354. /// 费用名称
  355. /// </summary>
  356. public string? PriceName { get; set; }
  357. /// <summary>
  358. /// 币种code
  359. /// </summary>
  360. public string? PayCurrencyCode { get; set; }
  361. /// <summary>
  362. /// 币种名称
  363. /// </summary>
  364. public string? PayCurrencyName { get; set; }
  365. /// <summary>
  366. /// 费用
  367. /// </summary>
  368. public decimal Price { get; set; } = 0.00M;
  369. /// <summary>
  370. /// 人民币金额
  371. /// </summary>
  372. public decimal CNYPrice { get; set; } = 0.00M;
  373. /// <summary>
  374. /// 当时汇率
  375. /// </summary>
  376. public decimal ThisRate { get; set; } = 1.0000M;
  377. /// <summary>
  378. /// 收款方
  379. /// </summary>
  380. public string? Payee { get; set; }
  381. /// <summary>
  382. /// 付款时间
  383. /// </summary>
  384. public string? PayTime { get; set; }
  385. /// <summary>
  386. /// 费用标识
  387. /// -1 未选择 0 公转 1 私转
  388. /// </summary>
  389. public int? OrbitalPrivateTransfer { get; set; }
  390. /// <summary>
  391. /// 支付方式
  392. /// </summary>
  393. public string? PayType { get; set; }
  394. /// <summary>
  395. /// 付款状态
  396. /// 0 未付款 1 已付款
  397. /// </summary>
  398. public int IsPay { get; set; }
  399. /// <summary>
  400. /// 申请人
  401. /// </summary>
  402. public string? Applicant { get; set; }
  403. }
  404. #region 收款退还 View
  405. public class Gsd_PaymentRefundAndOtherMoneyDataSource1View : Grp_CreditCardPayment
  406. {
  407. /// <summary>
  408. /// 申请人
  409. /// </summary>
  410. public string Appliction { get; set; }
  411. public int PrId { get; set; }
  412. public int PrDiId { get; set; }
  413. public string PrPriceName { get; set; }
  414. public decimal PrPrice { get; set; } = 0.00M;
  415. public int PrCurrencyId { get; set; }
  416. public int PrPayType { get; set; }
  417. public int PrPriceType { get; set; }
  418. };
  419. #endregion
  420. #endregion
  421. #region 团组支出
  422. /// <summary>
  423. /// 团组支出 View
  424. /// </summary>
  425. public class GroupExpenditureView
  426. {
  427. /// <summary>
  428. /// 酒店费用集合
  429. /// </summary>
  430. public List<GroupHotelFeeView>? GroupHotelFeeViews { get; set; }
  431. /// <summary>
  432. /// 酒店费用描述
  433. /// </summary>
  434. public string? GroupHotelFeeStr { get; set; }
  435. /// <summary>
  436. /// 地接费用集合
  437. /// </summary>
  438. public List<GroupCTGGRFeeView>? GroupCTGGRFeeViews { get; set; }
  439. /// <summary>
  440. /// 地接费用描述
  441. /// </summary>
  442. public string? GroupCTGGRFeeStr { get; set; }
  443. /// <summary>
  444. /// 机票费用集合
  445. /// </summary>
  446. public List<GroupAirFeeView>? GroupAirFeeViews { get; set; }
  447. /// <summary>
  448. /// 机票费用描述
  449. /// </summary>
  450. public string? GroupAirFeeStr { get; set; }
  451. /// <summary>
  452. /// 签证费用集合
  453. /// </summary>
  454. public List<GroupVisaFeeView>? GroupVisaFeeViews { get; set; }
  455. /// <summary>
  456. /// 签证费用描述
  457. /// </summary>
  458. public string? GroupVisaFeeStr { get; set; }
  459. /// <summary>
  460. /// 邀请/公务费用集合
  461. /// </summary>
  462. public List<GroupInvitationalFeeView>? GroupInvitationalFeeViews { get; set; }
  463. /// <summary>
  464. /// 邀请/公务费用描述
  465. /// </summary>
  466. public string? GroupInvitationalFeeStr { get; set; }
  467. /// <summary>
  468. /// 保险费用集合
  469. /// </summary>
  470. public List<GroupInsuranceFeeView>? GroupInsuranceFeeViews { get; set; }
  471. /// <summary>
  472. /// 保险费用描述
  473. /// </summary>
  474. public string? GroupInsuranceFeeStr { get; set; }
  475. /// <summary>
  476. /// 增减款项费用集合
  477. /// </summary>
  478. public List<GroupDecreaseFeeView>? GroupDecreaseFeeViews { get; set; }
  479. /// <summary>
  480. /// 增减款项费用描述
  481. /// </summary>
  482. public string? GroupDecreaseFeeStr { get; set; }
  483. }
  484. /// <summary>
  485. /// 酒店费用View
  486. /// </summary>
  487. public class GroupHotelFeeView
  488. {
  489. /// <summary>
  490. /// 团组Id
  491. /// </summary>
  492. public int HrDiId { get; set; }
  493. /// <summary>
  494. /// 酒店Id
  495. /// </summary>
  496. public int HrId { get; set; }
  497. /// <summary>
  498. /// 城市
  499. /// </summary>
  500. public string? City { get; set; }
  501. /// <summary>
  502. /// 酒店名称
  503. /// </summary>
  504. public string? HotelName { get; set; }
  505. /// <summary>
  506. /// 入住时间
  507. /// </summary>
  508. public string? CheckInDate { get; set; }
  509. /// <summary>
  510. /// 离店时间
  511. /// </summary>
  512. public string? CheckOutDate { get; set; }
  513. /// <summary>
  514. /// 单间价格
  515. /// </summary>
  516. public decimal SingleRoomPrice { get; set; } = 0.00M;
  517. /// <summary>
  518. /// 单间数量
  519. /// </summary>
  520. public int SingleRoomCount { get; set; }
  521. /// <summary>
  522. /// 双间价格
  523. /// </summary>
  524. public decimal DoubleRoomPrice { get; set; } = 0.00M;
  525. /// <summary>
  526. /// 双间数量
  527. /// </summary>
  528. public int DoubleRoomCount { get; set; }
  529. /// <summary>
  530. /// 套房价格
  531. /// </summary>
  532. public decimal SuiteRoomPrice { get; set; } = 0.00M;
  533. /// <summary>
  534. /// 套房数量
  535. /// </summary>
  536. public int SuiteRoomCount { get; set; }
  537. /// <summary>
  538. /// 其他房型价格
  539. /// </summary>
  540. public decimal OtherRoomPrice { get; set; } = 0.00M;
  541. /// <summary>
  542. /// 其他房型数量
  543. /// </summary>
  544. public int OtherRoomCount { get; set; }
  545. /// <summary>
  546. /// 房间费用
  547. /// </summary>
  548. public decimal RoomPrice { get; set; }
  549. /// <summary>
  550. /// 房间费用币种
  551. /// </summary>
  552. public string RoomPriceCurrency { get; set; }
  553. /// <summary>
  554. /// 房间费用提示信息
  555. /// </summary>
  556. public string RoomInfoTips { get; set; }
  557. /// <summary>
  558. /// 早餐费用
  559. /// </summary>
  560. public decimal BreakfastPrice { get; set; } = 0.00M;
  561. /// <summary>
  562. /// 早餐币种
  563. /// </summary>
  564. public string? BreakfastCurrency { get; set; }
  565. /// <summary>
  566. /// 早餐提示消息
  567. /// </summary>
  568. public string BreakfastInfoTips { get; set; }
  569. ///// <summary>
  570. ///// 由地接支付
  571. ///// 0 是 1否
  572. ///// </summary>
  573. //public int Isoppay { get; set; }
  574. /// <summary>
  575. /// 地税
  576. /// </summary>
  577. public decimal GovernmentRent { get; set; } = 0.00M;
  578. /// <summary>
  579. /// 地税币种
  580. /// </summary>
  581. public string? GovernmentRentCurrency { get; set; }
  582. /// <summary>
  583. /// 地税提示消息
  584. /// </summary>
  585. public string GovernmentRentTips { get; set; }
  586. /// <summary>
  587. /// 城市价格
  588. /// </summary>
  589. public decimal CityTax { get; set; } = 0.00M;
  590. /// <summary>
  591. /// 城市币种
  592. /// </summary>
  593. public string? CityTaxCurrency { get; set; }
  594. /// <summary>
  595. /// 城市税提示信息
  596. /// </summary>
  597. public string? CityTaxTips { get; set; }
  598. /// <summary>
  599. /// 信用卡金额
  600. /// </summary>
  601. public decimal PayMoney { get; set; } = 0.00M;
  602. /// <summary>
  603. /// 信用卡金额币种
  604. /// </summary>
  605. public string? PaymentCurrency { get; set; }
  606. /// <summary>
  607. /// 人民币金额
  608. /// </summary>
  609. public decimal CNYPrice { get; set; } = 0.00M;
  610. ///// <summary>
  611. ///// 当天汇率
  612. ///// </summary>
  613. //public decimal DayRate { get; set; } = 0.0000M;
  614. ///// <summary>
  615. ///// 币种汇率
  616. ///// </summary>
  617. //public string? CurrencyRateStr { get; set; }
  618. /// <summary>
  619. /// 收款方
  620. /// </summary>
  621. public string? Payee { get; set; }
  622. ///// <summary>
  623. ///// 费用标识
  624. ///// -1 未选择 0 公转 1 私转
  625. ///// </summary>
  626. //public int OrbitalPrivateTransfer { get; set; }
  627. ///// <summary>
  628. ///// 支付方式
  629. ///// </summary>
  630. //public string? PayWay { get; set; }
  631. ///// <summary>
  632. ///// 卡类型
  633. ///// </summary>
  634. //public string? CardType { get; set; }
  635. /// <summary>
  636. /// 是否支付
  637. /// -1 未选择 0 未付款 1 已付款 2 其它费用子项未付款
  638. /// </summary>
  639. public int IsPay { get; set; }
  640. /// <summary>
  641. ///
  642. /// </summary>
  643. public string PayTips { get; set; }
  644. /// <summary>
  645. /// 操作人
  646. /// </summary>
  647. public string? Applicant { get; set; }
  648. }
  649. /// <summary>
  650. /// 地接费用View
  651. /// </summary>
  652. public class GroupCTGGRFeeView
  653. {
  654. public int CTGGRDiId { get; set; }
  655. public int CTGGRId { get; set; }
  656. /// <summary>
  657. /// 地区
  658. /// </summary>
  659. public string? Area { get; set; }
  660. /// <summary>
  661. /// 费用名称
  662. /// </summary>
  663. public string? PriceName { get; set; }
  664. /// <summary>
  665. /// 费用描述
  666. /// </summary>
  667. public string? PriceContent { get; set; }
  668. /// <summary>
  669. /// 付款金额
  670. /// </summary>
  671. public decimal PayMoney { get; set; } = 0.00M;
  672. /// <summary>
  673. /// 付款币种
  674. /// </summary>
  675. public string? PaymentCurrency { get; set; }
  676. /// <summary>
  677. /// 此次付款百分比
  678. /// </summary>
  679. public decimal PayPercentage { get; set; } = 0.00M;
  680. /// <summary>
  681. /// 已付款金额
  682. /// </summary>
  683. public decimal AmountPaid { get; set; } = 0.00M;
  684. /// <summary>
  685. /// 尾款
  686. /// </summary>
  687. public decimal BalancePayment { get; set; } = 0.00M;
  688. /// <summary>
  689. /// 消费日期
  690. /// </summary>
  691. public DateTime? DatePrice { get; set; }
  692. /// <summary>
  693. /// 当时汇率
  694. /// </summary>
  695. public decimal DayRate { get; set; } = 1.0000M;
  696. /// <summary>
  697. /// 付款人民币金额
  698. /// </summary>
  699. public decimal CNYPrice { get; set; }
  700. /// <summary>
  701. /// 付款金额
  702. /// </summary>
  703. public string? Payee { get; set; }
  704. /// <summary>
  705. /// 付款时间
  706. /// </summary>
  707. public string? AuditGMDate { get; set; }
  708. /// <summary>
  709. /// 费用标识
  710. /// -1 未选择 0 公转 1 私转
  711. /// </summary>
  712. public int OrbitalPrivateTransfer { get; set; }
  713. /// <summary>
  714. /// 支付方式
  715. /// </summary>
  716. public string? PayWay { get; set; }
  717. /// <summary>
  718. /// 是否支付
  719. /// -1 未选择 0 未付款 1 已付款
  720. /// </summary>
  721. public int IsPay { get; set; }
  722. /// <summary>
  723. /// 操作人
  724. /// </summary>
  725. public string? Applicant { get; set; }
  726. }
  727. /// <summary>
  728. /// 机票费用View
  729. /// </summary>
  730. public class GroupAirFeeView
  731. {
  732. public int AirId { get; set; }
  733. public int AirDiId { get; set; }
  734. /// <summary>
  735. /// 舱位类型
  736. /// </summary>
  737. public string? AirTypeName { get; set; }
  738. /// <summary>
  739. /// 航班号
  740. /// </summary>
  741. public string? FlightsCode { get; set; }
  742. /// <summary>
  743. /// 城市A-B
  744. /// </summary>
  745. public string? FlightsCity { get; set; }
  746. /// <summary>
  747. /// 航班日期
  748. /// </summary>
  749. public string? FlightsDate { get; set; }
  750. /// <summary>
  751. /// 航班时间
  752. /// </summary>
  753. public string? FlightsTime { get; set; }
  754. /// <summary>
  755. /// 客户姓名
  756. /// </summary>
  757. public string? ClientName { get; set; }
  758. /// <summary>
  759. /// 客户人数
  760. /// </summary>
  761. public int ClientNum { get; set; }
  762. /// <summary>
  763. /// 付款金额
  764. /// </summary>
  765. public decimal PayMoney { get; set; } = 0.00M;
  766. /// <summary>
  767. /// 付款币种
  768. /// </summary>
  769. public string? PayMoneyCurrency { get; set; }
  770. /// <summary>
  771. /// CNY 金额
  772. /// </summary>
  773. public decimal CNYPrice { get; set; } = 0.00M;
  774. /// <summary>
  775. /// 当时汇率
  776. /// </summary>
  777. public decimal DayRate { get; set; } = 1.0000M;
  778. /// <summary>
  779. /// 付款时间
  780. /// </summary>
  781. public string? AuditGMDate { get; set; }
  782. /// <summary>
  783. /// 收款方
  784. /// </summary>
  785. public string? Payee { get; set; }
  786. /// <summary>
  787. /// 费用标识
  788. /// -1 未选择 0 公转 1 私转
  789. /// </summary>
  790. public int OrbitalPrivateTransfer { get; set; }
  791. /// <summary>
  792. /// 支付方式
  793. /// </summary>
  794. public string? PayWay { get; set; }
  795. /// <summary>
  796. /// 卡类型
  797. /// </summary>
  798. public string? CardType { get; set; }
  799. /// <summary>
  800. /// 是否支付
  801. /// -1 未选择 0 未付款 1 已付款
  802. /// </summary>
  803. public int IsPay { get; set; }
  804. /// <summary>
  805. /// 操作人
  806. /// </summary>
  807. public string? Applicant { get; set; }
  808. /// <summary>
  809. /// SetDataId
  810. /// </summary>
  811. public int CType { get; set; }
  812. }
  813. /// <summary>
  814. /// 签证费用View
  815. /// </summary>
  816. public class GroupVisaFeeView
  817. {
  818. public int VisaId { get; set; }
  819. public int VisaDiId { get; set; }
  820. /// <summary>
  821. /// 客户名称
  822. /// </summary>
  823. public string? VisaClient { get; set; }
  824. /// <summary>
  825. /// 付款金额
  826. /// </summary>
  827. public decimal PayMoney { get; set; } = 0.00M;
  828. /// <summary>
  829. /// 付款金额
  830. /// </summary>
  831. public decimal CNYPrice { get; set; } = 0.00M;
  832. /// <summary>
  833. /// 付款币种
  834. /// </summary>
  835. public string? PayMoneyCurrency { get; set; }
  836. /// <summary>
  837. /// 当时汇率
  838. /// </summary>
  839. public decimal DayRate { get; set; } = 1.0000M;
  840. /// <summary>
  841. /// 付款时间
  842. /// </summary>
  843. public string? AuditGMDate { get; set; }
  844. /// <summary>
  845. /// 收款方
  846. /// </summary>
  847. public string? Payee { get; set; }
  848. /// <summary>
  849. /// 费用标识
  850. /// -1 未选择 0 公转 1 私转
  851. /// </summary>
  852. public int OrbitalPrivateTransfer { get; set; }
  853. /// <summary>
  854. /// 支付方式
  855. /// </summary>
  856. public string? PayWay { get; set; }
  857. /// <summary>
  858. /// 卡类型
  859. /// </summary>
  860. public string? CardType { get; set; }
  861. /// <summary>
  862. /// 是否支付
  863. /// -1 未选择 0 未付款 1 已付款
  864. /// </summary>
  865. public int IsPay { get; set; }
  866. /// <summary>
  867. /// 操作人
  868. /// </summary>
  869. public string? Applicant { get; set; }
  870. }
  871. /// <summary>
  872. /// 邀请/公务费用View
  873. /// </summary>
  874. public class GroupInvitationalFeeView
  875. {
  876. public int IOAId { get; set; }
  877. public int IOADiId { get; set; }
  878. /// <summary>
  879. /// 邀请方地区
  880. /// </summary>
  881. public string? InviterArea { get; set; }
  882. /// <summary>
  883. /// 邀请方
  884. /// </summary>
  885. public string? Inviter { get; set; }
  886. /// <summary>
  887. /// 邀请时间
  888. /// </summary>
  889. public string? InviteTime { get; set; }
  890. /// <summary>
  891. /// 邀请函费用
  892. /// </summary>
  893. public decimal InviteCost { get; set; } = 0.00M;
  894. /// <summary>
  895. /// 邀请函币种
  896. /// </summary>
  897. public string? InviteCurrency { get; set; }
  898. /// <summary>
  899. /// 快递费用
  900. /// </summary>
  901. public decimal SendCost { get; set; } = 0.00M;
  902. /// <summary>
  903. /// 快递币种
  904. /// </summary>
  905. public string? SendCurrency { get; set; }
  906. /// <summary>
  907. /// 活动费用
  908. /// </summary>
  909. public decimal EventsCost { get; set; } = 0.00M;
  910. /// <summary>
  911. /// 活动币种
  912. /// </summary>
  913. public string? EventsCurrency { get; set; }
  914. /// <summary>
  915. /// 翻译费用
  916. /// </summary>
  917. public decimal TranslateCost { get; set; } = 0.00M;
  918. /// <summary>
  919. /// 翻译币种
  920. /// </summary>
  921. public string? TranslateCurrency { get; set; }
  922. /// <summary>
  923. /// 付款金额
  924. /// </summary>
  925. public decimal PayMoney { get; set; } = 0.00M;
  926. /// <summary>
  927. /// 付款币种
  928. /// </summary>
  929. public string? PaymentCurrency { get; set; }
  930. /// <summary>
  931. /// 人民币费用
  932. /// </summary>
  933. public decimal CNYPrice { get; set; } = 0.00M;
  934. /// <summary>
  935. /// 人民币费用(后台计算)
  936. /// </summary>
  937. public decimal CNYPrice2 { get; set; } = 0.00M;
  938. /// <summary>
  939. /// 当时币种汇率
  940. /// </summary>
  941. public string? CurrencyRateStr { get; set; }
  942. /// <summary>
  943. /// 收款方
  944. /// </summary>
  945. public string? Payee { get; set; }
  946. /// <summary>
  947. /// 付款时间
  948. /// </summary>
  949. public string? AuditGMDate { get; set; }
  950. /// <summary>
  951. /// 费用标识
  952. /// -1 未选择 0 公转 1 私转
  953. /// </summary>
  954. public int OrbitalPrivateTransfer { get; set; }
  955. /// <summary>
  956. /// 支付方式
  957. /// </summary>
  958. public string? PayWay { get; set; }
  959. /// <summary>
  960. /// 是否支付
  961. /// -1 未选择 0 未付款 1 已付款
  962. /// </summary>
  963. public int IsPay { get; set; }
  964. /// <summary>
  965. /// 操作人
  966. /// </summary>
  967. public string? Applicant { get; set; }
  968. }
  969. /// <summary>
  970. /// 保险费用View
  971. /// </summary>
  972. public class GroupInsuranceFeeView
  973. {
  974. public int InsuranceId { get; set; }
  975. public int InsuranceDiId { get; set; }
  976. /// <summary>
  977. /// 客户名称
  978. /// </summary>
  979. public string? ClientName { get; set; }
  980. /// <summary>
  981. /// 付款金额
  982. /// </summary>
  983. public decimal PayMoney { get; set; } = 0.00M;
  984. /// <summary>
  985. /// 付款币种
  986. /// </summary>
  987. public string? PayMoneyCurrency { get; set; }
  988. /// <summary>
  989. /// 人民币金额
  990. /// </summary>
  991. public decimal CNYPrice { get; set; } = 0.00M;
  992. /// <summary>
  993. /// 付款时间
  994. /// </summary>
  995. public string? AuditGMDate { get; set; }
  996. /// <summary>
  997. /// 收款方
  998. /// </summary>
  999. public string? Payee { get; set; }
  1000. /// <summary>
  1001. /// 费用标识
  1002. /// -1 未选择 0 公转 1 私转
  1003. /// </summary>
  1004. public int OrbitalPrivateTransfer { get; set; }
  1005. /// <summary>
  1006. /// 支付方式
  1007. /// </summary>
  1008. public string? PayWay { get; set; }
  1009. /// <summary>
  1010. /// 是否支付
  1011. /// -1 未选择 0 未付款 1 已付款
  1012. /// </summary>
  1013. public int IsPay { get; set; }
  1014. /// <summary>
  1015. /// 操作人
  1016. /// </summary>
  1017. public string? Applicant { get; set; }
  1018. }
  1019. /// <summary>
  1020. /// 增减款项View
  1021. /// </summary>
  1022. public class GroupDecreaseFeeView
  1023. {
  1024. public int DPId { get; set; }
  1025. public int DPDiId { get; set; }
  1026. /// <summary>
  1027. /// 费用名称
  1028. /// </summary>
  1029. public string? PriceName { get; set; }
  1030. /// <summary>
  1031. /// 付款金额
  1032. /// </summary>
  1033. public decimal PayMoney { get; set; } = 0.00M;
  1034. /// <summary>
  1035. /// 付款币种
  1036. /// </summary>
  1037. public string? PayMoneyCurrency { get; set; }
  1038. /// <summary>
  1039. /// 当时汇率
  1040. /// </summary>
  1041. public decimal DayRate { get; set; } = 1.0000M;
  1042. /// <summary>
  1043. /// 人民币金额
  1044. /// </summary>
  1045. public decimal CNYPrice { get; set; } = 0.00M;
  1046. /// <summary>
  1047. /// 付款时间
  1048. /// </summary>
  1049. public string? AuditGMDate { get; set; }
  1050. /// <summary>
  1051. /// 收款方
  1052. /// </summary>
  1053. public string? Payee { get; set; }
  1054. /// <summary>
  1055. /// 费用标识
  1056. /// -1 未选择 0 公转 1 私转
  1057. /// </summary>
  1058. public int OrbitalPrivateTransfer { get; set; }
  1059. /// <summary>
  1060. /// 支付方式
  1061. /// </summary>
  1062. public string? PayWay { get; set; }
  1063. /// <summary>
  1064. /// 是否支付
  1065. /// -1 未选择 0 未付款 1 已付款
  1066. /// </summary>
  1067. public int IsPay { get; set; }
  1068. /// <summary>
  1069. /// 操作人
  1070. /// </summary>
  1071. public string? Applicant { get; set; }
  1072. }
  1073. #endregion
  1074. }