import { IsDateString, IsNumber, IsOptional } from "class-validator";

export class CreateAssignmentDto {
  @IsNumber()
  device_id: number;

  @IsNumber()
  employee_id: number;

  @IsOptional()
  @IsDateString()
  expected_return_date?: Date;
}
