From 3bc245e1f74042fdf4db04143c205dbc38db9c34 Mon Sep 17 00:00:00 2001 From: evenegas Date: Thu, 22 Jan 2026 13:31:24 -0600 Subject: [PATCH] creditos --- .../entities/cuestionario-alumno2.entity.ts | 98 +++++++++---------- 1 file changed, 48 insertions(+), 50 deletions(-) diff --git a/src/cuestionario-alumno2/entities/cuestionario-alumno2.entity.ts b/src/cuestionario-alumno2/entities/cuestionario-alumno2.entity.ts index 2af2e99..71a450e 100644 --- a/src/cuestionario-alumno2/entities/cuestionario-alumno2.entity.ts +++ b/src/cuestionario-alumno2/entities/cuestionario-alumno2.entity.ts @@ -1,145 +1,143 @@ -import { Servicio } from "src/servicio/entities/servicio.entity"; -import { Column, Entity, OneToMany, PrimaryGeneratedColumn } from "typeorm"; +import { Servicio } from 'src/servicio/entities/servicio.entity'; +import { Column, Entity, OneToMany, PrimaryGeneratedColumn } from 'typeorm'; @Entity('cuestionario_alumno_2') export class CuestionarioAlumno2 { - @PrimaryGeneratedColumn() idCuestionarioAlumno2: number; - @Column({ type: 'varchar', length: 100, nullable: false }) + @Column({ type: 'text', nullable: true }) p1: string; - @Column({ type: 'varchar', length: 50, nullable: false }) + @Column({ type: 'varchar', length: 200, nullable: true }) p2: string; - @Column({ type: 'varchar', length: 5, nullable: false }) + @Column({ type: 'varchar', length: 200, nullable: true }) p4: string; - @Column({ type: 'varchar', length: 50, nullable: true }) + @Column({ type: 'varchar', length: 500, nullable: true }) p5: string; - @Column({ type: 'varchar', length: 5, nullable: false }) + @Column({ type: 'varchar', length: 200, nullable: true }) p6: string; - @Column({ type: 'varchar', length: 5, nullable: false }) + @Column({ type: 'varchar', length: 200, nullable: true }) p7: string; - @Column({ type: 'varchar', length: 50, nullable: true }) + @Column({ type: 'varchar', length: 500, nullable: true }) p8: string; - @Column({ type: 'varchar', length: 5, nullable: false }) + @Column({ type: 'varchar', length: 200, nullable: true }) p9: string; - @Column({ type: 'varchar', length: 5, nullable: false }) + @Column({ type: 'varchar', length: 50, nullable: true }) p3_1: string; - @Column({ type: 'varchar', length: 5, nullable: false }) + @Column({ type: 'varchar', length: 50, nullable: true }) p3_2: string; - @Column({ type: 'varchar', length: 5, nullable: false }) + @Column({ type: 'varchar', length: 50, nullable: true }) p3_3: string; - @Column({ type: 'varchar', length: 5, nullable: false }) + @Column({ type: 'varchar', length: 50, nullable: true }) p3_4: string; - @Column({ type: 'varchar', length: 5, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p10_1: string; - @Column({ type: 'varchar', length: 5, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p10_2: string; - @Column({ type: 'varchar', length: 5, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p10_3: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p11_1: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p11_2: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p11_3: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p11_4: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p12_A_1: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p12_A_2: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p12_A_3: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p12_A_4: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p12_B_1: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p12_B_2: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p12_B_3: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p12_B_4: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p12_C_1: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p12_C_2: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p12_C_3: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p12_C_4: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 50, nullable: true }) p12_D_1: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 50, nullable: true }) p12_D_2: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 50, nullable: true }) p12_D_3: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 50, nullable: true }) p12_D_4: string; - @Column({ type: 'varchar', length: 20, nullable: false }) + @Column({ type: 'varchar', length: 50, nullable: true }) p12_D_5: string; - @Column({ type: 'varchar', length: 100, nullable: false }) + @Column({ type: 'varchar', length: 200, nullable: true }) p13: string; - @Column({ type: 'varchar', length: 100, nullable: false }) + @Column({ type: 'varchar', length: 200, nullable: true }) p14: string; - @Column({ type: 'varchar', length: 5, nullable: false }) + @Column({ type: 'varchar', length: 200, nullable: true }) p15: string; - @Column({ type: 'varchar', length: 50, nullable: true }) + @Column({ type: 'varchar', length: 500, nullable: true }) p16: string; - @Column({ type: 'varchar', length: 5, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p17_1: string; - @Column({ type: 'varchar', length: 5, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p17_2: string; - @Column({ type: 'varchar', length: 5, nullable: false }) + @Column({ type: 'varchar', length: 20, nullable: true }) p17_3: string; - @Column({ type: 'varchar', length: 50, nullable: true }) + @Column({ type: 'varchar', length: 500, nullable: true }) p18: string; - @OneToMany(()=>Servicio,(servicio)=>servicio.cuestionarioAlumno2) - servicio:Servicio[]; - + @OneToMany(() => Servicio, (servicio) => servicio.cuestionarioAlumno2) + servicio: Servicio[]; }