superuser', '1')->first() ?? User::factory()->firstAdmin()->create(); Category::factory()->count(1)->assetLaptopCategory()->create(['user_id' => $admin->id]); // 1 Category::factory()->count(1)->assetDesktopCategory()->create(['user_id' => $admin->id]); // 2 Category::factory()->count(1)->assetTabletCategory()->create(['user_id' => $admin->id]); // 3 Category::factory()->count(1)->assetMobileCategory()->create(['user_id' => $admin->id]); // 4 Category::factory()->count(1)->assetDisplayCategory()->create(['user_id' => $admin->id]); // 5 Category::factory()->count(1)->assetVoipCategory()->create(['user_id' => $admin->id]); // 6 Category::factory()->count(1)->assetConferenceCategory()->create(['user_id' => $admin->id]); // 7 Category::factory()->count(1)->accessoryKeyboardCategory()->create(['user_id' => $admin->id]); // 8 Category::factory()->count(1)->accessoryMouseCategory()->create(['user_id' => $admin->id]); // 9 Category::factory()->count(1)->consumablePaperCategory()->create(['user_id' => $admin->id]); // 10 Category::factory()->count(1)->consumableInkCategory()->create(['user_id' => $admin->id]); // 11 Category::factory()->count(1)->componentHddCategory()->create(['user_id' => $admin->id]); // 12 Category::factory()->count(1)->componentRamCategory()->create(['user_id' => $admin->id]); // 13 Category::factory()->count(1)->licenseGraphicsCategory()->create(['user_id' => $admin->id]); // 14 Category::factory()->count(1)->licenseOfficeCategory()->create(['user_id' => $admin->id]); // 15 } }