Save the year group Id and home class Id for instance student.