*/ class DiaFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Dia::class; /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'descripcion' => $this->faker->randomElement(['Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado', 'Domingo']), ]; } }