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

export class GetAnalyticsMetricsOutputDTO {
  @ApiProperty()
  @IsNumber()
  pageViews!: number;

  @ApiProperty()
  @IsNumber()
  uniqueVisitors!: number;

  @ApiProperty()
  @IsNumber()
  averageSessionDuration!: number;

  @ApiProperty()
  @IsNumber()
  bounceRate!: number;
}