import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';
import { CreateDto } from 'src/common/dto/create.dto';

export class StudentEvaluationDto extends CreateDto {
  @ApiProperty({ description: '学员 ID' })
  @IsNotEmpty({ message: '请选择学员' })
  studentId: string;

  @ApiProperty({ description: '评价指标 ID', example: '1:5,2:5,3:5' })
  @IsNotEmpty({ message: '请选择评价指标项' })
  evaluation: string;
}
