src/user/dto/set-investor-access.dto.ts
Properties |
| instrumentId |
Type : string
|
Decorators :
@ApiProperty({type: 'string'})
|
|
Defined in src/user/dto/set-investor-access.dto.ts:7
|
| investorId |
Type : string
|
Decorators :
@ApiProperty({type: 'string'})
|
|
Defined in src/user/dto/set-investor-access.dto.ts:16
|
| isAllowed |
Type : boolean
|
Decorators :
@ApiProperty({type: 'string'})
|
|
Defined in src/user/dto/set-investor-access.dto.ts:11
|
import { ApiProperty } from "@nestjs/swagger";
import { IsBoolean, IsOptional, IsString } from "class-validator";
export class SetInvestorAccessDto {
@ApiProperty({ type: "string" })
@IsString()
instrumentId: string;
@ApiProperty({ type: "string" })
@IsBoolean()
isAllowed: boolean;
@ApiProperty({ type: "string" })
@IsString()
@IsOptional()
investorId: string;
}