hasMany(Filament::class); } // Color has many filament type public function filamentTypes() { return $this->hasMany(FilamentType::class); } }