import { IsInt, IsOptional, Min } from 'class-validator';
import { CreatePantryItemDto } from './create-pantry-item.dto';

export class CreateAdminPantryItemDto extends CreatePantryItemDto {
  @IsOptional()
  @IsInt()
  @Min(1)
  userId?: number;
}
