import type { IndustrialLeaseType, IndustrialListingStatus, IndustrialPropertyType } from '@prisma/client';

export class ListIndustrialListingsQuery {
  constructor(
    public readonly parkId?: string,
    public readonly propertyType?: IndustrialPropertyType,
    public readonly leaseType?: IndustrialLeaseType,
    public readonly status?: IndustrialListingStatus,
    public readonly minAreaM2?: number,
    public readonly maxAreaM2?: number,
    public readonly minPriceUsdM2?: number,
    public readonly maxPriceUsdM2?: number,
    public readonly query?: string,
    public readonly page: number = 1,
    public readonly limit: number = 20,
  ) {}
}
