<?php

/**
 * Attendance Module Routes
 * 
 * This file is automatically loaded by ModuleLoader.
 * Define your attendance management routes here.
 * 
 * @var RouteCollection $routes
 */

// Attendance routes
$routes->group('api/attendance', ['namespace' => 'App\Modules\Attendance\Controllers'], function ($routes) {
    $routes->post('checkin', 'AttendanceController::checkin');
    $routes->post('face/enroll', 'FaceLinkController::enroll');
    $routes->post('face/resolve', 'FaceLinkController::resolve');
    $routes->post('verify-face', 'FaceVerifyController::verify');
    $routes->get('reports', 'AttendanceReportController::index');
    $routes->get('report/schedule/(:num)', 'AttendanceReportController::scheduleReport/$1');
});
