New answers tagged


In domain driven design, the "entity" is the core business object which contains both data and related business logic. In your example, the combination of PersonModel and PersonService is the entity (I would just call it Person). What you call PersonEntity is an implementation detail of the DAO/repository. It is not part of your domain, and you may not have ...

Top 50 recent answers are included