One record per person.
Each employee has a code, designation, joining date and, when they go, a leaving date; their PAN; and the state they work in, which decides their professional tax. Their salary is set as basic, HRA and other allowances, with the TDS to deduct each month.
Payroll reads these records directly, so a raise or a new joiner shows up in the next month’s pay.
