31 lines
735 B
C#
31 lines
735 B
C#
using MediatR;
|
||
using TakeoutSaaS.Application.App.Tenants.Dto;
|
||
|
||
namespace TakeoutSaaS.Application.App.Tenants.Commands;
|
||
|
||
/// <summary>
|
||
/// 标记租户账单已支付命令。
|
||
/// </summary>
|
||
public sealed record MarkTenantBillingPaidCommand : IRequest<TenantBillingDto?>
|
||
{
|
||
/// <summary>
|
||
/// 租户 ID(雪花算法)。
|
||
/// </summary>
|
||
public long TenantId { get; init; }
|
||
|
||
/// <summary>
|
||
/// 账单 ID。
|
||
/// </summary>
|
||
public long BillingId { get; init; }
|
||
|
||
/// <summary>
|
||
/// 本次支付金额。
|
||
/// </summary>
|
||
public decimal AmountPaid { get; init; }
|
||
|
||
/// <summary>
|
||
/// 支付时间(UTC)。
|
||
/// </summary>
|
||
public DateTime PaidAt { get; init; } = DateTime.UtcNow;
|
||
}
|