Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

glsx-serivce / glsk-analysis-admin

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • glsk-analysis-admin
  • src
  • modules
  • hello
  • dto
  • create-hello.dto.ts
  • chenwq's avatar
    create · 25351b75
    chenwq committed May 22, 2025
    25351b75
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;
}