import { ApiProperty } from "@nestjs/swagger";
import { IsNumber, IsString } from "class-validator";

export class CreateManualsManageClassifyDto {
    @ApiProperty({ description: '分类名称', example: '分类名称' })
    @IsString()
    name: string

    @ApiProperty({ description: '父级ID', example: '父级ID' })
    @IsNumber()
    pid: number
}
