Existence of a global attractor governed by differential hemivariational inequalities with parabolic type and its applications