feat: [hr] 사원등록 기능 확장

- 기본정보에 주민등록번호 필드 추가
- 급여이체정보 섹션 추가 (이체은행, 예금주, 계좌번호)
- 부양가족 정보 섹션 추가 (동적 행 추가/삭제)
- 첨부파일 업로드/다운로드/삭제 기능 추가
- 은행 목록 config/banks.php 설정 파일 생성
- show 페이지 주민등록번호 뒷자리 마스킹 처리
This commit is contained in:
김보곤
2026-02-26 19:59:15 +09:00
parent 84985ceab6
commit c5d5d0c3ab
9 changed files with 739 additions and 12 deletions

View File

@@ -1048,6 +1048,11 @@
Route::get('/{id}', [\App\Http\Controllers\Api\Admin\HR\EmployeeController::class, 'show'])->name('show');
Route::put('/{id}', [\App\Http\Controllers\Api\Admin\HR\EmployeeController::class, 'update'])->name('update');
Route::delete('/{id}', [\App\Http\Controllers\Api\Admin\HR\EmployeeController::class, 'destroy'])->name('destroy');
// 첨부파일
Route::post('/{id}/files', [\App\Http\Controllers\Api\Admin\HR\EmployeeController::class, 'uploadFile'])->name('upload-file');
Route::delete('/{id}/files/{fileId}', [\App\Http\Controllers\Api\Admin\HR\EmployeeController::class, 'deleteFile'])->name('delete-file');
Route::get('/{id}/files/{fileId}/download', [\App\Http\Controllers\Api\Admin\HR\EmployeeController::class, 'downloadFile'])->name('download-file');
});
// 직급/직책 관리 API