feat: 套餐使用统计增加MRR与ARR

This commit is contained in:
2025-12-15 21:29:54 +08:00
parent e39a42b74c
commit 7ff66cd8e7
2 changed files with 36 additions and 12 deletions

View File

@@ -24,5 +24,14 @@ public sealed class TenantPackageUsageDto
/// 历史总订阅记录数量(不含软删)。
/// </summary>
public int TotalSubscriptionCount { get; init; }
}
/// <summary>
/// MRRMonthly Recurring Revenue粗看按“当前有效订阅数 × 套餐月付等效价”估算。
/// </summary>
public decimal Mrr { get; init; }
/// <summary>
/// ARRAnnual Recurring Revenue粗看按“当前有效订阅数 × 套餐年付等效价”估算。
/// </summary>
public decimal Arr { get; init; }
}