12 lines
174 B
TypeScript
12 lines
174 B
TypeScript
import { IsNotEmpty, IsString } from 'class-validator'
|
|
|
|
export class ConfirmDto {
|
|
@IsString()
|
|
@IsNotEmpty()
|
|
id: number
|
|
|
|
@IsString()
|
|
@IsNotEmpty()
|
|
token: string
|
|
}
|