getAttribute($field); if ($id !== null && ! Channel::withoutGlobalScope('tenant')->whereKey($id)->where('property_id', $model->property_id)->exists()) { throw ValidationException::withMessages([$field => 'Der Kanal muss zur selben Wohnung gehören.']); } } }); } }