import { type PropertyType } from '@prisma/client';

export class UpdateMarketIndexCommand {
  constructor(
    public readonly district: string,
    public readonly city: string,
    public readonly propertyType: PropertyType,
    public readonly period: string,
    public readonly medianPrice: bigint,
    public readonly avgPriceM2: number,
    public readonly totalListings: number,
    public readonly daysOnMarket: number,
    public readonly inventoryLevel: number,
    public readonly absorptionRate?: number,
    public readonly yoyChange?: number,
  ) {}
}
