public function scopeByDomain(Builder $query, Domain $domain): Builder 	{ 		return $query->where(function (Builder $query) use ($domain) { 			$query->where('domain_id', $domain->getKey()); 		}); 	}