AirTicketResDto.cs 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.Dtos.Groups
  7. {
  8. /// <summary>
  9. /// 根据登录用户查询
  10. /// </summary>
  11. public class AirTicketResDto:DtoBase
  12. {
  13. public int DiId { get; set; } = 0;
  14. public int UserId { get; set; } = 0;
  15. public int IsPaySign { get; set; } = -1;
  16. }
  17. public class ItineraryAirTicketResDto
  18. {
  19. public int DiId { get; set; } = 0;
  20. public int UserId { get; set; } = 0;
  21. public string Language { get; set; }
  22. }
  23. /// <summary>
  24. /// 根据团组Id及
  25. /// </summary>
  26. public class AirTicketResDeriveDto
  27. {
  28. public int CreateUserId { get; set; } = 0;
  29. }
  30. public class AirTicketResByIdDto
  31. {
  32. public int Id { get; set; }
  33. }
  34. public class QueryClientInfoByDIIDDto
  35. {
  36. public int DIID { get; set; }
  37. }
  38. public class AirTicketResOpDto
  39. {
  40. /// <summary>
  41. /// 操作状态
  42. /// 1 添加
  43. /// 2 修改
  44. /// </summary>
  45. public int Status { get; set; }
  46. public AirTicketResOp AirTicketResOpData { get; set; }
  47. public CardPayment CardPaymentOpData { get; set; }
  48. }
  49. /// <summary>
  50. /// 机票费用录入表参数
  51. /// </summary>
  52. public class AirTicketResOp
  53. {
  54. /// <summary>
  55. /// 编号
  56. /// </summary>
  57. public int Id { get; set; }
  58. public int DiId { get;set; }
  59. /// <summary>
  60. /// 舱类型
  61. /// </summary>
  62. public int CType { get; set; }
  63. /// <summary>
  64. /// 出票前报价
  65. /// </summary>
  66. public decimal PrePrice { get; set; }
  67. /// <summary>
  68. /// 出票前报价币种
  69. /// </summary>
  70. public int PreCurrency { get; set; }
  71. /// <summary>
  72. /// 机票全价
  73. /// </summary>
  74. public decimal Price { get; set; }
  75. /// <summary>
  76. /// 币种
  77. /// </summary>
  78. public int Currency { get; set; }
  79. /// <summary>
  80. /// 客户人数
  81. /// </summary>
  82. public int ClientNum { get; set; }
  83. /// <summary>
  84. /// 客人名称
  85. /// </summary>
  86. public string ClientName { get; set; }
  87. /// <summary>
  88. /// 是否值机
  89. /// </summary>
  90. public int IsCheckIn { get; set; }
  91. /// <summary>
  92. /// 是否选座
  93. /// </summary>
  94. public int IsSetSeat { get; set; }
  95. /// <summary>
  96. /// 是否购买行李服务
  97. /// </summary>
  98. public int IsPackage { get; set; }
  99. /// <summary>
  100. /// 是否行李直挂
  101. /// </summary>
  102. public int IsBagHandle { get; set; }
  103. /// <summary>
  104. /// 是否火车票出票选座
  105. /// </summary>
  106. public int IsTrain { get; set; }
  107. /// <summary>
  108. /// 航班日期
  109. /// </summary>
  110. public string FlightsDate { get; set; }
  111. /// <summary>
  112. /// 航班时间
  113. /// </summary>
  114. public string FlightsTime { get; set; }
  115. /// <summary>
  116. /// 航班号
  117. /// </summary>
  118. public string FlightsCode { get; set; }
  119. /// <summary>
  120. /// 城市A-B
  121. /// </summary>
  122. public string FlightsCity { get; set; }
  123. /// /// <summary>
  124. /// 内陆段航班描述
  125. /// </summary>
  126. public string FlightsDescription { get; set; }
  127. /// <summary>
  128. /// 报价说明
  129. /// </summary>、
  130. public string PriceDescription { get; set; }
  131. /// <summary>
  132. /// 机票编号
  133. /// </summary>
  134. public string TicketNumber { get; set; }
  135. /// <summary>
  136. /// 机票票号
  137. /// </summary>
  138. public string TicketCode { get; set; }
  139. /// <summary>
  140. /// 创建者Id
  141. /// </summary>
  142. public int CreateUserId { get; set; }
  143. /// <summary>
  144. /// 备注
  145. /// </summary>
  146. public string Remark { get; set; }
  147. }
  148. /// <summary>
  149. /// C表参数
  150. /// </summary>
  151. public class CardPayment
  152. {
  153. /// <summary>
  154. /// 编号
  155. /// </summary>
  156. public int Id { get; set; }
  157. /// <summary>
  158. /// 支付方式
  159. /// </summary>
  160. public int PayDId { get; set; }
  161. /// <summary>
  162. /// 消费方式
  163. /// </summary>
  164. public string ConsumptionPatterns { get; set; }
  165. /// <summary>
  166. /// 消费日期
  167. /// </summary>
  168. public string ConsumptionDate { get; set; }
  169. /// <summary>
  170. /// 卡类型
  171. /// </summary>
  172. public int CTDId { get; set; }
  173. /// <summary>
  174. /// 银行卡号
  175. /// </summary>
  176. public string BankNo { get; set; }
  177. /// <summary>
  178. /// 持卡人姓名
  179. /// </summary>
  180. public string CardholderName { get; set; }
  181. /// <summary>
  182. /// 付款金额
  183. /// </summary>
  184. public decimal PayMoney { get; set; }
  185. /// <summary>
  186. /// 付款币种 数据类型Id
  187. /// </summary>
  188. public int PaymentCurrency { get; set; }
  189. ///// <summary>
  190. ///// 当天汇率 计算
  191. ///// </summary>
  192. //public string DayRate { get; set; }
  193. /// <summary>
  194. /// 公司银行卡号
  195. /// </summary>
  196. public string CompanyBankNo { get; set; }
  197. /// <summary>
  198. /// 对方开户行
  199. /// </summary>
  200. public string OtherBankName { get; set; }
  201. /// <summary>
  202. /// 对方银行账号
  203. /// </summary>
  204. public string OtherSideNo { get; set; }
  205. /// <summary>
  206. /// 对方姓名
  207. /// </summary>
  208. public string OtherSideName { get; set; }
  209. /// <summary>
  210. /// 财务操作人 用户Id
  211. /// </summary>
  212. public int MFOperator { get; set; }
  213. /// <summary>
  214. /// 财务操作时间
  215. /// </summary>
  216. public string MFOperatorDate { get; set; }
  217. ///// <summary>
  218. ///// 部门经理是否审核 0否1是
  219. ///// </summary>
  220. //public int IsAuditDM { get; set; }
  221. ///// <summary>
  222. ///// 部门经理审核人 用户Id
  223. ///// </summary>
  224. //public int AuditDMOperate { get; set; }
  225. ///// <summary>
  226. ///// 部门经理审核时间
  227. ///// </summary>
  228. //public DateTime AuditDMDate { get; set; }
  229. ///// <summary>
  230. ///// 财务部是否审核 0否1是
  231. ///// </summary>
  232. //public int IsAuditMF { get; set; }
  233. ///// <summary>
  234. ///// 财务部审核人
  235. ///// </summary>
  236. //public int AuditMFOperate { get; set; }
  237. ///// <summary>
  238. ///// 财务部审核时间
  239. ///// </summary>
  240. //public DateTime AuditMFDate { get; set; }
  241. ///// <summary>
  242. ///// 总经理是否审核 0否1是
  243. ///// </summary>
  244. //public int IsAuditGM { get; set; }
  245. ///// <summary>
  246. ///// 总经理审核人
  247. ///// </summary>
  248. //public int AuditGMOperate { get; set; }
  249. ///// <summary>
  250. ///// 总经理审核时间
  251. ///// </summary>
  252. //public DateTime AuditGMDate { get; set; }
  253. ///// <summary>
  254. ///// 是否付款 0否1是 判断进行
  255. ///// </summary>
  256. //public int IsPay { get; set; }
  257. /// <summary>
  258. /// 团组外键编号
  259. /// </summary>
  260. public int DIId { get; set; }
  261. ///// <summary>
  262. ///// 指向表外键编号 机票费用录入表Id
  263. ///// </summary>
  264. //public int CId { get; set; }
  265. ///// <summary>
  266. ///// 指向标识 设置数据外键编号 固定机票 85
  267. ///// </summary>
  268. //public int CTable { get; set; }
  269. ///// <summary>
  270. ///// 此次付款百分比 固定1
  271. ///// </summary>
  272. //public decimal PayPercentage { get; set; }
  273. /// <summary>
  274. /// 此次付款金额
  275. /// </summary>
  276. public decimal PayThenMoney { get; set; }
  277. ///// <summary>
  278. ///// 上次付款百分比 查询并计算最近一次
  279. ///// </summary>
  280. //public decimal PayPercentageOld { get; set; }
  281. ///// <summary>
  282. ///// 上次付款金额 查询上一次
  283. ///// </summary>
  284. //public decimal PayThenMoneyOld { get; set; }
  285. ///// <summary>
  286. ///// 上次付款时间 查询上一次
  287. ///// </summary>
  288. //public DateTime UpdateDate { get; set; }
  289. /// <summary>
  290. /// 收款方
  291. /// </summary>
  292. public string Payee { get; set; }
  293. ///// <summary>
  294. ///// 人民币费用 换算
  295. ///// </summary>
  296. //[SugarColumn(IsNullable = true, ColumnDataType = "decimal(10, 2)")]
  297. //public decimal RMBPrice { get; set; }
  298. /// <summary>
  299. /// 费用标识
  300. /// </summary>
  301. public int OrbitalPrivateTransfer { get; set; }
  302. ///// <summary>
  303. ///// 超出预算比例 换算
  304. ///// </summary>
  305. //[SugarColumn(IsNullable = true, ColumnDataType = "decimal(10, 2)")]
  306. //public decimal ExceedBudget { get; set; }
  307. /// <summary>
  308. /// 创建者Id
  309. /// </summary>
  310. public int CreateUserId { get; set; }
  311. /// <summary>
  312. /// 备注
  313. /// </summary>
  314. public string Remark { get; set; }
  315. }
  316. /// <summary>
  317. /// 国家出入时间
  318. /// </summary>
  319. public class CountryDataTime
  320. {
  321. // 定义属性
  322. public string Code { get; set; } = string.Empty;
  323. public DateTime StartTime { get; set; } = DateTime.MinValue;
  324. public DateTime EndTime { get; set; } = DateTime.MinValue;
  325. public string Country { get; set; } = string.Empty;
  326. // 构造函数(可选)
  327. public CountryDataTime() { }
  328. public CountryDataTime(string code, DateTime startTime, DateTime endTime, string country)
  329. {
  330. this.Code = code;
  331. StartTime = startTime;
  332. EndTime = endTime;
  333. Country = country;
  334. }
  335. }
  336. }