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

@@ -1300,7 +1300,7 @@ namespace EnvelopeGenerator.Infrastructure.Migrations
modelBuilder.Entity("EnvelopeGenerator.Domain.Entities.EnvelopeHistory", b =>
{
b.HasOne("EnvelopeGenerator.Domain.Entities.Envelope", null)
.WithMany("History")
.WithMany("Histories")
.HasForeignKey("EnvelopeId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
@@ -1360,7 +1360,7 @@ namespace EnvelopeGenerator.Infrastructure.Migrations
{
b.Navigation("Documents");
b.Navigation("History");
b.Navigation("Histories");
b.Navigation("EnvelopeReceivers");
});

View File

@@ -1297,7 +1297,7 @@ namespace EnvelopeGenerator.Infrastructure.Migrations
modelBuilder.Entity("EnvelopeGenerator.Domain.Entities.EnvelopeHistory", b =>
{
b.HasOne("EnvelopeGenerator.Domain.Entities.Envelope", null)
.WithMany("History")
.WithMany("Histories")
.HasForeignKey("EnvelopeId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
@@ -1357,7 +1357,7 @@ namespace EnvelopeGenerator.Infrastructure.Migrations
{
b.Navigation("Documents");
b.Navigation("History");
b.Navigation("Histories");
b.Navigation("EnvelopeReceivers");
});