A tiny library pattern for entity JPA classes.