refactor(DocumentReceiverElement): make AddedWhen nullable and add ChangedWho-property

This commit is contained in:
2025-09-08 15:00:02 +02:00
parent 442b7f7451
commit f41f26b810
11 changed files with 38 additions and 22 deletions

View File

@@ -116,9 +116,9 @@ public class EGDbContext : DbContext, IUserManagerDbContext, IMailDbContext
.HasForeignKey(ed => ed.EnvelopeId);
modelBuilder.Entity<Envelope>()
.HasMany(e => e.History)
.HasMany(e => e.Histories)
.WithOne()
.HasForeignKey(eh => eh.EnvelopeId);
.HasForeignKey(hist => hist.EnvelopeId);
#endregion Envelope
#region Receiver