GuestLog - StayEntry - Initial Implementation

- Added new entity "StayEntry" to log stays of guests.
- Added pages for StayEntry management (List and creation).
- New DataList for PaymentMethods.
- Other general changes and improvements.
This commit is contained in:
2026-08-15 19:33:32 +02:00
parent ec7efd867b
commit 6dc2d2426b
29 changed files with 1348 additions and 30 deletions
@@ -0,0 +1,24 @@
namespace Somnia.GuestLog.Models.Entities;
public class StayEntry : BaseEntity
{
public long Id { get; set; }
public required DateTime DateIn { get; set; }
public required DateTime DateOut { get; set; }
public required int RoomCount { get; set; }
public string? RoomNumber { get; set; }
public required string PaymentMethod { get; set; }
public virtual ICollection<GuestDocument> GuestDocuments { get; } = [];
//Generated Properties.
public required DateTime CreateTime { get; set; }
public required DateTime UpdateTime { get; set; }
public override string GetFullKey() => $"{Id}";
}