File

src/user/dto/set-investor-access.dto.ts

Index

Properties

Properties

instrumentId
Type : string
Decorators :
@ApiProperty({type: 'string'})
@IsString()
investorId
Type : string
Decorators :
@ApiProperty({type: 'string'})
@IsString()
@IsOptional()
isAllowed
Type : boolean
Decorators :
@ApiProperty({type: 'string'})
@IsBoolean()
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;
}

results matching ""

    No results matching ""