doctrine entities and config