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:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user