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

export class ListProjectsQuery {
  constructor(
    public readonly query: string | undefined,
    public readonly status: ProjectDevelopmentStatus | undefined,
    public readonly city: string | undefined,
    public readonly district: string | undefined,
    public readonly developer: string | undefined,
    public readonly isVerified: boolean | undefined,
    public readonly page: number,
    public readonly limit: number,
    /** When set, restrict results to projects owned by this user id. */
    public readonly ownerId?: string,
  ) {}
}
