This commit is contained in:
evenegas
2026-01-22 13:31:24 -06:00
parent 5c5e7b3f0f
commit 3bc245e1f7
@@ -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[];
}