Create links between students, teachers and detentions
Validate uniqueness of a student at a particular date and time

Students can only go to one detention at a time.