feat: [employee] 사원관리 개인 이메일 필드 추가

- 사원 수정 폼에 개인 이메일 입력 필드 추가
- 레이아웃 2x2 배열로 변경 (업무용 이메일|개인 이메일 / 주민등록번호|연락처)
- Employee 모델에 personalEmail accessor 추가
- 컨트롤러 validation, 서비스 jsonExtraKeys에 personal_email 반영
This commit is contained in:
김보곤
2026-03-10 10:04:24 +09:00
parent 4c3822edc2
commit 76a993d32d
4 changed files with 29 additions and 14 deletions

View File

@@ -95,6 +95,7 @@ public function store(Request $request): JsonResponse
'address' => 'nullable|string|max:200',
'emergency_contact' => 'nullable|string|max:100',
'resident_number' => 'nullable|string|max:14',
'personal_email' => 'nullable|email|max:100',
'bank_account.bank_code' => 'nullable|string|max:20',
'bank_account.bank_name' => 'nullable|string|max:50',
'bank_account.account_holder' => 'nullable|string|max:50',
@@ -176,6 +177,7 @@ public function update(Request $request, int $id): JsonResponse
'address' => 'nullable|string|max:200',
'emergency_contact' => 'nullable|string|max:100',
'resident_number' => 'nullable|string|max:14',
'personal_email' => 'nullable|email|max:100',
'bank_account.bank_code' => 'nullable|string|max:20',
'bank_account.bank_name' => 'nullable|string|max:50',
'bank_account.account_holder' => 'nullable|string|max:50',