Mapping single entities and database tables