import { IsInt, IsOptional, Min } from 'class-validator';
import { CreateInventoryDto } from './create-inventory.dto';

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