Add Status and Message columns to entity mapping

Added Status and Message properties to the entity configuration in RecDbContext.cs, mapping them to the STATUS and MESSAGE database columns. This allows the entity to store and retrieve these additional fields.
This commit is contained in:
2025-12-12 01:28:29 +01:00
parent 134a808633
commit d932fb522c

View File

@@ -131,6 +131,8 @@ public class RecDbContext(DbContextOptions<RecDbContext> options) : DbContext(op
.ValueGeneratedOnAdd();
b.Property(e => e.ActionId).HasColumnName("ACTION_ID");
b.Property(e => e.Status).HasColumnName("STATUS");
b.Property(e => e.Message).HasColumnName("MESSAGE");
b.Property(e => e.Header).HasColumnName("RESULT_HEADER");
b.Property(e => e.Body).HasColumnName("RESULT_BODY");
b.Property(e => e.AddedWho).HasColumnName("ADDED_WHO");