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

export class CreateQuestionDifficultyLevelDto extends CreateDto {
  @ApiProperty({ description: '难易程度名' })
  @IsNotEmpty({ message: '难易程度名不能为空' })
  name: string;
}
