Add CalendarEventDocument and CalendarEventType enum for event management Update WorkDayDocument to include WorkUnitDocument and CalendarEventDocument lists Enhance CouchbaseLiteWorkDayService with methods for managing WorkUnit and CalendarEvent Revise MonthlySummaryModel to track preview worked hours and counted work units Improve CSS for calendar view, including responsive design and new item styles
36 lines
784 B
C#
36 lines
784 B
C#
namespace WorkTracker.Domain;
|
|
|
|
public sealed class MonthlySummaryModel
|
|
{
|
|
public int Year { get; set; }
|
|
|
|
public int Month { get; set; }
|
|
|
|
public decimal TotalWorkedHours { get; set; }
|
|
|
|
public decimal TotalPreviewWorkedHours { get; set; }
|
|
|
|
public int CountedWorkUnits { get; set; }
|
|
|
|
public int PreviewWorkUnits { get; set; }
|
|
|
|
public int OfficeDays { get; set; }
|
|
|
|
public int HomeDays { get; set; }
|
|
|
|
public int HolidayDays { get; set; }
|
|
|
|
public int SickDays { get; set; }
|
|
|
|
public int DaysOff { get; set; }
|
|
|
|
public int ClosureDays { get; set; }
|
|
|
|
public decimal TotalHoursOff { get; set; }
|
|
|
|
public decimal TotalGrossIncome { get; set; }
|
|
|
|
public decimal TotalNetIncome { get; set; }
|
|
|
|
public int TotalWorkingDays { get; set; }
|
|
}
|