import { IsInt, IsOptional, IsPositive, IsString, MaxLength } from 'class-validator';

export class UpdatePantryItemDto {
  @IsOptional()
  @IsInt()
  @IsPositive()
  productId?: number;

  @IsOptional()
  @IsString()
  @MaxLength(50)
  location?: string;
}
