Added Invite, Notification and Activity

This commit is contained in:
2026-08-20 13:37:24 +02:00
parent f3c405fca2
commit 5ab977e335
33 changed files with 3259 additions and 393 deletions
@@ -10,7 +10,6 @@ public sealed class Programme : IEntityTypeConfiguration<Entities.Programme>
builder.HasKey(pk => pk.Id);
builder.Property(f => f.PortfolioId).IsRequired();
builder.Property(f => f.InstrumentId).IsRequired();
builder.Property(f => f.OwnedBy).IsRequired();
builder.Property(f => f.CreatedBy).IsRequired();
builder.Property(f => f.UpdatedBy).IsRequired(false);
@@ -25,12 +24,6 @@ public sealed class Programme : IEntityTypeConfiguration<Entities.Programme>
.IsRequired()
.OnDelete(DeleteBehavior.NoAction);
builder.HasOne(f => f.Instrument)
.WithMany(f => f.Programmes)
.HasForeignKey(fk => fk.InstrumentId)
.IsRequired()
.OnDelete(DeleteBehavior.NoAction);
builder.HasOne(f => f.Creator)
.WithMany()
.HasForeignKey(fk => fk.CreatedBy)