*/ final class GenreFactory extends Factory { /** @return array */ public function definition(): array { return [ 'organisation_id' => Organisation::factory(), 'name' => fake()->unique()->words(2, true), 'color' => fake()->hexColor(), 'sort_order' => 0, 'is_active' => true, ]; } }