The aim of this video is to use an interface, or set of interfaces, to implement the entity in your table reservation system.
- [Instructor] In this section, till now,…we have covered the fundamentals of Domain Driven Design,…where we covered the building blocks and a strategic…and design principles, including domain model.…In the last part of this section,…we'll cover the sample domain model,…where we will implement the Entity implementation,…Service implementation, and Repository implementation.…So let's have a look at the first one,…which is entities, so as a part of entity,…we'll have two main classes: restaurant and table,…so as you can see, our top level class is…entity and base entity is our second level class…and restaurant and tables; these are the two classes…which are our main entity classes inherit the base entity.…
Now, first we'll write the entity abstract class.…Then, we'll write the base entity abstract class…and at the end, we'll write the implementation of…restaurant and table entities, so let's start entity.…In entity, we'll have two main members.…
ID and name.…So, first, since we are planning to have the abstract class,…
Note: To get the best results from this course, you should be familiar with the Spring Framework.
This course was created and produced by Packt Publishing. We are honored to host this training in our library.
- Writing sample tests
- Domain-driven design
- Strategic design
- Wrapping controls and pages
- Complex cases for pages and elements
- Testing microservices