feat(backend): add PortfolioListResponseDto

This commit is contained in:
Sergey Krylov 2026-06-14 14:02:01 +03:00
parent 38729249f3
commit 461a5b1ca6

View File

@ -0,0 +1,16 @@
import { ApiProperty } from '@nestjs/swagger';
import { PortfolioResponseDto } from './portfolio-response.dto';
export class PortfolioListResponseDto extends PortfolioResponseDto {
@ApiProperty({ description: 'Total market value of all positions' })
totalValue!: number;
@ApiProperty({ description: 'Total number of positions' })
positionCount!: number;
@ApiProperty({ description: 'Number of share positions' })
shareCount!: number;
@ApiProperty({ description: 'Number of bond positions' })
bondCount!: number;
}