13 lines
289 B
TypeScript
Executable File
13 lines
289 B
TypeScript
Executable File
import { ApiProperty } from "@nestjs/swagger";
|
|
import { IsNotEmpty, IsString, Length } from "class-validator";
|
|
|
|
|
|
export class ConfirmwithdrawRequestDto {
|
|
@IsNotEmpty()
|
|
@IsString()
|
|
@Length(2, 50,)
|
|
@ApiProperty({ description: "name", example: "mahyar" })
|
|
transactionId: string;
|
|
|
|
}
|