Shaft with bearings