App:新增 operation_logs/quota_packages/tenant_payments/tenant_quota_package_purchases 表 Identity:修正 Avatar 字段类型(varchar(256)->text),保持现有数据不变
43 lines
910 B
C#
43 lines
910 B
C#
namespace TakeoutSaaS.Application.App.Statistics.Dto;
|
|
|
|
/// <summary>
|
|
/// 订阅概览。
|
|
/// </summary>
|
|
public record SubscriptionOverviewDto
|
|
{
|
|
/// <summary>
|
|
/// 活跃订阅总数。
|
|
/// </summary>
|
|
public int TotalActive { get; init; }
|
|
|
|
/// <summary>
|
|
/// 7天内到期数量。
|
|
/// </summary>
|
|
public int ExpiringIn7Days { get; init; }
|
|
|
|
/// <summary>
|
|
/// 3天内到期数量。
|
|
/// </summary>
|
|
public int ExpiringIn3Days { get; init; }
|
|
|
|
/// <summary>
|
|
/// 1天内到期数量。
|
|
/// </summary>
|
|
public int ExpiringIn1Day { get; init; }
|
|
|
|
/// <summary>
|
|
/// 已过期数量。
|
|
/// </summary>
|
|
public int Expired { get; init; }
|
|
|
|
/// <summary>
|
|
/// 待激活数量。
|
|
/// </summary>
|
|
public int Pending { get; init; }
|
|
|
|
/// <summary>
|
|
/// 已暂停数量。
|
|
/// </summary>
|
|
public int Suspended { get; init; }
|
|
}
|