refactor(ProfileObjState): Benutzer-Eigenschaft hinzugefügt, abhängig von Fremdschlüssel UsrId

This commit is contained in:
Developer 02 2024-10-23 13:51:17 +02:00
parent 650b23def9
commit 8ff6bbf93f

View File

@ -1,4 +1,5 @@
using DigitalData.Core.Abstractions;
using DigitalData.UserManager.Domain.Entities;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
@ -47,6 +48,9 @@ namespace WorkFlow.Domain.Entities
[ForeignKey("ProfileId")]
public Profile? Profile { get; init; } = null;
[ForeignKey("UsrId")]
public User? User { get; init; } = null;
[ForeignKey("StateId")]
public State? State { get; init; } = null;
}