src/orderbook/dto/lock-order.dto.ts
Properties |
| amount |
Type : string
|
Decorators :
@ApiProperty()
|
|
Defined in src/orderbook/dto/lock-order.dto.ts:32
|
| dealerId |
Type : string
|
Decorators :
@ApiProperty()
|
|
Defined in src/orderbook/dto/lock-order.dto.ts:22
|
| instrumentId |
Type : string
|
Decorators :
@ApiProperty()
|
|
Defined in src/orderbook/dto/lock-order.dto.ts:17
|
| investorId |
Type : string
|
Decorators :
@ApiProperty()
|
|
Defined in src/orderbook/dto/lock-order.dto.ts:12
|
| isUsingInvestorWallet |
Type : boolean
|
Decorators :
@ApiProperty()
|
|
Defined in src/orderbook/dto/lock-order.dto.ts:27
|
| orderId |
Type : string
|
Decorators :
@ApiProperty()
|
|
Defined in src/orderbook/dto/lock-order.dto.ts:7
|
import { ApiProperty } from "@nestjs/swagger";
import { IsBoolean, IsOptional, IsString } from "class-validator";
export class OrderLockDto {
@ApiProperty()
@IsString()
orderId: string;
@ApiProperty()
@IsString()
@IsOptional()
investorId: string;
@ApiProperty()
@IsOptional()
@IsString()
instrumentId: string;
@ApiProperty()
@IsString()
@IsOptional()
dealerId: string;
@ApiProperty()
@IsBoolean()
@IsOptional()
isUsingInvestorWallet: boolean;
@ApiProperty()
@IsString()
@IsOptional()
amount: string;
}