China on the other hand defined your government benefits and the jobs you may get based on where you were born. People born rurally have to fake documents to work illegally in cities.
India has a ton of problems, but china is much worse when it comes to human rights. It's not even right to compare the two countries. India is a flawed somewhat liberal democracy (especially for the region of the world, India is a shining beacon on a hill surrounded by repressive regimes), while China is essentially a dictatorship