Prepare BizOne portal production wallet and UI
This commit is contained in:
12
backend/src/wallet/dto/create-midtrans-topup.dto.ts
Normal file
12
backend/src/wallet/dto/create-midtrans-topup.dto.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { IsInt, IsOptional, IsString, Max, Min } from 'class-validator';
|
||||
|
||||
export class CreateMidtransTopupDto {
|
||||
@IsInt()
|
||||
@Min(50000)
|
||||
@Max(1000000000)
|
||||
amountMinor!: number;
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
description?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user