hi
One way is a good approach. You can use
GUID? UserId
in your module.
You mean just define a property UserId
in my module without any relation? or define an entity replica to IdentityUser
entity and connect my Service
entity to it?
I'm building an app using the micro-service template.
I have an entity called Service
in my microservice project, this entity has some navigation properties related to Identity entities (Owner
which should relate to IdentityUser
entity, and Department
which should relate to OrganizationUnit
entity).
What is the best way to define this relation?
I searched some topics and read the docs:
UserLookupService
(defined in Volo.Abp.Users
). OrganizationUnit
doesn't.