using System.Text.Json.Serialization; using TakeoutSaaS.Domain.Tenants.Enums; using TakeoutSaaS.Shared.Abstractions.Serialization; namespace TakeoutSaaS.Application.App.Tenants.Dto; /// /// 租户入住进度 DTO。 /// public sealed class TenantProgressDto { /// /// 租户 ID。 /// [JsonConverter(typeof(SnowflakeIdJsonConverter))] public long TenantId { get; init; } /// /// 租户编码。 /// public string Code { get; init; } = string.Empty; /// /// 当前租户状态。 /// public TenantStatus Status { get; init; } /// /// 实名审核状态。 /// public TenantVerificationStatus VerificationStatus { get; init; } /// /// 当前订阅开始时间。 /// public DateTime? EffectiveFrom { get; init; } /// /// 当前订阅到期时间。 /// public DateTime? EffectiveTo { get; init; } }