import { Expose } from 'class-transformer';
import { IsDateString, IsNumber, IsOptional } from 'class-validator';

export class CloseEntriesRequestVC {
    @IsOptional()
    @IsDateString()
    @Expose()
    date?: Date;

    @IsOptional()
    @IsDateString()
    @Expose()
    fromDate?: Date;

    @IsOptional()
    @IsNumber()
    @Expose()
    limit?: number;
}
