Files
LeaJobTrackerWebApp/Desktop/hallo/LEA/ViewModels/DashboardViewModel.cs
younes elhaddoury bb13759af4 hallo
2025-09-17 10:28:02 +02:00

28 lines
701 B
C#

using System.Collections.Generic;
using LEA.Models;
namespace LEA.ViewModels;
public class DashboardViewModel
{
public bool IsAuthenticated { get; set; }
public string? FullName { get; set; }
public int TotalApplications { get; set; }
public int AppliedCount { get; set; }
public int InterviewCount { get; set; }
public int OfferCount { get; set; }
public int RejectedCount { get; set; }
public IEnumerable<Application> RecentApplications { get; set; } = new List<Application>();
public IList<MonthlyApplicationStat> MonthlyApplications { get; set; } = new List<MonthlyApplicationStat>();
}
public record MonthlyApplicationStat(string Label, int Count);