We consider the three-dimensional primitive equations of the atmosphere with humidity and saturation associated with suitable boundary conditions. These equations have been shown to lead to well-posed problem producing a continuous semigroup despite the discontinuities due to the change of phase between vapor water and liquid water. In this article, we aim to show the existence of a global attractor for a model problem.