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

export class SponsorDashboardMetricsDTO {
  @ApiProperty()
  @IsNumber()
  impressions: number;

  @ApiProperty()
  @IsNumber()
  impressionsChange: number;

  @ApiProperty()
  @IsNumber()
  uniqueViewers: number;

  @ApiProperty()
  @IsNumber()
  viewersChange: number;

  @ApiProperty()
  @IsNumber()
  races: number;

  @ApiProperty()
  @IsNumber()
  drivers: number;

  @ApiProperty()
  @IsNumber()
  exposure: number;

  @ApiProperty()
  @IsNumber()
  exposureChange: number;
}