feat(ProfControlsTf): User Entität mit UsrId-foreign-key hinzugefügt.
- UserManager.Domain baget-package hinzugefügt
This commit is contained in:
parent
547b8f0a01
commit
dd15b520c1
@ -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;
|
||||
}
|
||||
}
|
||||
@ -6,4 +6,8 @@
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="UserManager.Domain" Version="2.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user