App:新增 operation_logs/quota_packages/tenant_payments/tenant_quota_package_purchases 表 Identity:修正 Avatar 字段类型(varchar(256)->text),保持现有数据不变
27 lines
621 B
C#
27 lines
621 B
C#
using MediatR;
|
||
using TakeoutSaaS.Application.App.Billings.Dto;
|
||
using TakeoutSaaS.Domain.Tenants.Enums;
|
||
|
||
namespace TakeoutSaaS.Application.App.Billings.Commands;
|
||
|
||
/// <summary>
|
||
/// 更新账单状态命令。
|
||
/// </summary>
|
||
public sealed record UpdateBillStatusCommand : IRequest<BillDto?>
|
||
{
|
||
/// <summary>
|
||
/// 账单 ID(雪花算法)。
|
||
/// </summary>
|
||
public long BillId { get; init; }
|
||
|
||
/// <summary>
|
||
/// 新状态。
|
||
/// </summary>
|
||
public TenantBillingStatus Status { get; init; }
|
||
|
||
/// <summary>
|
||
/// 备注信息。
|
||
/// </summary>
|
||
public string? Notes { get; init; }
|
||
}
|