Hacker News new | ask | show | jobs
Ask HN: How should I design flexible domain model
1 points by templarchamp 1544 days ago
I want to build a domain model where the model elements/fields' relationship depends on categories of requests. Let me explain: If requests are from CompanyA then Order Title is same as the line items, and the line item names are parameters. Also depending on the type of Title category, the average cost of items are weighted differently.