import { IsNumber, IsOptional, IsString, Min } from 'class-validator';

export class ConsumeInventoryDto {
  @IsNumber()
  @Min(0.01)
  amountUsed!: number;

  @IsOptional()
  @IsString()
  comment?: string;
}