feat: [hr] 인사관리 사원관리 Phase 1 구현

- Employee, Position 모델 생성 (tenant_user_profiles, positions 테이블)
- EmployeeService 생성 (CRUD, 통계, 필터/검색/페이지네이션)
- 뷰 컨트롤러(HR/EmployeeController) + API 컨트롤러 생성
- Blade 뷰: index(통계카드+HTMX테이블), create, edit, show, partials/table
- 라우트: web.php(/hr/employees/*), api.php(/admin/hr/employees/*)
This commit is contained in:
김보곤
2026-02-26 16:43:52 +09:00
parent b3a2ced834
commit 29ca022321
12 changed files with 1533 additions and 0 deletions

View File

@@ -883,6 +883,21 @@
return response()->file(public_path('일일자금일보.html'));
});
/*
|--------------------------------------------------------------------------
| HR Routes (인사관리)
|--------------------------------------------------------------------------
*/
Route::middleware('auth')->prefix('hr')->name('hr.')->group(function () {
// 사원관리
Route::prefix('employees')->name('employees.')->group(function () {
Route::get('/', [\App\Http\Controllers\HR\EmployeeController::class, 'index'])->name('index');
Route::get('/create', [\App\Http\Controllers\HR\EmployeeController::class, 'create'])->name('create');
Route::get('/{id}', [\App\Http\Controllers\HR\EmployeeController::class, 'show'])->name('show');
Route::get('/{id}/edit', [\App\Http\Controllers\HR\EmployeeController::class, 'edit'])->name('edit');
});
});
/*
|--------------------------------------------------------------------------
| Finance Routes (재무 관리)