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
24 lines
688 B
C#
24 lines
688 B
C#
namespace WorkTracker.Domain;
|
|
|
|
public sealed class AppSettingsDocument
|
|
{
|
|
public string Id { get; set; } = "global";
|
|
|
|
public decimal StandardWorkHoursPerDay { get; set; } = 8m;
|
|
|
|
public decimal HourlyGrossRate { get; set; } = 17.5m;
|
|
|
|
public decimal ProfitabilityCoefficient { get; set; } = 0.67m;
|
|
|
|
public decimal InpsRate { get; set; } = 0.2607m;
|
|
|
|
public decimal SubstituteTaxRate { get; set; } = 0.15m;
|
|
|
|
public string Currency { get; set; } = "EUR";
|
|
|
|
public string Locale { get; set; } = "it-IT";
|
|
|
|
public DateTimeOffset CreatedAtUtc { get; set; } = DateTimeOffset.UtcNow;
|
|
|
|
public DateTimeOffset UpdatedAtUtc { get; set; } = DateTimeOffset.UtcNow;
|
|
}
|