Add AttendanceCode entity and code to generate unique daily code