
export interface Bid {
    timestamp: string;
    amount: number;
    auctioned_type?: string;
}

export interface Auctioned {
    timestamp: string;
    amount: number;
    auctioned_type: string;
    sold: boolean;
}

export interface PostProcessing {
    nbrBids: number;
    highestBid: number;    
    duration: number;
    percentageAboveUnderLow: number;
    percentageAboveUnderHigh: number;
}

export interface Lot {
    _id: {
        $oid: string;
    };
    idPlatform: string;
    platform: string;
    timestamp: string;
    lotNumber: string;
    title?: string;
    description?: string;
    EstimateLow?: number;
    EstimateHigh?: number;
    RawData?: Object;
    sale_id: {
        $oid: string;
    };
    Bids?: Bid[];
    auctioned?: Auctioned;
    postProcessing?: PostProcessing;
}