diff --git a/src/WorkFlow.Domain/Entities/ProfileObjects.cs b/src/WorkFlow.Domain/Entities/ProfileObjects.cs index fdc8326..5f16fd4 100644 --- a/src/WorkFlow.Domain/Entities/ProfileObjects.cs +++ b/src/WorkFlow.Domain/Entities/ProfileObjects.cs @@ -1,18 +1,27 @@ -namespace WorkFlow.Domain.Entities; +using System.ComponentModel.DataAnnotations.Schema; + +namespace WorkFlow.Domain.Entities; public class ProfileObject { + [Column("ObjStateID")] public int? ObjStateId { get; set; } + [Column("ObjectID")] public int? ObjectId { get; set; } + [Column("Headline1")] public string? Headline1 { get; set; } + [Column("Headline2")] public string? Headline2 { get; set; } + [Column("Subline1")] public string? Subline1 { get; set; } + [Column("Subline2")] public string? Subline2 { get; set; } + [Column("CMD_CheckIn")] public string? CmdCheckIn { get; set; } } \ No newline at end of file diff --git a/src/WorkFlow.Infrastructure/WFDBContext.cs b/src/WorkFlow.Infrastructure/WFDBContext.cs index 11f891e..752d74b 100644 --- a/src/WorkFlow.Infrastructure/WFDBContext.cs +++ b/src/WorkFlow.Infrastructure/WFDBContext.cs @@ -13,6 +13,8 @@ public class WFDBContext : DbContext, IUserManagerDbContext public DbSet ProfileControlsTFs { get; set; } public DbSet Profiles { get; set; } + + public DbSet Objects { get; set; } public DbSet ProfileObjStates { get; set; }