Teacher gets raped in class