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

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

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

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