fixed type of isPreferred for EntityRead Service CodeDTO