A two-dimensional model with discrete general coordinate-invariance