import { ApiProperty } from '@nestjs/swagger'; import { IsInt, Min } from 'class-validator'; export class InitiateBookingTipDto { @ApiProperty({ minimum: 1000, example: 50000 }) @IsInt() @Min(1000) amountToman!: number; }