create-hello.dto.ts 198 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 10 11 12 import { IsInt, IsString } from 'class-validator'; export class CreateCatDto { @IsString() readonly name: string; @IsInt() readonly age: number; @IsString() readonly breed: string; }