28 lines
701 B
C#
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);
|