Files
dsc-api/src/modules/reseller/dto/confirm-withdraw-request.dto.ts
T
2026-04-16 11:23:10 +03:30

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;
}