using OASystem.Domain.Entities.Groups; namespace OASystem.Domain.ViewModels.Groups; public class AirTicketReservationsView : Grp_AirTicketReservations { /// /// 总经理是否审核 /// public int IsAuditGM { get; set; } /// /// 舱类型 /// public string CTypeName { get; set; } public string PreCurrencyStr { get; set; } public string CurrencyStr { get; set; } public string FlightDescription { get; set; } public string ClientNameStr { get; set; } public int IsPay { get; set; } } public class AirGroupCostParameterView { /// /// 经济舱成本 /// public decimal JJCCB { get; set; } /// /// 经济舱系数 /// public decimal JJCXS { get; set; } /// /// 经济舱人数 /// public int JJCRS { get; set; } /// /// 公务舱成本 /// public decimal GWCCB { get; set; } /// /// 公务舱系数 /// public decimal GWCXS { get; set; } /// /// 公务舱人数 /// public int GWCRS { get; set; } } public class AirTicketReservationsPayView { /// /// 团组号 /// public string TourCode { get; set; } /// /// 团组名称 /// public string TeamName { get; set; } /// /// 城市A-B /// public string FlightsCity { get; set; } /// /// 航班说明 /// public string FlightsDescription { get; set; } /// /// 航班号 /// public string FlightsCode { get; set; } /// /// 舱位 /// public string CTypeName { get; set; } /// /// 客人姓名 /// public string ClientName { get; set; } /// /// 舱位人数 /// public int ClientNum { get; set; } /// /// 单价 /// public decimal PrePrice { get; set; } /// /// 总价 /// public decimal Price { get; set; } /// /// 支付方式 /// public string PayType { get; set; } /// /// 费用表示 /// public string OrbitalPrivateTransfer { get; set; } /// /// 卡号 /// public string BankNo { get; set; } /// /// 卡类型 /// public string BankType { get; set; } /// /// 支付时间 /// public DateTime CreateTime { get; set; } /// /// 收款方 /// public string Payee { get; set; } /// /// 费用说明 /// public string PriceDescription { get; set; } /// /// 币种 /// public string CurrencyStr { get; set; } } /// /// 导出行程单数据 /// public class Itinerary { /// /// 航空公司记录编码 /// public string AirlineRecordCode { get; set; } = "--"; /// /// 订座记录编码 /// public string ReservationRecordCode { get; set; } = "--"; /// /// 旅客姓名 /// public string ClientName { get; set; } = "--"; /// /// 票号 /// public string TicketNumber { get; set; } = "--"; /// /// 身份识别代码 /// public string IdentificationCode { get; set; } = "--"; /// /// 联票 /// public string JointTicket { get; set; } = "--"; /// /// 出票航空公司 /// public string AirlineCompany { get; set; } = "--"; /// /// 出票时间 /// public string TimeIssue { get; set; } = "--"; /// /// 代理人 /// public string DrawingAgent { get; set; } = "--"; /// /// 航协代码 /// public string NavigationCode { get; set; } = "--"; /// /// 代理人地址 /// public string AgentsAddress { get; set; } = "--"; /// /// 代理人电话 /// public string AgentPhone { get; set; } = "--"; /// /// 代理人传真 /// public string AgentFacsimile { get; set; } = "--"; /// /// 航班数据 /// public List AirInfo { get; set; } = new List(); } /// /// 航班信息 /// public class AirInfo { /// /// 始发地/到达地 /// public string Destination { get; set; } /// /// 航班号 /// public string Flight { get; set; } /// /// 座位等级 /// public string SeatingClass { get; set; } /// /// 日期 /// public string FlightDate { get; set; } /// /// 起飞时间 /// public string DepartureTime { get; set; } /// /// 到达时间 /// public string LandingTime { get; set; } /// /// 有效期 /// public string ValidityPeriod { get; set; } /// /// 客票状态 /// public string TicketStatus { get; set; } /// /// 行李 /// public string Luggage { get; set; } /// /// 起飞航站楼 /// public string DepartureTerminal { get; set; } /// /// 到达航站楼 /// public string LandingTerminal { get; set; } } public class EntryAndExitTipsView { public decimal jjcCurrentRate { get; set; } public decimal gwcCurrentRate { get; set; } public decimal tdcCurrentRate { get; set; } public string remark { get; set; } public string TripDesc { get; set; } } #region 2026-05版 /// /// 机票费用列表 /// public class AirTicketFeeListView { public int No { get; set; } public int Id { get; set; } /// /// 舱位名称 /// public string CabinName { get; set; } /// /// 航班描述 /// public string FlightDesc { get; set; } /// /// 客户名单 /// public string ClientNameList { get; set; } /// /// 客户数量 /// public int ClientCount { get; set; } = 0; /// /// 机票均价 /// public decimal AvgTicketPrice => ClientCount > 0 ? TotalTicketPrice / ClientCount : 0; /// /// 机票总价 /// public decimal TotalTicketPrice { get; set; } /// /// 使用币种 /// public string Currency { get; set; } /// /// 审核状态 /// public string AuditStatus { get; set; } /// /// 备注 /// public string Remark { get; set; } /// /// 申请人 /// public string Applicant { get; set; } /// /// 申请时间 /// public string ApplyTime { get; set; } } public class AirTicketFeeInfoView { public int CurrUserId { get; set; } public GroupAirTicketInfo GroupAirInfo { get; set; } = new GroupAirTicketInfo(); public List AirTicketFeeInfos { get; set; } = new List(); } /// /// 团组&机票 信息 /// public class GroupAirTicketList : GroupAirInfoView { /// /// 出团时间起 /// public DateTime VisitStartDate { get; set; } /// /// 出团时间止 /// public DateTime VisitEndDate { get; set; } /// /// 出访天数 /// public int VisitDays { get; set; } /// /// 出访人数 /// public int VisitPNumber { get; set; } } /// /// 团组&机票 信息 /// public class GroupAirTicketInfo : GroupAirInfoView { /// /// 航班描述 /// public string FlightsDescription { get; set; } } /// /// 机票费用信息 /// public class AirTicketFeeInfo { /// /// 主键Id /// public int Id { get; set; } /// /// 当前航段代码描述 /// public string FlightsDescription { get; set; } /// /// 航班基础信息(去程、联程、返程) /// [SugarColumn(IsJson = true)] public List AirTicketBasicInfos { get; set; } = new List(); /// /// 客人名称 /// public string ClientName { get; set; } /// /// 客人名称 /// public List ClientNameIds { get; set; } = new List(); /// /// 费用信息(含退票信息) /// [SugarColumn(IsJson = true)] public List CustTicketInfos { get; set; } = new List(); /// /// 报价说明 /// public string PriceDescription { get; set; } #region Credit Info /// /// 支付方式 /// public int PayDId { get; set; } = 0; /// /// 消费方式 /// public string ConsumptionPatterns { get; set; } /// /// 消费日期 /// public string ConsumptionDate { get; set; } /// /// 付款金额 /// public decimal PayMoney { get; set; } /// /// 付款币种 数据类型Id /// public int PaymentCurrency { get; set; } /// /// 卡类型 /// public int CTDId { get; set; } /// /// 银行卡号 /// public string BankNo { get; set; } /// /// 持卡人姓名 /// public string CardholderName { get; set; } /// /// 当天汇率 /// public decimal DayRate { get; set; } /// /// 公司银行卡号 /// public string CompanyBankNo { get; set; } /// /// 对方开户行 /// public string OtherBankName { get; set; } /// /// 对方银行账号 /// public string OtherSideNo { get; set; } /// /// 对方姓名 /// public string OtherSideName { get; set; } /// 收款方 /// public string Payee { get; set; } /// /// 费用标识 /// 0 公转 1 私转 /// public int OrbitalPrivateTransfer { get; set; } /// /// 备注 /// public string Remark { get; set; } /// /// 总经理是否审核 /// 0 未审核 /// 1 已通过 /// 2 未通过 /// 3 自动审核 /// public int IsAuditGM { get; set; } = 0; /// /// 审核状态描述 /// public string IsAuditGMStr => IsAuditGM switch { 0 => "未审核", 1 => "已通过", 2 => "未通过", 3 => "自动审核", _ => "未知状态" }; /// /// 总经理审核人 /// public int AuditGMOperate { get; set; } /// /// 总经理审核时间 /// public string AuditGMDate { get; set; } /// /// 审核描述 /// public string AuditStr { get; set; } #endregion } public class AppPushBodyView { public string GroupName { get; set; } public List AppPushBodyInfos { get; set; } } /// /// 机票费用数据整合详情 /// public class AirTicketFeeOpInfo : AirTicketFeeInfo { /// /// 团组外键编号 /// public int DIId { get; set; } /// /// 记录类型:0-正常机票 1-退票记录 /// public int RecordType { get; set; } = 0; /// /// 关联的原始机票记录ID(退票记录指向原机票记录) /// public int OriginalReservationId { get; set; } /// /// 客户人数 /// public int ClientNum { get; set; } /// /// 舱类型(数据类型外键) /// public int CType { get; set; } /// /// 机票全价 /// public decimal Price { get; set; } /// /// 币种 /// public int Currency { get; set; } } /// /// 应用推送参数body /// public class AppPushBodyInfo { /// /// 操作类型 /// 1 添加 2 修改 /// public int OperationType { get; set; } /// /// 机票费用数据Id /// public int AirTicketId { get; set; } /// /// 信用卡数据Id /// public int CardId { get; set; } /// /// 信用卡CNY金额 /// public decimal CardCNYAmount { get; set; } } #endregion