Hi Игор,

Thanks for your response. After writing the article I’ve got a lot of similar questions: How to model things? And how to start coding? What are value-types? And what should be modeled as an entity? And where do you start?

First, start event storming. The event-storm reveals the entities and the methods they should have. These entities will have properties, and usually, there are constraints to those properties. Create value types to validate those.

I realize this answer might be confusing, too. I can’t answer your question in a short post. I hope I got your question right. If you want, I can explain it in another article?

Cheers

software developer / consultant @ vxcompany.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store