From the course: Creating Spring Boot Microservices

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

The domain model

The domain model

- [Instructor] Before we can start implementing the solution for the Explore California RESTful Web Service, we need to flesh out the domain model from the ubiquitous language. This is the terminology used by the stakeholder. A big help is to look at the Explore California's current website, specifically in the explorecalifornia.org/tours page. The primary entities are tour packages and tours. So here is a list of tour packages, which is a collection of tours, for example, Backpack Cal, California Calm, California Hotsprings, Cycle California. And then if I drill down into Backpack Cal, for example, I see Big Sur Retreat and it's three days and it's $750, and a description of it, the rating, if it's a medium, high or low, and then how many days it is. And it's also some difficulty and ease that that's what the rating is, is how difficult it is or not. And then looking at this website, I've defined the following classes. So I've defined the following classes, and I have them in this…

Contents