import { ApiPropertyOptional } from "@nestjs/swagger";
import { IsOptional, IsUUID } from "class-validator";

export class DashboardQueryDto {
  @ApiPropertyOptional({
    format: "uuid",
    description:
      "Narrow dashboard KPIs to a single operational profile (importer/exporter/freight_forwarder) of the user's company. Omit for company-wide totals.",
  })
  @IsOptional()
  @IsUUID()
  companyProfileId?: string;
}
