Finished Settings page

This commit is contained in:
2025-11-12 17:06:14 +01:00
parent a608f98497
commit e0bf95060a
38 changed files with 675 additions and 34 deletions

View File

@@ -0,0 +1,21 @@
using System.ComponentModel.DataAnnotations;
namespace WorkTime.Models;
public sealed class TimeEntry {
[Key]
public Guid Id { get; init; } = Guid.CreateVersion7();
public required EntryType Type { get; init; }
public required DateTime Timestamp { get; set; }
}
public enum EntryType {
Login,
LoginTrip,
LoginHome,
Logout,
LogoutTrip,
LogoutHome
}