feat: füge Spaltenattribute zur Klasse ProfileObject hinzu
This commit is contained in:
parent
bf5566cefc
commit
b7f9efa9b6
@ -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; }
|
||||
}
|
||||
@ -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; }
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user