feat: 출퇴근 설정에 자동 출퇴근 사용 여부 필드 추가

- attendance_settings 테이블에 use_auto 컬럼 추가
- AttendanceSetting 모델에 use_auto 필드 추가 (fillable, casts, attributes)
- UpdateAttendanceSettingRequest에 use_auto 유효성 검사 추가

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
유병철
2026-01-27 14:47:39 +09:00
parent 22f7e9d94a
commit 4c22b74b27
3 changed files with 33 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ public function rules(): array
{
return [
'use_gps' => ['sometimes', 'boolean'],
'use_auto' => ['sometimes', 'boolean'],
'allowed_radius' => ['sometimes', 'integer', 'min:10', 'max:10000'],
'hq_address' => ['nullable', 'string', 'max:255'],
'hq_latitude' => ['nullable', 'numeric', 'between:-90,90'],