I have 3 classes, Team
, Game
and Round
.
Game
contains a list of Teams
.
Round
contains a list of Game
.
I'm going to create multiple objects from each class.
Should I create another classes for this like which contain a list of each object:
GameRepository
TeamRepository
RoundRepository
Or should I just keep the collections in their own classes?
Game
as an entity? Then yes. Do you just happen to have lists ofTeam
s once in a while? Then probably no.