import { ApiProperty } from '@nestjs/swagger'; import { IsISO8601 } from 'class-validator'; export class BrokerOperationSyncQueryDto { @ApiProperty({ example: '2026-06-01T00:00:00.000Z' }) @IsISO8601() from!: string; @ApiProperty({ example: '2026-06-17T00:00:00.000Z' }) @IsISO8601() to!: string; } export class BrokerOperationSyncResponseDto { @ApiProperty({ example: 42 }) upserted!: number; }