using OASystem.Domain.Entities.Financial; using OASystem.Domain.Entities.Groups; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OASystem.Domain.ViewModels.Statistics { /// /// 团组报表 /// public class GroupStatementView { } /// /// 团组报表 /// Items View /// public class GroupStatementItemView { /// /// 序号 /// public int Row_Number { get; set; } /// /// 是否操作完成 /// 0否1是 /// public int IsSure { get; set; } /// /// 主键Id /// 团组Id /// public int Id { get; set; } /// /// 团号 /// public string? TourCode { get; set; } /// /// 接团操作人 /// public string? JietuanOperator { get; set; } /// /// 团组等级Id /// public int TeamLevId { get; set; } /// /// 团组等级 /// public string? TeamLev { get; set; } /// /// 团组名称 /// public string? TeamName { get; set; } /// /// 客户名称 /// public string? ClientName { get; set; } /// /// 客户所属公司 /// public string? ClientUnit { get; set; } /// /// 团组类型Id /// public int TeamTypeId { get; set; } /// /// 团组类型 /// public string? TeamType { get; set; } /// /// 出团日期 /// public DateTime VisitDate { get; set; } /// /// 出行天数 /// public int VisitDays { get; set; } /// /// 出行人数 /// public int VisitPNumber { get; set; } /// /// 最后收款时间 /// public DateTime? LastCollectionTime { get; set; } } /// /// 团组报表 /// Details View /// public class GroupStatementDetailsView { /// /// 费用总计 描述 /// public string? TotalStr { get; set; } /// /// 团组收入 /// Data View /// public GroupIncomeView? GroupIncome { get; set; } /// /// 团组收入 /// 描述 /// public string? GroupIncomeStr { get; set; } /// /// 团组支出 /// public GroupExpenditureView? GroupExpenditure { get; set; } } #region 团组收入 /// /// 团组收入 /// Data View /// public class GroupIncomeView { /// /// 应收 Items /// public List? Receivables { get; set; } /// /// 应收 Str /// public string? ReceivableStr { get; set; } /// /// 已收 Items /// public List? ProceedsReceiveds { get; set; } /// /// 已收 Str /// public string? ProceedsReceivedStr { get; set; } /// /// 支出费用 Items /// public List? IncurExpenses { get; set; } = new List(); /// /// 支出费用 Str /// public string? IncurExpenseStr{ get; set; } = string.Empty; /// /// 收款退还 Items /// public List? PaymentRefundAndOtherMoneys { get; set; } /// /// 收款退还 Str /// public string? PaymentRefundAndOtherMoneyStr { get; set; } } /// /// 应收报表 /// public class Gsd_ForeignReceivablesView { public int Id { get; set; } public int diid { get; set; } /// /// 费用名称 /// public string? PriceName { get; set; } /// /// 单价 /// public decimal Price { get; set; } /// /// 数量 /// public int Count { get; set; } /// /// 单位 /// public string? Unit { get; set; } /// /// 币种 /// public int Currency { get; set; } /// /// 币种 Code /// public string CurrencyCode { get; set; } /// /// 币种 Name /// public string CurrencyName { get; set; } /// /// 汇率 /// public decimal Rate { get; set; } /// /// 应收金额 /// public decimal ItemSumPrice { get; set; } } /// /// 已收报表 /// public class Gsd_ProceedsReceivedView { public int Id { get; set; } public int Diid { get; set; } /// /// 到款时间 /// public string? SectionTime { get; set; } /// /// 费用金额 /// public decimal Price { get; set; } /// /// 币种 /// public int Currency { get; set; } /// /// 币种 Code /// public string CurrencyCode { get; set; } /// /// 币种 Name /// public string CurrencyName { get; set; } /// /// 支出单位 /// public string? Client { get; set; } /// /// 转账标识Id /// public int ReceivablesType { get; set; } /// /// 转账类型名称 /// public string ReceivablesTypeName { get; set; } /// /// 备注 /// public string? Remark { get; set; } } /// /// 收款退还 /// public class Gsd_PaymentRefundAndOtherMoneyView { public int Id { get; set; } public int DiId { get; set; } /// /// 费用名称 /// public string? PriceName { get; set; } /// /// 币种code /// public string? PayCurrencyCode { get; set; } /// /// 币种名称 /// public string? PayCurrencyName { get; set; } /// /// 费用 /// public decimal Price { get; set; } /// /// 人名币金额 /// public decimal CNYPrice { get; set; } /// /// 当时汇率 /// public decimal ThisRate { get; set; } /// /// 收款方 /// public string? Payee { get; set; } /// /// 付款时间 /// public string? PayTime { get; set; } /// /// 费用标识 /// public string? FeeType { get; set; } /// /// 支付方式 /// public string? PayType { get; set; } /// /// 付款状态 /// public string? PayStatus { get; set; } /// /// 申请人 /// public string? Applicant { get; set; } } #region 收款退还 View public class Gsd_PaymentRefundAndOtherMoneyDataSource1View : Grp_CreditCardPayment { /// /// 申请人 /// public string Appliction { get; set; } public int PrId { get; set; } public int PrDiId { get; set; } public string PrPriceName { get; set; } public decimal PrPrice { get; set; } public int PrCurrencyId { get; set; } public int PrPayType { get; set; } public int PrPriceType { get; set; } }; #endregion #endregion #region 团组支出 /// /// 团组支出 View /// public class GroupExpenditureView { } #endregion }