Files
Sio-Back/database/seeds/RespuestasDomesticoTableSeeder.php
2025-12-26 17:21:11 -08:00

320 lines
11 KiB
PHP

<?php
use Carbon\Carbon;
use Illuminate\Database\Seeder;
class RespuestasDomesticoTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('respuestas_domestico')->insert([
//Respuesta 1
[
'nombre' => 'Si',
'pregunta_id' => 1,
'orden' => 1,
'tipo_campo' => 'Checkbox',
'puntuacion' => 100,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'No',
'pregunta_id' => 1,
'orden' => 2,
'tipo_campo' => 'Checkbox',
'puntuacion' => 50,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
//Respuesta 2
[
'nombre' => 'Excelente',
'pregunta_id' => 2,
'orden' => 1,
'tipo_campo' => 'Checkbox',
'puntuacion' => 100,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'Bueno',
'pregunta_id' => 2,
'orden' => 2,
'tipo_campo' => 'Checkbox',
'puntuacion' => 80,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'Regular',
'pregunta_id' => 2,
'orden' => 3,
'tipo_campo' => 'Checkbox',
'puntuacion' => 60,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'Malo',
'pregunta_id' => 2,
'orden' => 4,
'tipo_campo' => 'Checkbox',
'puntuacion' => 40,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'Pésimo',
'pregunta_id' => 2,
'orden' => 5,
'tipo_campo' => 'Checkbox',
'puntuacion' => 20,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
//Respuesta 3
[
'nombre' => 'Excelente',
'pregunta_id' => 3,
'orden' => 1,
'tipo_campo' => 'Checkbox',
'puntuacion' => 100,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'Bueno',
'pregunta_id' => 3,
'orden' => 2,
'tipo_campo' => 'Checkbox',
'puntuacion' => 80,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'Regular',
'pregunta_id' => 3,
'orden' => 3,
'tipo_campo' => 'Checkbox',
'puntuacion' => 60,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'Malo',
'pregunta_id' => 3,
'orden' => 4,
'tipo_campo' => 'Checkbox',
'puntuacion' => 40,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'Pésimo',
'pregunta_id' => 3,
'orden' => 5,
'tipo_campo' => 'Checkbox',
'puntuacion' => 20,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
//Respuesta 4
[
'nombre' => 'Si',
'pregunta_id' => 4,
'orden' => 1,
'tipo_campo' => 'Checkbox',
'puntuacion' => 100,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'No',
'pregunta_id' => 4,
'orden' => 2,
'tipo_campo' => 'Checkbox',
'puntuacion' => 50,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
//Respuesta 5
[
'nombre' => 'Excelente',
'pregunta_id' => 5,
'orden' => 1,
'tipo_campo' => 'Checkbox',
'puntuacion' => 100,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'Bueno',
'pregunta_id' => 5,
'orden' => 2,
'tipo_campo' => 'Checkbox',
'puntuacion' => 80,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'Regular',
'pregunta_id' => 5,
'orden' => 3,
'tipo_campo' => 'Checkbox',
'puntuacion' => 60,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'Malo',
'pregunta_id' => 5,
'orden' => 4,
'tipo_campo' => 'Checkbox',
'puntuacion' => 40,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'Pésimo',
'pregunta_id' => 5,
'orden' => 5,
'tipo_campo' => 'Checkbox',
'puntuacion' => 20,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
//Respuesta 6
[
'nombre' => 'Si',
'pregunta_id' => 6,
'orden' => 1,
'tipo_campo' => 'Checkbox',
'puntuacion' => 100,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'No',
'pregunta_id' => 6,
'orden' => 2,
'tipo_campo' => 'Checkbox',
'puntuacion' => 50,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
//Respuesta 7
[
'nombre' => 'Excelente',
'pregunta_id' => 7,
'orden' => 1,
'tipo_campo' => 'Checkbox',
'puntuacion' => 100,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'Bueno',
'pregunta_id' => 7,
'orden' => 2,
'tipo_campo' => 'Checkbox',
'puntuacion' => 80,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'Regular',
'pregunta_id' => 7,
'orden' => 3,
'tipo_campo' => 'Checkbox',
'puntuacion' => 60,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'Malo',
'pregunta_id' => 7,
'orden' => 4,
'tipo_campo' => 'Checkbox',
'puntuacion' => 40,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'Pésimo',
'pregunta_id' => 7,
'orden' => 5,
'tipo_campo' => 'Checkbox',
'puntuacion' => 20,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
//Respuesta 8
[
'nombre' => 'Si',
'pregunta_id' => 8,
'orden' => 1,
'tipo_campo' => 'Checkbox',
'puntuacion' => 100,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
[
'nombre' => 'No',
'pregunta_id' => 8,
'orden' => 2,
'tipo_campo' => 'Checkbox',
'puntuacion' => 50,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
//Respuesta 9
[
'nombre' => '',
'pregunta_id' => 9,
'orden' => 1,
'tipo_campo' => 'Moneda',
'puntuacion' => null,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
//Respuesta 10
[
'nombre' => '',
'pregunta_id' => 10,
'orden' => 1,
'tipo_campo' => 'Email',
'puntuacion' => null,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
//Respuesta 11
[
'nombre' => '',
'pregunta_id' => 11,
'orden' => 1,
'tipo_campo' => 'Fecha',
'puntuacion' => null,
'created_at' => Carbon::now()->toDateTimeString(),
'updated_at' => Carbon::now()->toDateTimeString(),
],
]);
}
}