[ 'required', 'integer', Rule::exists('user_tenants', 'tenant_id') ->where('user_id', $userId) ->where('is_active', 1), ], ]; } public function messages(): array { return [ 'tenant_id.exists' => __('error.tenant_access_denied'), ]; } }