According to the Fairwork Ombudsman: 

Where an employer directs a full-time or part-time employee not to work due to workplace health and safety risks but the employee is ready, willing and able to work, the employee is generally entitled to be paid while the direction applies. However, if an employee cannot work because they are subject to a government order requiring them to self-quarantine, the employee is not ordinarily entitled to be paid (unless they use leave entitlements).

More information can be found on the Fairwork Ombudsman website. Click here for more information