ppob-backend/src/transaction/dto/export-transaction.dto.ts

17 lines
242 B
TypeScript

import { IsNotEmpty, IsOptional } from 'class-validator';
export class ExportTransactionDto {
@IsNotEmpty()
dateStart: string;
@IsNotEmpty()
dateEnd: string;
@IsOptional()
supplier: string;
@IsOptional()
buyer: string;
}