I am developing a multi-tenant JobBoard Application using DDD approach. I have read to a great extent both the blue and red books. I have also read many articles on DDD online. However, I have not seen any easy-to-comprehend example on the implementation of the Identity and Access bounded context in this regard.
My application structure looks like this:
A tenant creates a JobBoard. A job board (which belongs to a tenant) has two users: Employer and Job Seeker.
I have two bounded context namely: Identity and JobBoard.
My question is what would be the best way to implement the Employer and JobSeeker User?
Should I have both the Employer and JobSeeker as entities (Aggregates) within the Identity bounded context or
Should I have a User Entity (Aggregate) within the Identity Bounded context and have both Employer and JobSeeker as Role types of a Role Value Object which will be an attribute of the User Class.
Thanks.