import { ApiProperty } from '@nestjs/swagger';
import { IsString, IsEnum } from 'class-validator';
import { OutputFormat } from '../../../domain/value-objects';

export class ExportReportDto {
  @ApiProperty({ description: '快照ID', example: '1' })
  @IsString()
  snapshotId: string;

  @ApiProperty({
    description: '导出格式',
    enum: OutputFormat,
    example: OutputFormat.EXCEL,
  })
  @IsEnum(OutputFormat)
  format: OutputFormat;
}
