| 1 | import { ApiProperty } from '@nestjs/swagger'; |
| 2 | import { IsString } |
| 3 | |
| 4 | export class RegisterDTO |
| 5 | @ApiProperty({}) |
| 6 | @IsString() |
| 7 | email: string; |
| 8 | |
| 9 | @ApiProperty({}) |
| 10 | @IsString() |
| 11 | password: string; |
| 12 | |
| 13 | @IsString() |
| 14 | @ApiProperty({}) |
| 15 | name: string; |
| 16 | } |