Braid group representation of the ZN model