Text this: Phenomenological XXZ model for the competition between superconductivity and charge order in cuprates