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

export class UpsertScrapItemDto {
  @IsUrl()
  url: string;
  @IsString()
  image_url: string;
  @IsString()
  name: string;
  @IsString()
  keyword: string;
  @IsNumber()
  current_price: number;
  @IsNumber()
  scrap_config_id: number;
  @IsString()
  model: string;
}
