feat: [users] 재직상태(재직/휴직/퇴직) 표시 및 수정 기능 추가
- 사용자 목록 테이블에 재직상태 컬럼 추가 (재직/휴직/퇴직 배지) - 사용자 수정 화면에 재직상태 select 필드 추가 - UserService.getUsers()에 employee_status 서브쿼리 추가 - UserService.updateUser()에서 tenant_user_profiles에 employee_status 저장 - UpdateUserRequest에 employee_status validation 추가
This commit is contained in:
@@ -70,6 +70,7 @@ public function rules(): array
|
||||
'department_ids.*' => 'integer|exists:departments,id',
|
||||
'position_key' => 'nullable|string|max:64',
|
||||
'job_title_key' => 'nullable|string|max:64',
|
||||
'employee_status' => 'nullable|in:active,leave,resigned',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user