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

export class UpsertUserProductDto {
  @IsInt()
  productId: number;

  @IsOptional()
  @IsString()
  note?: string;

  @IsOptional()
  @IsString()
  preferredBrand?: string;

  @IsOptional()
  @IsString()
  preferredStore?: string;

  @IsOptional()
  @IsBoolean()
  isPrivate?: boolean;
}
