Integral Domain Criterion for $\mathbb{Z}/n\mathbb{Z}$