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

export class UpdateQuestionClassifyDto extends CreateDto {
  @ApiProperty({ description: '试卷分类名' })
  name: string;

  @ApiProperty({ description: '上级试题分类', default: 0 })
  pid: number;

  @ApiProperty({ description: '试题分类层级', default: 1 })
  level: number;
}
