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

export class GetTCBParamsDTO {
    @ApiProperty()
    @IsString()
    vtable: string

    @ApiPropertyOptional()
    @IsNumber()
    @IsOptional()
    id?: number

    @ApiProperty()
    @IsNumber()
    id_city: number
}