feat(API): 복리후생비 상세 API 추가 (/welfare/detail)

- WelfareService: getDetail() 메서드 및 헬퍼 메서드 추가
  - getAccountBalance(), getMonthlyUsageTrend()
  - getCategoryDistribution(), getTransactions()
  - getQuarterlyStatus()
- WelfareController: detail() 액션 추가
- routes/api.php: /welfare/detail 라우트 등록
- Swagger: WelfareDetailResponse 및 관련 스키마 7개 추가

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-01-22 22:35:20 +09:00
parent 857192e8ac
commit 161b353b1c
4 changed files with 518 additions and 6 deletions

View File

@@ -648,6 +648,7 @@
// Welfare API (CEO 대시보드 복리후생비 현황)
Route::get('/welfare/summary', [WelfareController::class, 'summary'])->name('v1.welfare.summary');
Route::get('/welfare/detail', [WelfareController::class, 'detail'])->name('v1.welfare.detail');
// Plan API (요금제 관리)
Route::prefix('plans')->group(function () {