*/ class ProfesionFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Profesion::class; /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'titulo' => $this->faker->unique()->jobTitle(), 'visible_en_formulario' => $this->faker->boolean(80), ]; } }