*/ class TurnoFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Turno::class; /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'inicio' => $this->faker->dateTimeBetween('-1 month', '+1 month'), 'correo' => $this->faker->unique()->safeEmail(), 'nombrecompleto' => $this->faker->name(), 'descripcion' => $this->faker->paragraph(), 'cliente_id' => Cliente::factory(), 'estadoturno_id' => EstadoTurno::factory(), 'agenda_id' => Agenda::factory(), 'profesional_id' => Profesional::factory(), 'servicio_id' => Servicio::factory(), ]; } }