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

export class GetBoilersDTO {
    @ApiProperty()
    @IsNumberString()
    city_id: number

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

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