Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top