How does the geographic location influences the social classes of ancient china?

China has a huge variety of geographic locations. Some places are on the seacoast; others are in mountains; others lie in river valleys. Which location are you asking about?