import { ISO_DATE } from '@humand-packages/common';
import { Expose } from 'class-transformer';
import { IsOptional } from 'class-validator';
import { IsValidDate } from '../../../../../middlewares/dateValidator';

export class TimeTrackingGetNotificationScheduleVC {
    @IsOptional()
    @IsValidDate(ISO_DATE)
    @Expose()
    startDate!: string;

    @IsOptional()
    @IsValidDate(ISO_DATE)
    @Expose()
    endDate!: string;
}
