'boolean', 'sms_notifications' => 'boolean', 'push_notifications' => 'boolean', 'geofence_alerts' => 'boolean', 'overspeed_alerts' => 'boolean', 'offline_alerts' => 'boolean', 'sos_alerts' => 'boolean', 'maintenance_alerts' => 'boolean', ]; /** * Get the user that owns these preferences */ public function user(): BelongsTo { return $this->belongsTo(User::class); } }