*/ class HorarioPreferenciaFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = HorarioPreferencia::class; /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'descripcion' => $this->faker->sentence(3), 'formulario_id' => Formulario::factory(), ]; } }