using MediatR; using TakeoutSaaS.Application.App.QuotaPackages.Dto; using TakeoutSaaS.Domain.Tenants.Enums; namespace TakeoutSaaS.Application.App.QuotaPackages.Commands; /// /// 更新配额包命令。 /// public sealed record UpdateQuotaPackageCommand : IRequest { /// /// 配额包 ID。 /// public long QuotaPackageId { get; init; } /// /// 配额包名称。 /// public string Name { get; init; } = string.Empty; /// /// 配额类型。 /// public TenantQuotaType QuotaType { get; init; } /// /// 配额数值。 /// public decimal QuotaValue { get; init; } /// /// 价格。 /// public decimal Price { get; init; } /// /// 是否上架。 /// public bool IsActive { get; init; } = true; /// /// 排序。 /// public int SortOrder { get; init; } = 0; /// /// 描述。 /// public string? Description { get; init; } }