using MediatR; using System.ComponentModel.DataAnnotations; using TakeoutSaaS.Application.App.Tenants.Dto; namespace TakeoutSaaS.Application.App.Tenants.Commands; /// /// 租户初次绑定订阅命令(默认 0 个月)。 /// public sealed record BindInitialTenantSubscriptionCommand : IRequest { /// /// 租户 ID(雪花算法)。 /// [Required] public long TenantId { get; init; } /// /// 套餐 ID。 /// [Required] public long TenantPackageId { get; init; } /// /// 是否自动续费。 /// public bool AutoRenew { get; init; } }