A mathematical model of COVID-19 transmission between frontliners and the general public