Once collectivization takes place, workers' salaries would be determined in democratic organizations based on the amount of time they contributed to production.
However, there are severe restrictions on when deductions from salary can be made, even by agreement with the employee, so it is best to have advice before applying salary deductions.