Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
Signed-off-by: Lillie Dae <[email protected]>
  • Loading branch information
lillie-dae committed Nov 20, 2023
1 parent f1cb4e4 commit b1f6c49
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ internal class Hl7ApplicationConfigConfiguration : IEntityTypeConfiguration<Hl7A
public void Configure(EntityTypeBuilder<Hl7ApplicationConfigEntity> builder)
{
builder.HasKey(j => j.Id);
builder.Property(j => j.DataLink.Key).IsRequired();
builder.Property(j => j.DataLink.Value).IsRequired();
builder.Property(j => j.DataLink).IsRequired();
builder.Property(j => j.DataMapping).IsRequired();
builder.Property(j => j.SendingId.Key).IsRequired();
builder.Property(j => j.SendingId.Value).IsRequired();
builder.Property(j => j.SendingId).IsRequired();

builder.Ignore(p => p.Id);
}
Expand Down

0 comments on commit b1f6c49

Please sign in to comment.