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

export class BillingStatsDTO {
  @ApiProperty()
  @IsNumber()
  totalSpent: number = 0;

  @ApiProperty()
  @IsNumber()
  pendingAmount: number = 0;

  @ApiProperty()
  @IsDateString()
  nextPaymentDate: string = '';

  @ApiProperty()
  @IsNumber()
  nextPaymentAmount: number = 0;

  @ApiProperty()
  @IsNumber()
  activeSponsorships: number = 0;

  @ApiProperty()
  @IsNumber()
  averageMonthlySpend: number = 0;
}