From b7f9efa9b647977dd65d250ea166390521501a5e Mon Sep 17 00:00:00 2001 From: TekH Date: Fri, 25 Jul 2025 16:48:29 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20f=C3=BCge=20Spaltenattribute=20zur=20Kl?= =?UTF-8?q?asse=20ProfileObject=20hinzu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/WorkFlow.Domain/Entities/ProfileObjects.cs | 11 ++++++++++- src/WorkFlow.Infrastructure/WFDBContext.cs | 2 ++ 2 files changed, 12 insertions(+), 1 deletion(-) 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; }