fix: update migration seeding condition to check for PrimaryColor instead of TenantColor

This commit is contained in:
MarcWieland
2026-06-26 23:50:03 +02:00
parent e2e57143b8
commit f47b4d86ba
9 changed files with 1090 additions and 2 deletions
+29
View File
@@ -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; }
}
}