feat: 근태관리/직원관리 API 구현

- AttendanceController, AttendanceService 추가
- EmployeeController, EmployeeService 추가
- Attendance 모델 및 마이그레이션 추가
- TenantUserProfile에 employee_status 컬럼 추가
- DepartmentService 트리 조회 기능 개선
- Swagger 문서 추가 (AttendanceApi, EmployeeApi)
- API 라우트 등록
This commit is contained in:
2025-12-09 20:27:44 +09:00
parent 33010f1916
commit f1f4c52c31
24 changed files with 2844 additions and 27 deletions

View File

@@ -19,6 +19,14 @@ public function index(Request $request)
}, '부서 목록 조회');
}
// GET /v1/departments/tree
public function tree(Request $request)
{
return ApiResponse::handle(function () use ($request) {
return $this->service->tree($request->all());
}, '부서 트리 조회');
}
// POST /v1/departments
public function store(Request $request)
{