LeaveBalanceController
| Base path | /api/leave-balances |
| Module | HR |
| Endpoints | 1 |
| OpenAPI tag | Leave Balances |
| Source | backend/src/main/java/com/motorph/payroll/controller/LeaveBalanceController.java |
Endpoints
| Method | Path | Requires | Handler |
|---|---|---|---|
GET | /api/leave-balances/me | employee.leave.balance.view | listMine() |
Call chain
Dependencies
Constructor-injected by Lombok's @RequiredArgsConstructor: LeaveBalanceService.
Tables reached
| Entity | Table | Tenant-scoped |
|---|---|---|
| Employee | employee | Yes |
| LeaveBalance | leave_balance | Yes |
| LeaveRequestType | leave_request_type | Yes |
Generated page
This page is rebuilt from the source on every docs build by docs-site/scripts/gen-code-wiki.mjs. Editing it has no effect — change the code, or, if what you want to say is prose, write it in docs/.