At present, teachers are not allowed to beat students, only oral education is allowed. I don't think teachers can punish students. What did the students do in time? Discipline is very important. Oral education and self-criticism can be given appropriately. Things that are particularly out of line should be handled by the school principal. Expelled or suspended.
It is wrong for teachers to punish students physically. Few teachers punish corporal punishment now. If a teacher hits a student, it is also very, very pro-corporal punishment. For example, send students to stand guard or punish them for sweeping the floor and doing labor. Teachers don't hit students.
Therefore, the whole society is opposed to this kind of teacher's behavior of beating students. Parents won't understand.