Replace imports in entity classes with single class import.