*/ class DirectionDescriptionFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'file_name' => fake()->name(), 'position' => 1, 'url' => fake()->url(), ]; } }