feat: add CashboxExportService.exportForUser
This commit is contained in:
@@ -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';
|
||||
}
|
||||
Reference in New Issue
Block a user