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

export class UpdateStudentOnlineExamDto extends CreateDto {
  @ApiProperty({ description: '学员ID' })
  userId: string;

  @ApiProperty({ description: '考试Id', default: 0 })
  examId: number;

  @ApiProperty({ description: '错题数', default: 0 })
  mistakes: number;

  @ApiProperty({ description: '考试允许次数', default: 3 })
  examTimes: number;

  // @ApiProperty({ description: '我已考试次数', default: 0 })
  // myExamTimes: number;

  // @ApiProperty({ description: '对于学员的考试状态', default: 1 })
  // status: number;
}
