using MediatR; using TakeoutSaaS.Application.App.Billings.Dto; using TakeoutSaaS.Domain.Tenants.Enums; namespace TakeoutSaaS.Application.App.Billings.Commands; /// /// 一键确认收款命令(记录支付 + 立即审核通过)。 /// public sealed record ConfirmPaymentCommand : IRequest { /// /// 账单 ID(雪花算法)。 /// public long BillingId { get; init; } /// /// 支付金额。 /// public decimal Amount { get; init; } /// /// 支付方式。 /// public TenantPaymentMethod Method { get; init; } /// /// 交易号。 /// public string? TransactionNo { get; init; } /// /// 支付凭证 URL。 /// public string? ProofUrl { get; init; } /// /// 备注信息。 /// public string? Notes { get; init; } }