import { ApiProperty } from '@nestjs/swagger';
import { IsArray, IsNotEmpty, IsString } from 'class-validator';

export class AnswersSurveyDto {
  @ApiProperty({ description: 'Survey id' })
  @IsString()
  @IsNotEmpty()
  surveyId: string;

  @ApiProperty({ description: 'Survey answers' })
  @IsArray()
  @IsNotEmpty()
  answers: any;

}
