refactor(ProfileObjState): Benutzer-Eigenschaft hinzugefügt, abhängig von Fremdschlüssel UsrId
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
using DigitalData.Core.Abstractions;
|
using DigitalData.Core.Abstractions;
|
||||||
|
using DigitalData.UserManager.Domain.Entities;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
@@ -47,6 +48,9 @@ namespace WorkFlow.Domain.Entities
|
|||||||
[ForeignKey("ProfileId")]
|
[ForeignKey("ProfileId")]
|
||||||
public Profile? Profile { get; init; } = null;
|
public Profile? Profile { get; init; } = null;
|
||||||
|
|
||||||
|
[ForeignKey("UsrId")]
|
||||||
|
public User? User { get; init; } = null;
|
||||||
|
|
||||||
[ForeignKey("StateId")]
|
[ForeignKey("StateId")]
|
||||||
public State? State { get; init; } = null;
|
public State? State { get; init; } = null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user