import { ApiProperty } from '@nestjs/swagger';
import { IsNumber } from 'class-validator';
import { DashboardFeedItemSummaryDTO } from './DashboardFeedItemSummaryDTO';

export class DashboardFeedSummaryDTO {
  @ApiProperty()
  @IsNumber()
  notificationCount!: number;

  @ApiProperty({ type: [DashboardFeedItemSummaryDTO] })
  items!: DashboardFeedItemSummaryDTO[];
}