Initial commit: NestJS backend for Child Gold Land
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import { IsNumber } from 'class-validator'
|
||||
|
||||
export class BuyGoldDto {
|
||||
@IsNumber({ allowNaN: false, allowInfinity: false })
|
||||
grams!: number
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import { IsNumber } from 'class-validator'
|
||||
|
||||
export class SellGoldDto {
|
||||
@IsNumber({ allowNaN: false, allowInfinity: false })
|
||||
grams!: number
|
||||
}
|
||||
Reference in New Issue
Block a user