GroupStatementView.cs 48 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987
  1. using Google.Protobuf;
  2. using Newtonsoft.Json;
  3. using OASystem.Domain.Entities.Financial;
  4. using OASystem.Domain.Entities.Groups;
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace OASystem.Domain.ViewModels.Statistics
  11. {
  12. /// <summary>
  13. /// 团组报表
  14. /// </summary>
  15. public class GroupStatementView
  16. {
  17. }
  18. /// <summary>
  19. /// 团组报表
  20. /// Items View
  21. /// </summary>
  22. public class GroupStatementItemView
  23. {
  24. /// <summary>
  25. /// 序号
  26. /// </summary>
  27. public int Row_Number { get; set; }
  28. /// <summary>
  29. /// 是否操作完成
  30. /// 0否1是
  31. /// </summary>
  32. public int IsSure { get; set; }
  33. /// <summary>
  34. /// 主键Id
  35. /// 团组Id
  36. /// </summary>
  37. public int Id { get; set; }
  38. /// <summary>
  39. /// 团号
  40. /// </summary>
  41. public string? TourCode { get; set; }
  42. /// <summary>
  43. /// 接团操作人
  44. /// </summary>
  45. public string? JietuanOperator { get; set; }
  46. /// <summary>
  47. /// 团组等级Id
  48. /// </summary>
  49. public int TeamLevId { get; set; }
  50. /// <summary>
  51. /// 团组等级
  52. /// </summary>
  53. public string? TeamLev { get; set; }
  54. /// <summary>
  55. /// 团组名称
  56. /// </summary>
  57. public string? TeamName { get; set; }
  58. /// <summary>
  59. /// 客户名称
  60. /// </summary>
  61. public string? ClientName { get; set; }
  62. /// <summary>
  63. /// 客户所属公司
  64. /// </summary>
  65. public string? ClientUnit { get; set; }
  66. /// <summary>
  67. /// 团组类型Id
  68. /// </summary>
  69. public int TeamTypeId { get; set; }
  70. /// <summary>
  71. /// 团组类型
  72. /// </summary>
  73. public string? TeamType { get; set; }
  74. /// <summary>
  75. /// 出团日期
  76. /// </summary>
  77. public DateTime VisitDate { get; set; }
  78. /// <summary>
  79. /// 出行天数
  80. /// </summary>
  81. public int VisitDays { get; set; }
  82. /// <summary>
  83. /// 出行人数
  84. /// </summary>
  85. public int VisitPNumber { get; set; }
  86. /// <summary>
  87. /// 最后收款时间
  88. /// </summary>
  89. public DateTime? LastCollectionTime { get; set; }
  90. }
  91. /// <summary>
  92. /// 团组报表
  93. /// Details View
  94. /// </summary>
  95. public class GroupStatementDetailsView
  96. {
  97. /// <summary>
  98. /// 费用总计 描述
  99. /// </summary>
  100. public string? FeeTotalStr { get; set; }
  101. /// <summary>
  102. /// 团组收入
  103. /// Data View
  104. /// </summary>
  105. public GroupIncomeView? GroupIncome { get; set; }
  106. /// <summary>
  107. /// 团组收入
  108. /// 描述
  109. /// </summary>
  110. public string? GroupIncomeStr { get; set; }
  111. /// <summary>
  112. /// 团组支出
  113. /// </summary>
  114. public GroupExpenditureView? GroupExpenditure { get; set; }
  115. }
  116. #region 团组收入
  117. /// <summary>
  118. /// 团组收入
  119. /// Data View
  120. /// </summary>
  121. public class GroupIncomeView
  122. {
  123. /// <summary>
  124. /// 应收 Items
  125. /// </summary>
  126. public List<Gsd_ForeignReceivablesView>? Receivables { get; set; }
  127. /// <summary>
  128. /// 应收 Str
  129. /// </summary>
  130. public string? ReceivableStr { get; set; }
  131. /// <summary>
  132. /// 已收 Items
  133. /// </summary>
  134. public List<Gsd_ProceedsReceivedView>? ProceedsReceivedViews { get; set; }
  135. /// <summary>
  136. /// 已收 Str
  137. /// </summary>
  138. public string? ProceedsReceivedStr { get; set; }
  139. /// <summary>
  140. /// 支出费用 Items
  141. /// </summary>
  142. public List<Gsd_ExtraCostsView>? ExtraCostsViews { get; set; }
  143. /// <summary>
  144. /// 支出费用 Str
  145. /// </summary>
  146. public string? ExtraCostsStr { get; set; }
  147. /// <summary>
  148. /// 收款退还 Items
  149. /// </summary>
  150. public List<Gsd_PaymentRefundAndOtherMoneyView>? PaymentRefundAndOtherMoneyViews { get; set; }
  151. /// <summary>
  152. /// 收款退还 Str
  153. /// </summary>
  154. public string? PaymentRefundAndOtherMoneyStr { get; set; }
  155. }
  156. /// <summary>
  157. /// 应收报表
  158. /// </summary>
  159. public class Gsd_ForeignReceivablesView
  160. {
  161. public int Id { get; set; }
  162. public int diid { get; set; }
  163. /// <summary>
  164. /// 添加方式
  165. /// 0 - 账单模块 1 - 成本预算模块 2 - 实际报价
  166. /// </summary>
  167. public int AddingWay { get; set; }
  168. /// <summary>
  169. /// 审核状态 AddingWay==2该项有值
  170. /// 0 - 未审核 1 - 审核通过 2 - 审核不通过
  171. /// </summary>
  172. public int Status { get; set; }
  173. public string StatusStr
  174. {
  175. get
  176. {
  177. string str = "-";
  178. if (AddingWay == 2)
  179. {
  180. if (Status == 0) str = "未审核";
  181. else if (Status == 1) str = "审核通过";
  182. else if (Status == 2) str = "审核不通过";
  183. }
  184. return str;
  185. }
  186. }
  187. public string Auditor { get; set; }
  188. public string AuditorStr { get {
  189. string str = "-";
  190. if (AddingWay == 2)
  191. {
  192. if (Status != 0)
  193. {
  194. str = @$"{Auditor} ";
  195. }
  196. }
  197. return str;
  198. } }
  199. //public DateTime? AuditTime { get; set; }
  200. /// <summary>
  201. /// 费用名称
  202. /// </summary>
  203. public string? PriceName { get; set; }
  204. /// <summary>
  205. /// 单价
  206. /// </summary>
  207. public decimal Price { get; set; } = 0.00M;
  208. /// <summary>
  209. /// 数量
  210. /// </summary>
  211. public int Count { get; set; }
  212. /// <summary>
  213. /// 单位
  214. /// </summary>
  215. public string? Unit { get; set; }
  216. /// <summary>
  217. /// 币种
  218. /// </summary>
  219. public int Currency { get; set; }
  220. /// <summary>
  221. /// 币种 Code
  222. /// </summary>
  223. public string CurrencyCode { get; set; }
  224. /// <summary>
  225. /// 币种 Name
  226. /// </summary>
  227. public string CurrencyName { get; set; }
  228. /// <summary>
  229. /// 汇率
  230. /// </summary>
  231. public decimal Rate { get; set; } = 1.0000M;
  232. /// <summary>
  233. /// 应收金额
  234. /// </summary>
  235. public decimal ItemSumPrice { get; set; } = 0.00M;
  236. public string Remark { get; set; }
  237. }
  238. /// <summary>
  239. /// 已收报表
  240. /// </summary>
  241. public class Gsd_ProceedsReceivedView
  242. {
  243. public int Id { get; set; }
  244. public int Diid { get; set; }
  245. public string SectionTimeDt { get; set; }
  246. /// <summary>
  247. /// 到款时间
  248. /// </summary>
  249. public string SectionTime { get {
  250. string dt = "";
  251. if (!string.IsNullOrEmpty(SectionTimeDt))
  252. {
  253. DateTime validDate;
  254. bool isValid = DateTime.TryParse(SectionTimeDt, out validDate);
  255. if (isValid)
  256. {
  257. dt = validDate.ToString("yyyy-MM-dd");
  258. }
  259. }
  260. return dt;
  261. } }
  262. /// <summary>
  263. /// 费用金额
  264. /// </summary>
  265. public decimal Price { get; set; } = 0.00M;
  266. /// <summary>
  267. /// 币种
  268. /// </summary>
  269. public int Currency { get; set; }
  270. /// <summary>
  271. /// 币种 Code
  272. /// </summary>
  273. public string CurrencyCode { get; set; }
  274. /// <summary>
  275. /// 币种 Name
  276. /// </summary>
  277. public string CurrencyName { get; set; }
  278. /// <summary>
  279. /// 支出单位
  280. /// </summary>
  281. public string? Client { get; set; }
  282. /// <summary>
  283. /// 转账标识Id
  284. /// </summary>
  285. public int ReceivablesType { get; set; }
  286. /// <summary>
  287. /// 转账类型名称
  288. /// </summary>
  289. public string ReceivablesTypeName { get; set; }
  290. /// <summary>
  291. /// 备注
  292. /// </summary>
  293. public string? Remark { get; set; }
  294. }
  295. /// <summary>
  296. /// 超支费用
  297. /// </summary>
  298. public class Gsd_ExtraCostsView
  299. {
  300. public int GECId { get; set; }
  301. public int GECDiId { get; set; }
  302. /// <summary>
  303. /// 费用名称
  304. /// </summary>
  305. public string? PriceName { get; set; }
  306. /// <summary>
  307. /// 付款金额
  308. /// </summary>
  309. public decimal PayMoney { get; set; } = 0.00M;
  310. /// <summary>
  311. /// 付款币种
  312. /// </summary>
  313. public string? PaymentCurrency { get; set; }
  314. /// <summary>
  315. /// 当天汇率
  316. /// </summary>
  317. public decimal DayRate { get; set; } = 1.0000M;
  318. /// <summary>
  319. /// 人民币金额
  320. /// </summary>
  321. public decimal CNYPrice { get; set; } = 0.00M;
  322. /// <summary>
  323. /// 收款方
  324. /// </summary>
  325. public string? Payee { get; set; }
  326. /// <summary>
  327. /// 费用标识
  328. /// -1 未选择 0 公转 1 私转
  329. /// </summary>
  330. public int OrbitalPrivateTransfer { get; set; }
  331. /// <summary>
  332. /// 支付方式
  333. /// </summary>
  334. public string? PayWay { get; set; }
  335. /// <summary>
  336. /// 卡类型
  337. /// </summary>
  338. public string? CardType { get; set; }
  339. /// <summary>
  340. /// 付款状态
  341. /// </summary>
  342. public int IsPay { get; set; }
  343. /// <summary>
  344. /// 申请人
  345. /// </summary>
  346. public string? Applicant { get; set; }
  347. }
  348. /// <summary>
  349. /// 收款退还
  350. /// </summary>
  351. public class Gsd_PaymentRefundAndOtherMoneyView
  352. {
  353. public int Id { get; set; }
  354. public int DiId { get; set; }
  355. /// <summary>
  356. /// 费用名称
  357. /// </summary>
  358. public string? PriceName { get; set; }
  359. /// <summary>
  360. /// 币种code
  361. /// </summary>
  362. public string? PayCurrencyCode { get; set; }
  363. /// <summary>
  364. /// 币种名称
  365. /// </summary>
  366. public string? PayCurrencyName { get; set; }
  367. /// <summary>
  368. /// 费用
  369. /// </summary>
  370. public decimal Price { get; set; } = 0.00M;
  371. /// <summary>
  372. /// 人民币金额
  373. /// </summary>
  374. public decimal CNYPrice { get; set; } = 0.00M;
  375. /// <summary>
  376. /// 当时汇率
  377. /// </summary>
  378. public decimal ThisRate { get; set; } = 1.0000M;
  379. /// <summary>
  380. /// 收款方
  381. /// </summary>
  382. public string? Payee { get; set; }
  383. /// <summary>
  384. /// 付款时间
  385. /// </summary>
  386. public string? PayTime { get; set; }
  387. /// <summary>
  388. /// 费用标识
  389. /// -1 未选择 0 公转 1 私转
  390. /// </summary>
  391. public int OrbitalPrivateTransfer { get; set; }
  392. public string CostMark
  393. {
  394. get
  395. {
  396. return OrbitalPrivateTransfer == 0 ? "公转" : OrbitalPrivateTransfer == 1 ? "私转" : "-";
  397. }
  398. }
  399. /// <summary>
  400. /// 支付方式
  401. /// </summary>
  402. public string? PayType { get; set; }
  403. /// <summary>
  404. /// 付款状态
  405. /// 0 未付款 1 已付款
  406. /// </summary>
  407. public int IsPay { get; set; }
  408. public string IsPayLable
  409. {
  410. get
  411. {
  412. return IsPay == 0 ? "未付款" : IsPay == 1 ? "已付款" : "-";
  413. }
  414. }
  415. /// <summary>
  416. /// 申请人
  417. /// </summary>
  418. public string? Applicant { get; set; }
  419. public string Remark { get; set; }
  420. }
  421. #region 收款退还 View
  422. public class Gsd_PaymentRefundAndOtherMoneyDataSource1View : Grp_CreditCardPayment
  423. {
  424. /// <summary>
  425. /// 申请人
  426. /// </summary>
  427. public string Appliction { get; set; }
  428. public int PrId { get; set; }
  429. public int PrDiId { get; set; }
  430. public string PrPriceName { get; set; }
  431. public decimal PrPrice { get; set; } = 0.00M;
  432. public int PrCurrencyId { get; set; }
  433. public int PrPayType { get; set; }
  434. public int PrPriceType { get; set; }
  435. public string SKTHRemark { get; set; }
  436. };
  437. #endregion
  438. #endregion
  439. #region 团组支出
  440. /// <summary>
  441. /// 团组支出 View
  442. /// </summary>
  443. public class GroupExpenditureView
  444. {
  445. /// <summary>
  446. /// 酒店费用集合
  447. /// </summary>
  448. public List<GroupHotelFeeView>? GroupHotelFeeViews { get; set; }
  449. /// <summary>
  450. /// 酒店费用描述
  451. /// </summary>
  452. public string? GroupHotelFeeStr { get; set; }
  453. /// <summary>
  454. /// 地接费用集合
  455. /// </summary>
  456. public List<GroupCTGGRFeeView>? GroupCTGGRFeeViews { get; set; }
  457. /// <summary>
  458. /// 地接费用描述
  459. /// </summary>
  460. public string? GroupCTGGRFeeStr { get; set; }
  461. /// <summary>
  462. /// 机票费用集合
  463. /// </summary>
  464. public List<GroupAirFeeView>? GroupAirFeeViews { get; set; }
  465. /// <summary>
  466. /// 机票费用描述
  467. /// </summary>
  468. public string? GroupAirFeeStr { get; set; }
  469. /// <summary>
  470. /// 签证费用集合
  471. /// </summary>
  472. public List<GroupVisaFeeView>? GroupVisaFeeViews { get; set; }
  473. /// <summary>
  474. /// 签证费用描述
  475. /// </summary>
  476. public string? GroupVisaFeeStr { get; set; }
  477. /// <summary>
  478. /// 邀请/公务费用集合
  479. /// </summary>
  480. public List<GroupInvitationalFeeView>? GroupInvitationalFeeViews { get; set; }
  481. /// <summary>
  482. /// 邀请/公务费用描述
  483. /// </summary>
  484. public string? GroupInvitationalFeeStr { get; set; }
  485. /// <summary>
  486. /// 保险费用集合
  487. /// </summary>
  488. public List<GroupInsuranceFeeView>? GroupInsuranceFeeViews { get; set; }
  489. /// <summary>
  490. /// 保险费用描述
  491. /// </summary>
  492. public string? GroupInsuranceFeeStr { get; set; }
  493. /// <summary>
  494. /// 增减款项费用集合
  495. /// </summary>
  496. public List<GroupDecreaseFeeView>? GroupDecreaseFeeViews { get; set; }
  497. /// <summary>
  498. /// 增减款项费用描述
  499. /// </summary>
  500. public string? GroupDecreaseFeeStr { get; set; }
  501. public List<GroupRoyaltyFeeView> GroupRoyaltyFeeViews { get; set; }
  502. public string? GroupRoyaltyFeeStr { get; set; }
  503. }
  504. /// <summary>
  505. /// 酒店费用View
  506. /// </summary>
  507. public class GroupHotelFeeView
  508. {
  509. /// <summary>
  510. /// 团组Id
  511. /// </summary>
  512. public int HrDiId { get; set; }
  513. /// <summary>
  514. /// 酒店Id
  515. /// </summary>
  516. public int HrId { get; set; }
  517. /// <summary>
  518. /// 城市
  519. /// </summary>
  520. public string? City { get; set; }
  521. /// <summary>
  522. /// 酒店名称
  523. /// </summary>
  524. public string? HotelName { get; set; }
  525. /// <summary>
  526. /// 入住时间
  527. /// </summary>
  528. public string? CheckInDate { get; set; }
  529. /// <summary>
  530. /// 离店时间
  531. /// </summary>
  532. public string? CheckOutDate { get; set; }
  533. /// <summary>
  534. /// 单间价格
  535. /// </summary>
  536. public decimal SingleRoomPrice { get; set; } = 0.00M;
  537. /// <summary>
  538. /// 单间数量
  539. /// </summary>
  540. public int SingleRoomCount { get; set; }
  541. /// <summary>
  542. /// 双间价格
  543. /// </summary>
  544. public decimal DoubleRoomPrice { get; set; } = 0.00M;
  545. /// <summary>
  546. /// 双间数量
  547. /// </summary>
  548. public int DoubleRoomCount { get; set; }
  549. /// <summary>
  550. /// 套房价格
  551. /// </summary>
  552. public decimal SuiteRoomPrice { get; set; } = 0.00M;
  553. /// <summary>
  554. /// 套房数量
  555. /// </summary>
  556. public int SuiteRoomCount { get; set; }
  557. /// <summary>
  558. /// 其他房型价格
  559. /// </summary>
  560. public decimal OtherRoomPrice { get; set; } = 0.00M;
  561. /// <summary>
  562. /// 其他房型数量
  563. /// </summary>
  564. public int OtherRoomCount { get; set; }
  565. /// <summary>
  566. /// 房间费用
  567. /// </summary>
  568. public decimal RoomPrice { get; set; }
  569. /// <summary>
  570. /// 房间费用币种
  571. /// </summary>
  572. public string RoomPriceCurrency { get; set; }
  573. /// <summary>
  574. /// 房间费用提示信息
  575. /// </summary>
  576. public string RoomInfoTips { get; set; }
  577. /// <summary>
  578. /// excel Label
  579. /// </summary>
  580. public string RoomFeeLabel { get { return $"{RoomPrice.ToString("#0.00")} {RoomPriceCurrency}"; } }
  581. /// <summary>
  582. /// 早餐费用
  583. /// </summary>
  584. public decimal BreakfastPrice { get; set; } = 0.00M;
  585. /// <summary>
  586. /// 早餐币种
  587. /// </summary>
  588. public string? BreakfastCurrency { get; set; }
  589. /// <summary>
  590. /// 早餐提示消息
  591. /// </summary>
  592. public string BreakfastInfoTips { get; set; }
  593. /// <summary>
  594. /// excel Label
  595. /// </summary>
  596. public string BreakfastFeeLabel { get { return $"{BreakfastPrice.ToString("#0.00")} {BreakfastCurrency}"; } }
  597. ///// <summary>
  598. ///// 由地接支付
  599. ///// 0 是 1否
  600. ///// </summary>
  601. //public int Isoppay { get; set; }
  602. /// <summary>
  603. /// 地税
  604. /// </summary>
  605. public decimal GovernmentRent { get; set; } = 0.00M;
  606. /// <summary>
  607. /// 地税币种
  608. /// </summary>
  609. public string? GovernmentRentCurrency { get; set; }
  610. /// <summary>
  611. /// 地税提示消息
  612. /// </summary>
  613. public string GovernmentRentTips { get; set; }
  614. /// <summary>
  615. /// excel Label
  616. /// </summary>
  617. public string GovernmentRentFeeLabel { get { return $"{GovernmentRent.ToString("#0.00")} {GovernmentRentCurrency}"; } }
  618. /// <summary>
  619. /// 城市价格
  620. /// </summary>
  621. public decimal CityTax { get; set; } = 0.00M;
  622. /// <summary>
  623. /// 城市币种
  624. /// </summary>
  625. public string? CityTaxCurrency { get; set; }
  626. /// <summary>
  627. /// 城市税提示信息
  628. /// </summary>
  629. public string? CityTaxTips { get; set; }
  630. /// <summary>
  631. /// excel Label
  632. /// </summary>
  633. public string CityTaxFeeLabel { get { return $"{CityTax.ToString("#0.00")} {CityTaxCurrency}"; } }
  634. /// <summary>
  635. /// 信用卡金额
  636. /// </summary>
  637. public decimal PayMoney { get; set; } = 0.00M;
  638. /// <summary>
  639. /// 信用卡金额币种
  640. /// </summary>
  641. public string? PaymentCurrency { get; set; }
  642. /// <summary>
  643. /// 人民币金额
  644. /// </summary>
  645. public decimal CNYPrice { get; set; } = 0.00M;
  646. /// <summary>
  647. /// 人民币金额
  648. /// </summary>
  649. public string CNYPriceLabel { get { return $"{CNYPrice.ToString("#0.00")} CNY"; } }
  650. ///// <summary>
  651. ///// 当天汇率
  652. ///// </summary>
  653. //public decimal DayRate { get; set; } = 0.0000M;
  654. ///// <summary>
  655. ///// 币种汇率
  656. ///// </summary>
  657. //public string? CurrencyRateStr { get; set; }
  658. /// <summary>
  659. /// 收款方
  660. /// </summary>
  661. public string? Payee { get; set; }
  662. ///// <summary>
  663. ///// 费用标识
  664. ///// -1 未选择 0 公转 1 私转
  665. ///// </summary>
  666. public int OrbitalPrivateTransfer { get; set; }
  667. public string CostMark
  668. {
  669. get
  670. {
  671. var label = string.Empty;
  672. if (OrbitalPrivateTransfer == 0) label = "公转";
  673. else if (OrbitalPrivateTransfer == 1) label = "私转";
  674. return label;
  675. }
  676. }
  677. /// <summary>
  678. /// 支付方式
  679. /// </summary>
  680. public string? PayWay { get; set; }
  681. ///// <summary>
  682. ///// 卡类型
  683. ///// </summary>
  684. //public string? CardType { get; set; }
  685. /// <summary>
  686. /// 是否支付
  687. /// -1 未选择 0 未付款 1 已付款 2 其它费用子项未付款
  688. /// </summary>
  689. public int IsPay { get; set; }
  690. public string IsPayLable
  691. {
  692. get
  693. {
  694. var label = $"未选择";
  695. if (IsPay == 0) label = "未付款";
  696. else if (IsPay == 1) label = "已付款";
  697. else if (IsPay == 2) label = "其它费用子项未付款";
  698. return label;
  699. }
  700. }
  701. /// <summary>
  702. ///
  703. /// </summary>
  704. public string PayTips { get; set; }
  705. /// <summary>
  706. /// 操作人
  707. /// </summary>
  708. public string? Applicant { get; set; }
  709. public string Remark { get; set; }
  710. }
  711. /// <summary>
  712. /// 地接费用View
  713. /// </summary>
  714. public class GroupCTGGRFeeView
  715. {
  716. public int CTGGRDiId { get; set; }
  717. public int CTGGRId { get; set; }
  718. /// <summary>
  719. /// 地区
  720. /// </summary>
  721. public string? Area { get; set; }
  722. /// <summary>
  723. /// 费用名称
  724. /// </summary>
  725. public string? PriceName { get; set; }
  726. /// <summary>
  727. /// 费用描述
  728. /// </summary>
  729. public string? PriceContent { get; set; }
  730. /// <summary>
  731. /// 付款金额
  732. /// </summary>
  733. public decimal PayMoney { get; set; } = 0.00M;
  734. /// <summary>
  735. /// 付款币种
  736. /// </summary>
  737. public string? PaymentCurrency { get; set; }
  738. /// <summary>
  739. /// 此次付款百分比
  740. /// </summary>
  741. public decimal PayPercentage { get; set; } = 0.00M;
  742. /// <summary>
  743. /// 已付款金额
  744. /// </summary>
  745. public decimal AmountPaid { get; set; } = 0.00M;
  746. /// <summary>
  747. /// 尾款
  748. /// </summary>
  749. public decimal BalancePayment { get; set; } = 0.00M;
  750. /// <summary>
  751. /// 消费日期
  752. /// </summary>
  753. public DateTime DatePrice { get; set; }
  754. /// <summary>
  755. /// 当时汇率
  756. /// </summary>
  757. public decimal DayRate { get; set; } = 1.0000M;
  758. /// <summary>
  759. /// 付款人民币金额
  760. /// </summary>
  761. public decimal CNYPrice { get; set; }
  762. /// <summary>
  763. /// 付款金额
  764. /// </summary>
  765. public string? Payee { get; set; }
  766. /// <summary>
  767. /// 付款时间
  768. /// </summary>
  769. public string? AuditGMDate { get; set; }
  770. /// <summary>
  771. /// 费用标识
  772. /// -1 未选择 0 公转 1 私转
  773. /// </summary>
  774. public int OrbitalPrivateTransfer { get; set; }
  775. /// <summary>
  776. /// 费用标识Text
  777. /// </summary>
  778. public string CostMark
  779. {
  780. get
  781. {
  782. return OrbitalPrivateTransfer == 0 ? "公转" : OrbitalPrivateTransfer == 1 ? "私转" : "-";
  783. }
  784. }
  785. /// <summary>
  786. /// 支付方式
  787. /// </summary>
  788. public string? PayWay { get; set; }
  789. /// <summary>
  790. /// 是否支付
  791. /// -1 未选择 0 未付款 1 已付款
  792. /// </summary>
  793. public int IsPay { get; set; }
  794. public string IsPayLabel
  795. {
  796. get
  797. {
  798. return IsPay == 0 ? "未付款" : IsPay == 1 ? "已付款" : "-";
  799. }
  800. }
  801. /// <summary>
  802. /// 操作人
  803. /// </summary>
  804. public string? Applicant { get; set; }
  805. }
  806. /// <summary>
  807. /// 机票费用View
  808. /// </summary>
  809. public class GroupAirFeeView
  810. {
  811. public int AirId { get; set; }
  812. public int AirDiId { get; set; }
  813. /// <summary>
  814. /// 舱位类型
  815. /// </summary>
  816. public string? AirTypeName { get; set; }
  817. /// <summary>
  818. /// 航班号
  819. /// </summary>
  820. public string? FlightsCode { get; set; }
  821. /// <summary>
  822. /// 城市A-B
  823. /// </summary>
  824. public string? FlightsCity { get; set; }
  825. /// <summary>
  826. /// 航班日期
  827. /// </summary>
  828. public string? FlightsDate { get; set; }
  829. /// <summary>
  830. /// 航班时间
  831. /// </summary>
  832. public string? FlightsTime { get; set; }
  833. /// <summary>
  834. /// 客户姓名
  835. /// </summary>
  836. public string? ClientName { get; set; }
  837. /// <summary>
  838. /// 客户人数
  839. /// </summary>
  840. public int ClientNum { get; set; }
  841. /// <summary>
  842. /// 付款金额
  843. /// </summary>
  844. public decimal PayMoney { get; set; } = 0.00M;
  845. /// <summary>
  846. /// 付款币种
  847. /// </summary>
  848. public string? PayMoneyCurrency { get; set; }
  849. /// <summary>
  850. /// CNY 金额
  851. /// </summary>
  852. public decimal CNYPrice { get; set; } = 0.00M;
  853. /// <summary>
  854. /// 当时汇率
  855. /// </summary>
  856. public decimal DayRate { get; set; } = 1.0000M;
  857. /// <summary>
  858. /// 付款时间
  859. /// </summary>
  860. public string? AuditGMDate { get; set; }
  861. /// <summary>
  862. /// 收款方
  863. /// </summary>
  864. public string? Payee { get; set; }
  865. /// <summary>
  866. /// 费用标识
  867. /// -1 未选择 0 公转 1 私转
  868. /// </summary>
  869. public int OrbitalPrivateTransfer { get; set; }
  870. /// <summary>
  871. /// 支付方式
  872. /// </summary>
  873. public string? PayWay { get; set; }
  874. /// <summary>
  875. /// 卡类型
  876. /// </summary>
  877. public string? CardType { get; set; }
  878. /// <summary>
  879. /// 是否支付
  880. /// -1 未选择 0 未付款 1 已付款
  881. /// </summary>
  882. public int IsPay { get; set; }
  883. /// <summary>
  884. /// 操作人
  885. /// </summary>
  886. public string? Applicant { get; set; }
  887. /// <summary>
  888. /// SetDataId
  889. /// </summary>
  890. public int CType { get; set; }
  891. }
  892. /// <summary>
  893. /// 签证费用View
  894. /// </summary>
  895. public class GroupVisaFeeView
  896. {
  897. public int VisaId { get; set; }
  898. public int VisaDiId { get; set; }
  899. /// <summary>
  900. /// 客户名称
  901. /// </summary>
  902. public string? VisaClient { get; set; }
  903. /// <summary>
  904. /// 付款金额
  905. /// </summary>
  906. public decimal PayMoney { get; set; } = 0.00M;
  907. /// <summary>
  908. /// 付款金额
  909. /// </summary>
  910. public decimal CNYPrice { get; set; } = 0.00M;
  911. /// <summary>
  912. /// 付款币种
  913. /// </summary>
  914. public string? PayMoneyCurrency { get; set; }
  915. /// <summary>
  916. /// 当时汇率
  917. /// </summary>
  918. public decimal DayRate { get; set; } = 1.0000M;
  919. /// <summary>
  920. /// 付款时间
  921. /// </summary>
  922. public string? AuditGMDate { get; set; }
  923. /// <summary>
  924. /// 收款方
  925. /// </summary>
  926. public string? Payee { get; set; }
  927. /// <summary>
  928. /// 费用标识
  929. /// -1 未选择 0 公转 1 私转
  930. /// </summary>
  931. public int OrbitalPrivateTransfer { get; set; }
  932. /// <summary>
  933. /// 支付方式
  934. /// </summary>
  935. public string? PayWay { get; set; }
  936. /// <summary>
  937. /// 卡类型
  938. /// </summary>
  939. public string? CardType { get; set; }
  940. /// <summary>
  941. /// 是否支付
  942. /// -1 未选择 0 未付款 1 已付款
  943. /// </summary>
  944. public int IsPay { get; set; }
  945. /// <summary>
  946. /// 操作人
  947. /// </summary>
  948. public string? Applicant { get; set; }
  949. }
  950. /// <summary>
  951. /// 邀请/公务费用View
  952. /// </summary>
  953. public class GroupInvitationalFeeView
  954. {
  955. public int IOAId { get; set; }
  956. public int IOADiId { get; set; }
  957. /// <summary>
  958. /// 邀请方地区
  959. /// </summary>
  960. public string? InviterArea { get; set; }
  961. /// <summary>
  962. /// 邀请方
  963. /// </summary>
  964. public string? Inviter { get; set; }
  965. /// <summary>
  966. /// 邀请时间
  967. /// </summary>
  968. public string? InviteTime { get; set; }
  969. /// <summary>
  970. /// 邀请函费用
  971. /// </summary>
  972. public decimal InviteCost { get; set; } = 0.00M;
  973. /// <summary>
  974. /// 邀请函币种
  975. /// </summary>
  976. public string? InviteCurrency { get; set; }
  977. /// <summary>
  978. /// 快递费用
  979. /// </summary>
  980. public decimal SendCost { get; set; } = 0.00M;
  981. /// <summary>
  982. /// 快递币种
  983. /// </summary>
  984. public string? SendCurrency { get; set; }
  985. /// <summary>
  986. /// 活动费用
  987. /// </summary>
  988. public decimal EventsCost { get; set; } = 0.00M;
  989. /// <summary>
  990. /// 活动币种
  991. /// </summary>
  992. public string? EventsCurrency { get; set; }
  993. /// <summary>
  994. /// 翻译费用
  995. /// </summary>
  996. public decimal TranslateCost { get; set; } = 0.00M;
  997. /// <summary>
  998. /// 翻译币种
  999. /// </summary>
  1000. public string? TranslateCurrency { get; set; }
  1001. /// <summary>
  1002. /// 付款金额
  1003. /// </summary>
  1004. public decimal PayMoney { get; set; } = 0.00M;
  1005. /// <summary>
  1006. /// 付款币种
  1007. /// </summary>
  1008. public string? PaymentCurrency { get; set; }
  1009. /// <summary>
  1010. /// 人民币费用
  1011. /// </summary>
  1012. public decimal CNYPrice { get; set; } = 0.00M;
  1013. /// <summary>
  1014. /// 人民币费用(后台计算)
  1015. /// </summary>
  1016. public decimal CNYPrice2 { get; set; } = 0.00M;
  1017. /// <summary>
  1018. /// 当时币种汇率
  1019. /// </summary>
  1020. public string? CurrencyRateStr { get; set; }
  1021. /// <summary>
  1022. /// 收款方
  1023. /// </summary>
  1024. public string? Payee { get; set; }
  1025. /// <summary>
  1026. /// 付款时间
  1027. /// </summary>
  1028. public string? AuditGMDate { get; set; }
  1029. /// <summary>
  1030. /// 费用标识
  1031. /// -1 未选择 0 公转 1 私转
  1032. /// </summary>
  1033. public int OrbitalPrivateTransfer { get; set; }
  1034. /// <summary>
  1035. /// 支付方式
  1036. /// </summary>
  1037. public string? PayWay { get; set; }
  1038. /// <summary>
  1039. /// 是否支付
  1040. /// -1 未选择 0 未付款 1 已付款
  1041. /// </summary>
  1042. public int IsPay { get; set; }
  1043. /// <summary>
  1044. /// 操作人
  1045. /// </summary>
  1046. public string? Applicant { get; set; }
  1047. }
  1048. /// <summary>
  1049. /// 保险费用View
  1050. /// </summary>
  1051. public class GroupInsuranceFeeView
  1052. {
  1053. public int InsuranceId { get; set; }
  1054. public int InsuranceDiId { get; set; }
  1055. /// <summary>
  1056. /// 客户名称
  1057. /// </summary>
  1058. public string? ClientName { get; set; }
  1059. /// <summary>
  1060. /// 付款金额
  1061. /// </summary>
  1062. public decimal PayMoney { get; set; } = 0.00M;
  1063. /// <summary>
  1064. /// 付款币种
  1065. /// </summary>
  1066. public string? PayMoneyCurrency { get; set; }
  1067. /// <summary>
  1068. /// 人民币金额
  1069. /// </summary>
  1070. public decimal CNYPrice { get; set; } = 0.00M;
  1071. /// <summary>
  1072. /// 付款时间
  1073. /// </summary>
  1074. public string? AuditGMDate { get; set; }
  1075. /// <summary>
  1076. /// 收款方
  1077. /// </summary>
  1078. public string? Payee { get; set; }
  1079. /// <summary>
  1080. /// 费用标识
  1081. /// -1 未选择 0 公转 1 私转
  1082. /// </summary>
  1083. public int OrbitalPrivateTransfer { get; set; }
  1084. /// <summary>
  1085. /// 支付方式
  1086. /// </summary>
  1087. public string? PayWay { get; set; }
  1088. /// <summary>
  1089. /// 是否支付
  1090. /// -1 未选择 0 未付款 1 已付款
  1091. /// </summary>
  1092. public int IsPay { get; set; }
  1093. /// <summary>
  1094. /// 操作人
  1095. /// </summary>
  1096. public string? Applicant { get; set; }
  1097. }
  1098. /// <summary>
  1099. /// 增减款项View
  1100. /// </summary>
  1101. public class GroupDecreaseFeeView
  1102. {
  1103. public int DPId { get; set; }
  1104. public int DPDiId { get; set; }
  1105. /// <summary>
  1106. /// 费用名称
  1107. /// </summary>
  1108. public string? PriceName { get; set; }
  1109. /// <summary>
  1110. /// 付款金额
  1111. /// </summary>
  1112. public decimal PayMoney { get; set; } = 0.00M;
  1113. /// <summary>
  1114. /// 付款币种
  1115. /// </summary>
  1116. public string? PayMoneyCurrency { get; set; }
  1117. /// <summary>
  1118. /// 当时汇率
  1119. /// </summary>
  1120. public decimal DayRate { get; set; } = 1.0000M;
  1121. /// <summary>
  1122. /// 人民币金额
  1123. /// </summary>
  1124. public decimal CNYPrice { get; set; } = 0.00M;
  1125. /// <summary>
  1126. /// 付款时间
  1127. /// </summary>
  1128. public string? AuditGMDate { get; set; }
  1129. /// <summary>
  1130. /// 收款方
  1131. /// </summary>
  1132. public string? Payee { get; set; }
  1133. /// <summary>
  1134. /// 费用标识
  1135. /// -1 未选择 0 公转 1 私转
  1136. /// </summary>
  1137. public int OrbitalPrivateTransfer { get; set; }
  1138. /// <summary>
  1139. /// 支付方式
  1140. /// </summary>
  1141. public string? PayWay { get; set; }
  1142. /// <summary>
  1143. /// 是否支付
  1144. /// -1 未选择 0 未付款 1 已付款
  1145. /// </summary>
  1146. public int IsPay { get; set; }
  1147. /// <summary>
  1148. /// 操作人
  1149. /// </summary>
  1150. public string? Applicant { get; set; }
  1151. }
  1152. public class GroupRoyaltyFeeInfo
  1153. {
  1154. public int GroupId { get; set; }
  1155. public string OverviewInfo { get; set; }
  1156. [JsonIgnore]
  1157. public string DetailedInfo { get; set; }
  1158. public string[] DetailedInfoText
  1159. {
  1160. get
  1161. {
  1162. var jsonArray = Array.Empty<string>();
  1163. string str = DetailedInfo;
  1164. if (string.IsNullOrWhiteSpace(str)) return jsonArray;
  1165. str = str.Trim();
  1166. if ((str.StartsWith("{") && str.EndsWith("}")) || // 检查是否是 JSON 对象
  1167. (str.StartsWith("[") && str.EndsWith("]"))) // 检查是否是 JSON 数组
  1168. {
  1169. try
  1170. {
  1171. return JsonConvert.DeserializeObject<string[]>(str);
  1172. }
  1173. catch (JsonException)
  1174. {
  1175. return jsonArray;
  1176. }
  1177. }
  1178. return jsonArray;
  1179. }
  1180. }
  1181. public string DetailedInfoExcelText
  1182. {
  1183. get
  1184. {
  1185. string label = string.Empty;
  1186. var array = DetailedInfoText;
  1187. if (!array.Any()) return label;
  1188. foreach (var item in array) label += $"{item}\n";
  1189. if (label.EndsWith(@"\n")) label = label.Substring(0, label.Length - 2);
  1190. return label;
  1191. }
  1192. }
  1193. public decimal Amount { get; set; }
  1194. public int IsConfirm { get; set; }
  1195. public string IsConfrimText { get { return IsConfirm == 1 ? "已确认" : "未确认"; } }
  1196. public int IsSeed { get; set; }
  1197. public string IsSeedText { get { return IsSeed == 1 ? "已发放" : "未发放"; } }
  1198. public string RoyaltyUserName { get; set; }
  1199. public string CreateUserName { get; set; }
  1200. public DateTime CreateTime { get; set; }
  1201. }
  1202. /// <summary>
  1203. /// 操作人员提成View
  1204. /// </summary>
  1205. public class GroupRoyaltyFeeView
  1206. {
  1207. public int GroupId { get; set; }
  1208. public string OverviewInfo { get; set; }
  1209. public string[] DetailedInfoText { get; set; }
  1210. public decimal Amount { get; set; }
  1211. public string IsConfrimText { get; set; }
  1212. public string IsSeedText { get; set; }
  1213. public string RoyaltyUserName { get; set; }
  1214. public string CreateUserName { get; set; }
  1215. public DateTime CreateTime { get; set; }
  1216. }
  1217. #endregion
  1218. #region 团组统计报表下载
  1219. /// <summary>
  1220. /// Excel 签证费用View
  1221. /// </summary>
  1222. public class GroupVisaFeeExcelView
  1223. {
  1224. public int VisaId { get; set; }
  1225. public int VisaDiId { get; set; }
  1226. /// <summary>
  1227. /// 客户名称
  1228. /// </summary>
  1229. public string? VisaClient { get; set; }
  1230. /// <summary>
  1231. /// 付款金额
  1232. /// </summary>
  1233. public decimal PayMoney { get; set; } = 0.00M;
  1234. /// <summary>
  1235. /// 付款金额
  1236. /// </summary>
  1237. public decimal CNYPrice { get; set; } = 0.00M;
  1238. /// <summary>
  1239. /// 付款币种
  1240. /// </summary>
  1241. public string? PayMoneyCurrency { get; set; }
  1242. /// <summary>
  1243. /// 当时汇率
  1244. /// </summary>
  1245. public decimal DayRate { get; set; } = 1.0000M;
  1246. /// <summary>
  1247. /// 付款时间
  1248. /// </summary>
  1249. public string? AuditGMDate { get; set; }
  1250. /// <summary>
  1251. /// 收款方
  1252. /// </summary>
  1253. public string? Payee { get; set; }
  1254. /// <summary>
  1255. /// 费用标识
  1256. /// -1 未选择 0 公转 1 私转
  1257. /// </summary>
  1258. public string CostMark { get; set; }
  1259. /// <summary>
  1260. /// 支付方式
  1261. /// </summary>
  1262. public string? PaymentModes { get; set; }
  1263. /// <summary>
  1264. /// 卡类型
  1265. /// </summary>
  1266. public string? CardType { get; set; }
  1267. /// <summary>
  1268. /// 是否支付
  1269. /// </summary>
  1270. public string IsPay { get; set; }
  1271. /// <summary>
  1272. /// 付款时间
  1273. /// </summary>
  1274. public string ConsumptionDate { get; set; }
  1275. public string Remark { get; set; }
  1276. /// <summary>
  1277. /// 操作人
  1278. /// </summary>
  1279. public string? Applicant { get; set; }
  1280. public DateTime CreateTime { get; set; }
  1281. }
  1282. /// <summary>
  1283. /// Excel 商邀费用View
  1284. /// </summary>
  1285. public class GroupOAFeeExcelView
  1286. {
  1287. public int IOAId { get; set; }
  1288. public int IOADiId { get; set; }
  1289. /// <summary>
  1290. /// 邀请方地区
  1291. /// </summary>
  1292. public string? InviterArea { get; set; }
  1293. /// <summary>
  1294. /// 邀请方
  1295. /// </summary>
  1296. public string? Inviter { get; set; }
  1297. /// <summary>
  1298. /// 邀请时间
  1299. /// </summary>
  1300. public string? InviteTime { get; set; }
  1301. /// <summary>
  1302. /// 邀请函费用
  1303. /// </summary>
  1304. public decimal InviteCost { get; set; } = 0.00M;
  1305. /// <summary>
  1306. /// 邀请函币种
  1307. /// </summary>
  1308. public string? InviteCurrency { get; set; }
  1309. /// <summary>
  1310. /// 快递费用
  1311. /// </summary>
  1312. public decimal SendCost { get; set; } = 0.00M;
  1313. /// <summary>
  1314. /// 快递币种
  1315. /// </summary>
  1316. public string? SendCurrency { get; set; }
  1317. /// <summary>
  1318. /// 活动费用
  1319. /// </summary>
  1320. public decimal EventsCost { get; set; } = 0.00M;
  1321. /// <summary>
  1322. /// 活动币种
  1323. /// </summary>
  1324. public string? EventsCurrency { get; set; }
  1325. /// <summary>
  1326. /// 翻译费用
  1327. /// </summary>
  1328. public decimal TranslateCost { get; set; } = 0.00M;
  1329. /// <summary>
  1330. /// 翻译币种
  1331. /// </summary>
  1332. public string? TranslateCurrency { get; set; }
  1333. /// <summary>
  1334. /// 付款金额
  1335. /// </summary>
  1336. public decimal PayMoney { get; set; } = 0.00M;
  1337. /// <summary>
  1338. /// 付款币种汇率
  1339. /// </summary>
  1340. public decimal DayRate { get; set; } = 0.0000M;
  1341. /// <summary>
  1342. /// 付款币种
  1343. /// </summary>
  1344. public string? PaymentCurrency { get; set; }
  1345. /// <summary>
  1346. /// 人民币费用
  1347. /// </summary>
  1348. public decimal CNYPrice { get; set; } = 0.00M;
  1349. /// <summary>
  1350. /// 收款方
  1351. /// </summary>
  1352. public string? Payee { get; set; }
  1353. /// <summary>
  1354. /// 消费日期
  1355. /// </summary>
  1356. public string ConsumptionDate { get; set; }
  1357. /// <summary>
  1358. /// 费用标识
  1359. /// </summary>
  1360. public string CostMark { get; set; }
  1361. /// <summary>
  1362. /// 支付标识
  1363. /// </summary>
  1364. public string IsPay { get; set; }
  1365. /// <summary>
  1366. /// 支付方式
  1367. /// </summary>
  1368. public string PaymentModes { get; set; }
  1369. /// <summary>
  1370. /// 备注
  1371. /// </summary>
  1372. public string Remark { get; set; }
  1373. /// <summary>
  1374. /// 审核时间
  1375. /// </summary>
  1376. public string? AuditGMDate { get; set; }
  1377. /// <summary>
  1378. /// 操作人
  1379. /// </summary>
  1380. public string? Applicant { get; set; }
  1381. public DateTime CreateTime { get; set; }
  1382. }
  1383. /// <summary>
  1384. /// Excel 机票费用View
  1385. /// </summary>
  1386. public class GroupAirTicketExcelView
  1387. {
  1388. public int AirId { get; set; }
  1389. public int AirDiId { get; set; }
  1390. /// <summary>
  1391. /// 航班号
  1392. /// </summary>
  1393. public string? FlightsCode { get; set; }
  1394. /// <summary>
  1395. /// 城市A-B
  1396. /// </summary>
  1397. public string? FlightsCity { get; set; }
  1398. /// <summary>
  1399. /// 舱位类型
  1400. /// </summary>
  1401. public string? AirTypeName { get; set; }
  1402. /// <summary>
  1403. /// 航班日期
  1404. /// </summary>
  1405. public string? FlightsDate { get; set; }
  1406. /// <summary>
  1407. /// 航班时间
  1408. /// </summary>
  1409. public string? FlightsTime { get; set; }
  1410. /// <summary>
  1411. /// 客户姓名
  1412. /// </summary>
  1413. public string? ClientName { get; set; }
  1414. /// <summary>
  1415. /// 客户人数
  1416. /// </summary>
  1417. public int ClientNum { get; set; }
  1418. /// <summary>
  1419. /// 费用描述
  1420. /// </summary>
  1421. public string PriceDescription { get; set; }
  1422. /// <summary>
  1423. /// 付款金额
  1424. /// </summary>
  1425. public decimal PayMoney { get; set; } = 0.00M;
  1426. /// <summary>
  1427. /// 当时汇率
  1428. /// </summary>
  1429. public decimal DayRate { get; set; } = 1.0000M;
  1430. /// <summary>
  1431. /// 付款币种
  1432. /// </summary>
  1433. public string? PayMoneyCurrency { get; set; }
  1434. /// <summary>
  1435. /// CNY 金额
  1436. /// </summary>
  1437. public decimal CNYPrice { get; set; } = 0.00M;
  1438. /// <summary>
  1439. /// 付款时间
  1440. /// </summary>
  1441. public string ConsumptionDate { get; set; }
  1442. /// <summary>
  1443. /// 收款方
  1444. /// </summary>
  1445. public string? Payee { get; set; }
  1446. /// <summary>
  1447. /// 费用标识
  1448. /// </summary>
  1449. public string CostMark { get; set; }
  1450. /// <summary>
  1451. /// 是否支付
  1452. /// </summary>
  1453. public string IsPay { get; set; }
  1454. /// <summary>
  1455. /// 支付方式
  1456. /// </summary>
  1457. public string? PaymentModes { get; set; }
  1458. /// <summary>
  1459. /// 卡类型
  1460. /// </summary>
  1461. public string? CardType { get; set; }
  1462. /// <summary>
  1463. /// 审核时间
  1464. /// </summary>
  1465. public string? AuditGMDate { get; set; }
  1466. /// <summary>
  1467. /// 操作人
  1468. /// </summary>
  1469. public string? Applicant { get; set; }
  1470. /// <summary>
  1471. /// 创建时间
  1472. /// </summary>
  1473. public DateTime CreateTime { get; set; }
  1474. /// <summary>
  1475. /// SetDataId
  1476. /// </summary>
  1477. public int CType { get; set; }
  1478. public string Remark { get; set; }
  1479. }
  1480. /// <summary>
  1481. /// Excel 保险费用View
  1482. /// </summary>
  1483. public class GroupInsureExcelView
  1484. {
  1485. public int InsuranceId { get; set; }
  1486. public int InsuranceDiId { get; set; }
  1487. /// <summary>
  1488. /// 客户名称
  1489. /// </summary>
  1490. public string? ClientName { get; set; }
  1491. /// <summary>
  1492. /// 付款金额
  1493. /// </summary>
  1494. public decimal PayMoney { get; set; } = 0.00M;
  1495. /// <summary>
  1496. /// 付款币种
  1497. /// </summary>
  1498. public string? PayMoneyCurrency { get; set; }
  1499. /// <summary>
  1500. /// 当时汇率
  1501. /// </summary>
  1502. public decimal DayRate { get; set; }
  1503. /// <summary>
  1504. /// 人民币金额
  1505. /// </summary>
  1506. public decimal CNYPrice { get; set; } = 0.00M;
  1507. /// <summary>
  1508. /// 付款时间
  1509. /// </summary>
  1510. public string ConsumptionDate { get; set; }
  1511. /// <summary>
  1512. /// 费用标识
  1513. /// </summary>
  1514. public string CostMark { get; set; }
  1515. /// <summary>
  1516. /// 审核时间
  1517. /// </summary>
  1518. public string? AuditGMDate { get; set; }
  1519. /// <summary>
  1520. /// 收款方
  1521. /// </summary>
  1522. public string? Payee { get; set; }
  1523. /// <summary>
  1524. /// 是否支付
  1525. /// </summary>
  1526. public string IsPay { get; set; }
  1527. /// <summary>
  1528. /// 支付方式
  1529. /// </summary>
  1530. public string? PaymentModes { get; set; }
  1531. /// <summary>
  1532. /// 操作人
  1533. /// </summary>
  1534. public string? Applicant { get; set; }
  1535. public DateTime CreateTime { get; set; }
  1536. public string Remark { get; set; }
  1537. }
  1538. /// <summary>
  1539. /// Excel 保险费用View
  1540. /// </summary>
  1541. public class GroupOtherFeeExcelView
  1542. {
  1543. public int DPId { get; set; }
  1544. public int DPDiId { get; set; }
  1545. /// <summary>
  1546. /// 费用名称
  1547. /// </summary>
  1548. public string? PriceName { get; set; }
  1549. /// <summary>
  1550. /// 付款金额
  1551. /// </summary>
  1552. public decimal PayMoney { get; set; } = 0.00M;
  1553. /// <summary>
  1554. /// 付款币种
  1555. /// </summary>
  1556. public string? PayMoneyCurrency { get; set; }
  1557. /// <summary>
  1558. /// 当时汇率
  1559. /// </summary>
  1560. public decimal DayRate { get; set; } = 1.0000M;
  1561. /// <summary>
  1562. /// 人民币金额
  1563. /// </summary>
  1564. public decimal CNYPrice { get; set; } = 0.00M;
  1565. /// <summary>
  1566. /// 付款时间
  1567. /// </summary>
  1568. public string? AuditGMDate { get; set; }
  1569. /// <summary>
  1570. /// 收款方
  1571. /// </summary>
  1572. public string? Payee { get; set; }
  1573. /// <summary>
  1574. /// 费用标识
  1575. /// </summary>
  1576. public string CostMark { get; set; }
  1577. /// <summary>
  1578. /// 支付方式
  1579. /// </summary>
  1580. public string? PaymentModes { get; set; }
  1581. /// <summary>
  1582. /// 是否支付
  1583. /// </summary>
  1584. public string IsPay { get; set; }
  1585. /// <summary>
  1586. /// 操作人
  1587. /// </summary>
  1588. public string? Applicant { get; set; }
  1589. public DateTime CreateTime { get; set; }
  1590. public string? Remark { get; set; }
  1591. }
  1592. /// <summary>
  1593. /// 操作人员提成View
  1594. /// </summary>
  1595. public class GroupRoyaltyFeeExcelView
  1596. {
  1597. public int GroupId { get; set; }
  1598. public string OverviewInfo { get; set; }
  1599. public string DetailedInfoExcelText { get; set; }
  1600. public decimal Amount { get; set; }
  1601. public string IsConfrimText { get; set; }
  1602. public string IsSeedText { get; set; }
  1603. public string RoyaltyUserName { get; set; }
  1604. public string CreateUserName { get; set; }
  1605. public DateTime CreateTime { get; set; }
  1606. }
  1607. #endregion
  1608. }