Entity mapping definition, and collections