import { ApiProperty } from '@nestjs/swagger';
import { IsString } from 'class-validator';
import { SponsorDashboardMetricsDTO } from './SponsorDashboardMetricsDTO';
import { SponsoredLeagueDTO } from './SponsoredLeagueDTO';
import { SponsorDashboardInvestmentDTO } from './SponsorDashboardInvestmentDTO';

export class SponsorDashboardDTO {
  @ApiProperty()
  @IsString()
  sponsorId: string;

  @ApiProperty()
  @IsString()
  sponsorName: string;

  @ApiProperty({ type: SponsorDashboardMetricsDTO })
  metrics: SponsorDashboardMetricsDTO;

  @ApiProperty({ type: [SponsoredLeagueDTO] })
  sponsoredLeagues: SponsoredLeagueDTO[];

  @ApiProperty({ type: SponsorDashboardInvestmentDTO })
  investment: SponsorDashboardInvestmentDTO;
}