tipsEnabled
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
import { IsInt, Min } from 'class-validator';
|
||||
|
||||
export class InitiateBookingTipDto {
|
||||
@ApiProperty({ minimum: 1000, example: 50000 })
|
||||
@IsInt()
|
||||
@Min(1000)
|
||||
amountToman!: number;
|
||||
}
|
||||
Reference in New Issue
Block a user