Hi I am trying to do DDD on a simple cluster of classes.
For an example.
I have channels and lenders.
Channels = Channel A, Channel B Lenders = Bank A, Bank B, Bank C
Channel A has got Bank A, B Channel B has got Bank B, C
How would I design my aggregate root in this case?
Should the aggregate id be Bank Specific? or should it be Channel Specific?
In my other aggregates, I would only ever want to know if it is ChannelA-BankA or ChannelB-BankC, aka one unique Id.
The way I see it, I can make Channel the aggregate root entity, or Bank the aggregate root entity, it will not make a difference? They are a 1 to 1 relationship.
Or should I create a top level class to be the root and references Channel and Bank?
Any advice?