Added base for ORM entities and entity type enum.