Skip to content

Ask HN: How should I design flexible domain model

1 pointtemplarchampdiscuss
On HN

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.

Comments

No comments yet.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.