llTheBlankll / attendance-system-api-springboot

This project is an Attendance System API built using Spring Boot, WebSocket, and JWT Authentication. The system provides a robust solution for tracking and managing attendance records, with support for real-time updates through WebSocket communication. This attendance is based on the education system of the Philippines
GNU General Public License v3.0
5 stars 2 forks source link

Add Request Parameters that will be used for sorting data #17

Open llTheBlankll opened 3 weeks ago

llTheBlankll commented 3 weeks ago

Add Request Parameters that will be used for sorting data such as "sortBy" and "order"

llTheBlankll commented 3 weeks ago

Example:

public ResponseEntity<?> getAttendanceByStudentId(@PathVariable Long id, @RequestParam Integer page, @RequestParam Integer size, @RequestParam(defaultValue = "ASC") String sortBy, @RequestParam(defaultValue = "date") String order)