mirror of
https://github.com/Kevsl/crypto-exchange-api.git
synced 2026-02-09 19:26:13 +01:00
fixed get my assets
This commit is contained in:
9
src/trade/dto/promoCode.dto.ts
Normal file
9
src/trade/dto/promoCode.dto.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { IsInt, IsString } from 'class-validator';
|
||||
|
||||
export class PromoCodeDto {
|
||||
@IsString()
|
||||
name: string;
|
||||
|
||||
@IsInt()
|
||||
value: number;
|
||||
}
|
||||
Reference in New Issue
Block a user