Attendance model created