slug)) { $tag->slug = Str::slug($tag->name); } }); } public function jobs(): BelongsToMany { return $this->belongsToMany(Job::class); } }