SHA256
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:
@@ -11,11 +11,13 @@ public partial class GuestLogContext : DbContext
|
||||
{ }
|
||||
|
||||
public DbSet<GuestDocument> GuestDocuments { get; set; }
|
||||
public DbSet<StayEntry> StayEntries { get; set; }
|
||||
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
modelBuilder.ApplyConfiguration<GuestDocument>(new GuestDocumentEntityConfig());
|
||||
modelBuilder.ApplyConfiguration<StayEntry>(new StayEntryEntityConfig());
|
||||
|
||||
OnModelCreatingPartial(modelBuilder);
|
||||
base.OnModelCreating(modelBuilder);
|
||||
|
||||
Reference in New Issue
Block a user