An example used in a software design course of how to implement a domain model and JPA persistence according to the DDD principles