All of your staff have a daily wage that is paid at the end of their shift. If you don’t have enough gold to pay their wages they will resign and never come back again.

Remember that the recruitment process in medieval times is complicated since there is no LinkedIn or email. It will cost you an additional gold to find and hire a new staff member again.