import express from 'express';
import { wrapAsync } from '@/api/http/request';
import * as staff_attendance from '@/api/controllers/staff_attendance.controller';

const router = express.Router();

router.get('/records', wrapAsync(staff_attendance.listRecords));
router.get('/summary', wrapAsync(staff_attendance.summary));

export default router;
