EN
We characterize affine mappings on the unit disk and on rectangles by module conditions. The main result generalizes the classic Schwarz lemma. As an application, we give a sufficient condition for a K-quasiconformal mapping on a Riemann surface to be a Teichmüller mapping.