From 8ff6bbf93fa64326198587ac5f231be86568fb98 Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Wed, 23 Oct 2024 13:51:17 +0200 Subject: [PATCH] =?UTF-8?q?refactor(ProfileObjState):=20Benutzer-Eigenscha?= =?UTF-8?q?ft=20hinzugef=C3=BCgt,=20abh=C3=A4ngig=20von=20Fremdschl=C3=BCs?= =?UTF-8?q?sel=20UsrId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WorkFlow.Domain/Entities/ProfileObjState.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/WorkFlow.Domain/Entities/ProfileObjState.cs b/WorkFlow.Domain/Entities/ProfileObjState.cs index 0376582..7eb038c 100644 --- a/WorkFlow.Domain/Entities/ProfileObjState.cs +++ b/WorkFlow.Domain/Entities/ProfileObjState.cs @@ -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; }