App:新增 operation_logs/quota_packages/tenant_payments/tenant_quota_package_purchases 表 Identity:修正 Avatar 字段类型(varchar(256)->text),保持现有数据不变
31 lines
675 B
C#
31 lines
675 B
C#
using MediatR;
|
||
using TakeoutSaaS.Application.App.Billings.Dto;
|
||
|
||
namespace TakeoutSaaS.Application.App.Billings.Commands;
|
||
|
||
/// <summary>
|
||
/// 创建账单命令。
|
||
/// </summary>
|
||
public sealed record CreateBillCommand : IRequest<BillDto>
|
||
{
|
||
/// <summary>
|
||
/// 租户 ID(雪花算法)。
|
||
/// </summary>
|
||
public long TenantId { get; init; }
|
||
|
||
/// <summary>
|
||
/// 应付金额。
|
||
/// </summary>
|
||
public decimal AmountDue { get; init; }
|
||
|
||
/// <summary>
|
||
/// 到期日(UTC)。
|
||
/// </summary>
|
||
public DateTime DueDate { get; init; }
|
||
|
||
/// <summary>
|
||
/// 备注信息。
|
||
/// </summary>
|
||
public string? Notes { get; init; }
|
||
}
|