feat: 급여 관리 API 구현 (Phase 2: 3.2)

- 마이그레이션: payrolls, payroll_settings 테이블 생성
- 모델: Payroll (상태관리 draft→confirmed→paid), PayrollSetting
- 서비스: PayrollService (4대보험 계산, 급여명세서)
- 컨트롤러: PayrollController + FormRequest 5개
- API 엔드포인트 13개:
  - 급여 CRUD + confirm/pay/payslip
  - 일괄 계산/확정 (calculate, bulk-confirm)
  - 설정 관리 (settings/payroll)
- Swagger 문서: PayrollApi.php
- i18n: error.php, message.php, validation.php 키 추가
This commit is contained in:
2025-12-18 10:56:16 +09:00
parent b43796a558
commit 7089dd1e46
16 changed files with 2350 additions and 0 deletions

View File

@@ -269,4 +269,23 @@
'withdrawal' => '출금',
'purchase' => '매입',
],
// 급여 관리
'payroll' => [
'fetched' => '급여를 조회했습니다.',
'created' => '급여가 등록되었습니다.',
'updated' => '급여가 수정되었습니다.',
'deleted' => '급여가 삭제되었습니다.',
'confirmed' => '급여가 확정되었습니다.',
'paid' => '급여가 지급 처리되었습니다.',
'bulk_confirmed' => '급여가 일괄 확정되었습니다.',
'calculated' => '급여가 일괄 계산되었습니다.',
'payslip_fetched' => '급여명세서를 조회했습니다.',
],
// 급여 설정 관리
'payroll_setting' => [
'fetched' => '급여 설정을 조회했습니다.',
'updated' => '급여 설정이 수정되었습니다.',
],
];