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

export class ClientUpdateBidDto {
  @IsString()
  @IsOptional()
  lot_id: string;

  @IsString()
  @IsOptional()
  model: string;

  @IsOptional()
  @IsString()
  close_time: string | null;

  @IsString()
  @IsOptional()
  name: string;

  @IsNumber()
  @IsOptional()
  current_price: number;

  @IsNumber()
  @IsOptional()
  reserve_price: number;

  @IsObject()
  @IsOptional()
  metadata: Record<string, any>;
}
