mirror of
https://github.com/xiaoyiweb/YiAi.git
synced 2025-11-17 22:53:41 +08:00
8 lines
267 B
TypeScript
8 lines
267 B
TypeScript
import { IsNotEmpty, MinLength, MaxLength, IsString, IsIn, IsOptional } from 'class-validator';
|
|
import { ApiProperty } from '@nestjs/swagger';
|
|
|
|
export class AddBadWordDto {
|
|
@ApiProperty({ example: 'test', description: '敏感词', required: true })
|
|
word: string;
|
|
}
|