add entity mapping.