feat: add CashboxExportService.exportForUser

This commit is contained in:
Bastian Wagner
2026-08-03 21:30:22 +02:00
parent f8857f71e1
commit 396dc29cf5
3 changed files with 123 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import { IsDateString, IsIn } from 'class-validator';
export class CashboxExportQueryDto {
@IsDateString()
from: string;
@IsDateString()
to: string;
@IsIn(['csv', 'pdf'])
format: 'csv' | 'pdf';
}