Scaffolded project
This commit is contained in:
commit
17a561094a
123 changed files with 64313 additions and 0 deletions
29
Domain/AppSettingsDocument.cs
Normal file
29
Domain/AppSettingsDocument.cs
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
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;
|
||||
}
|
||||
12
Domain/DayType.cs
Normal file
12
Domain/DayType.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
namespace WorkTracker.Domain;
|
||||
|
||||
public enum DayType
|
||||
{
|
||||
None = 0,
|
||||
Home = 1,
|
||||
Work = 2,
|
||||
Closure = 3,
|
||||
Illness = 4,
|
||||
DayOff = 5,
|
||||
Holiday = 6
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue