Design: How to model / where to store relational data between classes
- by Walker
I'm trying to figure out the best design here, and I can see multiple approaches, but none that seems "right."
There are three relevant classes here: Base, TradingPost, and Resource. Each Base has a TradingPost which can offer various Resources depending on the Base's tech level.
Where is the right place to store the minimum tech level a base…