fix: update migration seeding condition to check for PrimaryColor instead of TenantColor
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace timetracker.Shared
|
||||
{
|
||||
public class DashboardStatsVm
|
||||
{
|
||||
public TimeSpan? EarliestStart { get; set; }
|
||||
public TimeSpan? LatestEnd { get; set; }
|
||||
public TimeSpan AverageBreak { get; set; }
|
||||
public int CurrentStreak { get; set; }
|
||||
public int LongestStreak { get; set; }
|
||||
}
|
||||
|
||||
public class DashboardChartDataVm
|
||||
{
|
||||
public List<MonthlyOvertimeVm> MonthlyOvertime { get; set; } = new();
|
||||
public int WorkDaysCount { get; set; }
|
||||
public int VacationDaysCount { get; set; }
|
||||
public int SickDaysCount { get; set; }
|
||||
public int PublicHolidaysCount { get; set; }
|
||||
}
|
||||
|
||||
public class MonthlyOvertimeVm
|
||||
{
|
||||
public string MonthName { get; set; } = "";
|
||||
public double OvertimeHours { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user