com-backend/src/auth/dto/confirm.dto.ts
2024-06-05 14:11:47 +02:00

12 lines
174 B
TypeScript

import { IsNotEmpty, IsString } from 'class-validator'
export class ConfirmDto {
@IsString()
@IsNotEmpty()
id: number
@IsString()
@IsNotEmpty()
token: string
}