feat: add recommended courses and quiz multiple attempts

- Add is_recommended field to Course model
- Add allow_multiple_attempts field to Quiz model
- Create RecommendedCoursesController for admin management
  - List all approved courses
  - Get course by ID
  - Toggle recommendation status
- Add is_recommended filter to CoursesService.ListCourses
- Add allow_multiple_attempts to quiz update and response types
- Update ChaptersLessonService.updateQuiz to support allow_multiple_attempts
This commit is contained in:
JakkrapartXD 2026-02-11 13:49:43 +07:00
parent 623f797763
commit f7330a7b27
17 changed files with 3963 additions and 5 deletions

4
.agent/workflows/s.md Normal file
View file

@ -0,0 +1,4 @@
---
description:
---