using CommunityToolkit.Mvvm.ComponentModel; namespace cfs_tracker.ViewModels; public partial class MonthCellViewModel : ObservableObject { public DateTime Date { get; init; } public string DayNumberText { get; init; } = string.Empty; public bool IsCurrentMonth { get; init; } public bool IsToday { get; init; } public bool HasEntries { get; init; } public string AverageStateText { get; init; } = string.Empty; public Color StateColor { get; init; } = Colors.Transparent; public Color TextColor { get; init; } = Colors.White; public Color BorderColor { get; init; } = Colors.Transparent; public bool IsPlaceholder => !IsCurrentMonth; public bool ShowDayNumber => IsCurrentMonth; public bool ShowAverage => IsCurrentMonth && HasEntries; }