first commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
namespace Fitness_core_BE.DTOs.Stats
|
||||
{
|
||||
public class ClientStatSummaryDto
|
||||
{
|
||||
public int TotalCustomerCount { get; set; }
|
||||
public int ThisMonthCustomerCount { get; set; }
|
||||
public int LastMonthCustomerCount { get; set; }
|
||||
public decimal CustomerGrowthPercentage { get; set; }
|
||||
public decimal ThisMonthRevenue { get; set; }
|
||||
public decimal LastMonthRevenue { get; set; }
|
||||
public decimal RevenueGrowthPercentage { get; set; }
|
||||
public decimal TotalRevenue { get; set; }
|
||||
public int OverdueCount { get; set; }
|
||||
public int ExpiringWithin7DaysCount { get; set; }
|
||||
public int TodayPaymentsCount { get; set; }
|
||||
public decimal TodayPaymentsTotal { get; set; }
|
||||
// Muscle Beast-only pilot feature (their explicit request) -- gated server-side so the
|
||||
// frontend never needs to know any gym's ClientId to decide whether to show it.
|
||||
public bool ShowTodayPayments { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace Fitness_core_BE.DTOs.Stats
|
||||
{
|
||||
public class MonthlyRevenueStat
|
||||
{
|
||||
public int Year { get; set; }
|
||||
public int Month { get; set; }
|
||||
public string MonthLabel { get; set; }
|
||||
public decimal Revenue { get; set; }
|
||||
public int NewMemberCount { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user