feat(ProfControlsTf): User Entität mit UsrId-foreign-key hinzugefügt.

- UserManager.Domain baget-package hinzugefügt
This commit is contained in:
Developer 02 2024-10-23 10:20:59 +02:00
parent 547b8f0a01
commit dd15b520c1
2 changed files with 9 additions and 1 deletions

View File

@ -1,4 +1,5 @@
using System.ComponentModel.DataAnnotations;
using DigitalData.UserManager.Domain.Entities;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace WorkFlow.Domain.Entities
@ -59,5 +60,8 @@ namespace WorkFlow.Domain.Entities
[ForeignKey("MwfProfileId")]
public Profile? MwfProfile { get; init; } = default;
[ForeignKey("UsrId")]
public User? User { get; set; } = default;
}
}

View File

@ -6,4 +6,8 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="UserManager.Domain" Version="2.0.0" />
</ItemGroup>
</Project>