using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OASystem.Domain.Dtos.Groups { /// /// 根据登录用户查询 /// public class AirTicketResDto:DtoBase { public int DiId { get; set; } = 0; public int UserId { get; set; } = 0; public int IsPaySign { get; set; } = -1; } public class ItineraryAirTicketResDto { public int DiId { get; set; } = 0; public int UserId { get; set; } = 0; public string Language { get; set; } } /// /// 根据团组Id及 /// public class AirTicketResDeriveDto { public int CreateUserId { get; set; } = 0; } public class AirTicketResByIdDto { public int Id { get; set; } } public class QueryClientInfoByDIIDDto { public int DIID { get; set; } } public class AirTicketResOpDto { /// /// 操作状态 /// 1 添加 /// 2 修改 /// public int Status { get; set; } public AirTicketResOp AirTicketResOpData { get; set; } public CardPayment CardPaymentOpData { get; set; } } /// /// 机票费用录入表参数 /// public class AirTicketResOp { /// /// 编号 /// public int Id { get; set; } public int DiId { get;set; } /// /// 舱类型 /// public int CType { get; set; } /// /// 出票前报价 /// public decimal PrePrice { get; set; } /// /// 出票前报价币种 /// public int PreCurrency { get; set; } /// /// 机票全价 /// public decimal Price { get; set; } /// /// 币种 /// public int Currency { get; set; } /// /// 客户人数 /// public int ClientNum { get; set; } /// /// 客人名称 /// public string ClientName { get; set; } /// /// 是否值机 /// public int IsCheckIn { get; set; } /// /// 是否选座 /// public int IsSetSeat { get; set; } /// /// 是否购买行李服务 /// public int IsPackage { get; set; } /// /// 是否行李直挂 /// public int IsBagHandle { get; set; } /// /// 是否火车票出票选座 /// public int IsTrain { get; set; } /// /// 航班日期 /// public string FlightsDate { get; set; } /// /// 航班时间 /// public string FlightsTime { get; set; } /// /// 航班号 /// public string FlightsCode { get; set; } /// /// 城市A-B /// public string FlightsCity { get; set; } /// /// /// 内陆段航班描述 /// public string FlightsDescription { get; set; } /// /// 报价说明 /// 、 public string PriceDescription { get; set; } /// /// 机票编号 /// public string TicketNumber { get; set; } /// /// 机票票号 /// public string TicketCode { get; set; } /// /// 创建者Id /// public int CreateUserId { get; set; } /// /// 备注 /// public string Remark { get; set; } } /// /// C表参数 /// public class CardPayment { /// /// 编号 /// public int Id { get; set; } /// /// 支付方式 /// public int PayDId { get; set; } /// /// 消费方式 /// public string ConsumptionPatterns { get; set; } /// /// 消费日期 /// public string ConsumptionDate { get; set; } /// /// 卡类型 /// public int CTDId { get; set; } /// /// 银行卡号 /// public string BankNo { get; set; } /// /// 持卡人姓名 /// public string CardholderName { get; set; } /// /// 付款金额 /// public decimal PayMoney { get; set; } /// /// 付款币种 数据类型Id /// public int PaymentCurrency { get; set; } ///// ///// 当天汇率 计算 ///// //public string DayRate { get; set; } /// /// 公司银行卡号 /// public string CompanyBankNo { get; set; } /// /// 对方开户行 /// public string OtherBankName { get; set; } /// /// 对方银行账号 /// public string OtherSideNo { get; set; } /// /// 对方姓名 /// public string OtherSideName { get; set; } /// /// 财务操作人 用户Id /// public int MFOperator { get; set; } /// /// 财务操作时间 /// public string MFOperatorDate { get; set; } ///// ///// 部门经理是否审核 0否1是 ///// //public int IsAuditDM { get; set; } ///// ///// 部门经理审核人 用户Id ///// //public int AuditDMOperate { get; set; } ///// ///// 部门经理审核时间 ///// //public DateTime AuditDMDate { get; set; } ///// ///// 财务部是否审核 0否1是 ///// //public int IsAuditMF { get; set; } ///// ///// 财务部审核人 ///// //public int AuditMFOperate { get; set; } ///// ///// 财务部审核时间 ///// //public DateTime AuditMFDate { get; set; } ///// ///// 总经理是否审核 0否1是 ///// //public int IsAuditGM { get; set; } ///// ///// 总经理审核人 ///// //public int AuditGMOperate { get; set; } ///// ///// 总经理审核时间 ///// //public DateTime AuditGMDate { get; set; } ///// ///// 是否付款 0否1是 判断进行 ///// //public int IsPay { get; set; } /// /// 团组外键编号 /// public int DIId { get; set; } ///// ///// 指向表外键编号 机票费用录入表Id ///// //public int CId { get; set; } ///// ///// 指向标识 设置数据外键编号 固定机票 85 ///// //public int CTable { get; set; } ///// ///// 此次付款百分比 固定1 ///// //public decimal PayPercentage { get; set; } /// /// 此次付款金额 /// public decimal PayThenMoney { get; set; } ///// ///// 上次付款百分比 查询并计算最近一次 ///// //public decimal PayPercentageOld { get; set; } ///// ///// 上次付款金额 查询上一次 ///// //public decimal PayThenMoneyOld { get; set; } ///// ///// 上次付款时间 查询上一次 ///// //public DateTime UpdateDate { get; set; } /// /// 收款方 /// public string Payee { get; set; } ///// ///// 人民币费用 换算 ///// //[SugarColumn(IsNullable = true, ColumnDataType = "decimal(10, 2)")] //public decimal RMBPrice { get; set; } /// /// 费用标识 /// public int OrbitalPrivateTransfer { get; set; } ///// ///// 超出预算比例 换算 ///// //[SugarColumn(IsNullable = true, ColumnDataType = "decimal(10, 2)")] //public decimal ExceedBudget { get; set; } /// /// 创建者Id /// public int CreateUserId { get; set; } /// /// 备注 /// public string Remark { get; set; } } /// /// 国家出入时间 /// public class CountryDataTime { // 定义属性 public string Code { get; set; } = string.Empty; public DateTime StartTime { get; set; } = DateTime.MinValue; public DateTime EndTime { get; set; } = DateTime.MinValue; public string Country { get; set; } = string.Empty; // 构造函数(可选) public CountryDataTime() { } public CountryDataTime(string code, DateTime startTime, DateTime endTime, string country) { this.Code = code; StartTime = startTime; EndTime = endTime; Country = country; } } }