All Questions
3 questions
1
vote
0
answers
1k
views
Where to place the Value Object code that is shared by more than one Aggregate Root?
I have 2 Aggregate Root:
One is the Lessor user, and the other is the Lessee user.
class Lessor extends AggregateRoot {}
class Lessee extends AggregateRoot {}
Each of these Aggregate Roots has a ...
1
vote
2
answers
2k
views
When to model an aggregate's entities as part of a value object?
I've read a lot about Domain Driven Design including books from Eric Evans and Vaughn Vernon. So I am familiar with the concepts Aggregate Root, Entity, and Value Object.
But while I was modeling ...
1
vote
1
answer
2k
views
How to determine aggregates when entities are shared?
So I'm trying to figure out exactly what my aggregates/aggregate roots are in my structure, and can't seem to wrap my head around it.
Database contains the following tables:
SALESGROUP
ID
...