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

export class ShiftAssignCellVC {
    @IsNumber()
    @Expose()
    userId!: number;

    @IsString()
    @Expose()
    @IsValidDate(ISO_DATE)
    date!: string;
}
