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