namespace TakeoutSaaS.Application.App.Finance.Settlement.Dto; /// /// 到账查询汇总行 DTO。 /// public sealed class FinanceSettlementListItemDto { /// /// 到账日期(UTC 日期)。 /// public DateTime ArrivedDate { get; set; } /// /// 渠道编码(wechat/alipay)。 /// public string Channel { get; set; } = string.Empty; /// /// 渠道文案。 /// public string ChannelText { get; set; } = string.Empty; /// /// 交易笔数。 /// public int TransactionCount { get; set; } /// /// 到账金额。 /// public decimal ArrivedAmount { get; set; } } /// /// 到账查询分页结果 DTO。 /// public sealed class FinanceSettlementListResultDto { /// /// 列表项。 /// public List Items { get; set; } = []; /// /// 总数。 /// public int Total { get; set; } /// /// 当前页码。 /// public int Page { get; set; } /// /// 每页条数。 /// public int PageSize { get; set; } } /// /// 到账明细行 DTO。 /// public sealed class FinanceSettlementDetailItemDto { /// /// 订单号。 /// public string OrderNo { get; set; } = string.Empty; /// /// 金额。 /// public decimal Amount { get; set; } /// /// 支付时间(UTC)。 /// public DateTime PaidAt { get; set; } } /// /// 到账明细结果 DTO。 /// public sealed class FinanceSettlementDetailResultDto { /// /// 明细列表。 /// public List Items { get; set; } = []; } /// /// 到账统计 DTO。 /// public sealed class FinanceSettlementStatsDto { /// /// 今日到账金额。 /// public decimal TodayArrivedAmount { get; set; } /// /// 昨日到账金额。 /// public decimal YesterdayArrivedAmount { get; set; } /// /// 本月到账金额。 /// public decimal CurrentMonthArrivedAmount { get; set; } /// /// 本月交易笔数。 /// public int CurrentMonthTransactionCount { get; set; } } /// /// 到账账户信息 DTO。 /// public sealed class FinanceSettlementAccountDto { /// /// 银行名称。 /// public string BankName { get; set; } = string.Empty; /// /// 开户名。 /// public string BankAccountName { get; set; } = string.Empty; /// /// 脱敏银行账号。 /// public string BankAccountNoMasked { get; set; } = string.Empty; /// /// 脱敏微信商户号。 /// public string WechatMerchantNoMasked { get; set; } = string.Empty; /// /// 脱敏支付宝 PID。 /// public string AlipayPidMasked { get; set; } = string.Empty; /// /// 结算周期文案。 /// public string SettlementPeriodText { get; set; } = string.Empty; } /// /// 到账导出 DTO。 /// public sealed class FinanceSettlementExportDto { /// /// 文件名。 /// public string FileName { get; set; } = string.Empty; /// /// 文件内容 Base64。 /// public string FileContentBase64 { get; set; } = string.Empty; /// /// 导出总数。 /// public int TotalCount { get; set; } }