import { ApiPropertyOptional } from "@nestjs/swagger"
import { IsNumber, IsNumberString, IsOptional, IsString } from "class-validator"

export class GetObjectsDTO {
    @ApiPropertyOptional()
    @IsNumberString()
    @IsOptional()
    offset?: number

    @ApiPropertyOptional()
    @IsNumberString()
    @IsOptional()
    limit?: number

    @ApiPropertyOptional()
    @IsNumberString()
    @IsOptional()
    city_id?: number
}