feat: 근무/출퇴근 설정 및 현장 관리 API 구현

- 근무 설정 API (GET/PUT /settings/work)
  - 근무유형, 소정근로시간, 연장근로시간, 근무요일, 출퇴근시간, 휴게시간
- 출퇴근 설정 API (GET/PUT /settings/attendance)
  - GPS 출퇴근, 허용 반경, 본사 위치 설정
- 현장 관리 API (CRUD /sites)
  - 현장 등록/수정/삭제, 활성화된 현장 목록(셀렉트박스용)
  - GPS 좌표 기반 위치 관리

마이그레이션: work_settings, attendance_settings, sites 테이블
모델: WorkSetting, AttendanceSetting, Site (BelongsToTenant, SoftDeletes)
서비스: WorkSettingService, SiteService
Swagger 문서 및 i18n 메시지 키 추가
This commit is contained in:
2025-12-17 20:46:37 +09:00
parent e81e5d7084
commit ca5618be98
19 changed files with 1523 additions and 6 deletions

View File

@@ -209,4 +209,25 @@
'balance_fetched' => '잔여 휴가를 조회했습니다.',
'balance_updated' => '휴가 일수가 설정되었습니다.',
],
// 근무 설정 관리
'work_setting' => [
'fetched' => '근무 설정을 조회했습니다.',
'updated' => '근무 설정이 수정되었습니다.',
],
// 출퇴근 설정 관리
'attendance_setting' => [
'fetched' => '출퇴근 설정을 조회했습니다.',
'updated' => '출퇴근 설정이 수정되었습니다.',
],
// 현장 관리
'site' => [
'fetched' => '현장을 조회했습니다.',
'created' => '현장이 등록되었습니다.',
'updated' => '현장이 수정되었습니다.',
'deleted' => '현장이 삭제되었습니다.',
'active_fetched' => '활성화된 현장 목록을 조회했습니다.',
],
];