import { IsDateString, IsIn } from 'class-validator';

export class CashboxExportQueryDto {
  @IsDateString()
  from: string;

  @IsDateString()
  to: string;

  @IsIn(['csv', 'pdf'])
  format: 'csv' | 'pdf';
}
