src/orderbook/dto/cancel-order.dto.ts
Properties |
| amount |
Type : string
|
Decorators :
@ApiProperty()
|
|
Defined in src/orderbook/dto/cancel-order.dto.ts:12
|
| investorId |
Type : string
|
Decorators :
@ApiProperty()
|
|
Defined in src/orderbook/dto/cancel-order.dto.ts:17
|
| orderId |
Type : string
|
Decorators :
@ApiProperty()
|
|
Defined in src/orderbook/dto/cancel-order.dto.ts:7
|
import { ApiProperty } from "@nestjs/swagger";
import { IsOptional, IsString } from "class-validator";
export class OrderCancelDto {
@ApiProperty()
@IsString()
orderId: string;
@ApiProperty()
@IsString()
@IsOptional()
amount: string;
@ApiProperty()
@IsOptional()
@IsString()
investorId: string;
}