import { ApiProperty } from "@nestjs/swagger"
import { IsNotEmpty, IsString } from "class-validator"

export class DownloadParam {
    @ApiProperty({ description: "File name", example: "file.pdf" })
    @IsString()
    @IsNotEmpty()
    name: string

    @ApiProperty({ description: "File id", example: "1" })
    @IsString()
    @IsNotEmpty()
    id: string
}