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

export class UploadDTO {
    @ApiProperty()
    @IsNumberString()
    extentMinX: number

    @ApiProperty()
    @IsNumberString()
    extentMinY: number

    @ApiProperty()
    @IsNumberString()
    extentMaxX: number

    @ApiProperty()
    @IsNumberString()
    extentMaxY: number

    @ApiProperty()
    @IsNumberString()
    blX: number

    @ApiProperty()
    @IsNumberString()
    blY: number

    @ApiProperty()
    @IsNumberString()
    tlX: number

    @ApiProperty()
    @IsNumberString()
    tlY: number

    @ApiProperty()
    @IsNumberString()
    trX: number

    @ApiProperty()
    @IsNumberString()
    trY: number

    @ApiProperty()
    @IsNumberString()
    brX: number

    @ApiProperty()
    @IsNumberString()
    brY: number
}