문제

I am practicing and trying to implement DDD(Domain driven design)in a project.I am very new to DDD.My requirement is given below.

I have a project.I have multiple candidates for assigning to that project.Project has a client.

I want to identify aggregates and aggregate root. How to design the DDD using aggregates concept?

도움이 되었습니까?

해결책

Can a candidate or a client exist independently of a project? I'm guessing yes. Then none of these can be combined into an aggregate. As you progress further, you'll probably find entities that can only exist within a project - perhaps a schedule. Then you may have a project aggregate with project as the root.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top