create class ExternelId
make a test for ExternalIds
align entities