import { IsNotEmpty, IsNumber, IsOptional, IsString, Length, } from 'class-validator'; export class CreateCuestionarioPrograma2Dto { @IsNumber() @IsNotEmpty() idServicio:number // p1, p2, p4, p5, p6 @IsString() @IsNotEmpty() @Length(1, 100) p1: string; @IsString() @IsNotEmpty() @Length(1, 50) p2: string; @IsString() @IsNotEmpty() @Length(1, 100) p4: string; @IsString() @IsNotEmpty() @Length(1, 5) p5: string; @IsOptional() @IsString() @Length(1, 100) p6?: string; // Sección p3_A @IsString() @IsNotEmpty() @Length(1, 50) p3_A_1: string; @IsString() @IsNotEmpty() @Length(1, 50) p3_A_2: string; @IsString() @IsNotEmpty() @Length(1, 50) p3_A_3: string; @IsString() @IsNotEmpty() @Length(1, 50) p3_A_4: string; // Sección p3_B @IsString() @IsNotEmpty() @Length(1, 50) p3_B_1: string; @IsString() @IsNotEmpty() @Length(1, 50) p3_B_2: string; @IsString() @IsNotEmpty() @Length(1, 50) p3_B_3: string; @IsString() @IsNotEmpty() @Length(1, 50) p3_B_4: string; // Sección p3_C @IsString() @IsNotEmpty() @Length(1, 50) p3_C_1: string; @IsString() @IsNotEmpty() @Length(1, 50) p3_C_2: string; @IsString() @IsNotEmpty() @Length(1, 50) p3_C_3: string; @IsString() @IsNotEmpty() @Length(1, 50) p3_C_4: string; @IsString() @IsNotEmpty() @Length(1, 50) p3_C_5: string; // Sección p3_D @IsString() @IsNotEmpty() @Length(1, 50) p3_D_1: string; @IsString() @IsNotEmpty() @Length(1, 50) p3_D_2: string; @IsString() @IsNotEmpty() @Length(1, 50) p3_D_3: string; @IsString() @IsNotEmpty() @Length(1, 50) p3_D_4: string; @IsString() @IsNotEmpty() @Length(1, 50) p3_D_5: string; // Sección p3_E @IsString() @IsNotEmpty() @Length(1, 50) p3_E_1: string; }