29 lines
803 B
C#
29 lines
803 B
C#
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace WorkTracker.Domain;
|
|
|
|
public sealed class AppSettingsDocument
|
|
{
|
|
[BsonId]
|
|
public string Id { get; set; } = "global";
|
|
|
|
public decimal StandardWorkHoursPerDay { get; set; } = 8m;
|
|
|
|
public decimal LunchBreakHours { get; set; } = 1m;
|
|
|
|
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;
|
|
}
|