feat: füge Spaltenattribute zur Klasse ProfileObject hinzu

This commit is contained in:
tekh 2025-07-25 16:48:29 +02:00
parent bf5566cefc
commit b7f9efa9b6
2 changed files with 12 additions and 1 deletions

View File

@ -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; }
}

View File

@ -13,6 +13,8 @@ public class WFDBContext : DbContext, IUserManagerDbContext
public DbSet<ProfileControlsTF> ProfileControlsTFs { get; set; }
public DbSet<Profile> Profiles { get; set; }
public DbSet<ProfileObject> Objects { get; set; }
public DbSet<ProfileObjState> ProfileObjStates { get; set; }