import { ApiProperty } from '@nestjs/swagger';
import { IsJSON, IsNotEmpty } from 'class-validator';
import { CreateDto } from 'src/common/dto/create.dto';
import { PaginationDTO } from 'src/assessment-evaluation/dto/pagination.dto';

export class PagingQuestionDto extends PaginationDTO {
  @ApiProperty({ description: '试题分类ID', required: false })
  classifyId: number;
  @ApiProperty({ description: '试题类型ID', required: false })
  type: number;
  @ApiProperty({ description: '试题难度ID', required: false })
  difficultyLevel: number;
  @ApiProperty({ description: '试题名模糊查询', required: false })
  title: number;
  @ApiProperty({ description: '试题名模糊查询', required: false })
  excludeIds: number[];
  @ApiProperty({ description: '学生可选试题', required: false, default: 0 })
  student: number;
}
