How to fix/mate the rotational axis of a part?

Hi

I'm trying to rotate a simple part like a basic rectangular block. I have added an axis of rotation.

How should the axis be fixed in order to allow rotation of the block about the axis in an assembly?

Thanks

SolidworksAssemblies