import { TradePriceInfoDTO as BaseTradePriceInfoDTO } from '@energyweb/exchange'; import { ApiProperty } from '@nestjs/swagger'; import { ValidateNested } from 'class-validator'; import { ProductDTO } from '../product/product.dto'; export class TradePriceInfoDTO extends BaseTradePriceInfoDTO { @ApiProperty({ type: ProductDTO }) @ValidateNested() public product: ProductDTO; }