They were normal employees as far as we know now. Nile agriculture was based on the predictable flooding of the Nile which meant predictable times of the year when all those laborers had nothing to do. But if you worked on the pyramids or other projects during the off season would could get free food and/or pay.