hallo
This commit is contained in:
27
Desktop/hallo/LEA/ViewModels/DashboardViewModel.cs
Normal file
27
Desktop/hallo/LEA/ViewModels/DashboardViewModel.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
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);
|
||||
Reference in New Issue
Block a user