petalbid-frontend
    Preparing search index...

    Interface Product

    Represents a product or lot offered by a supplier for auction.

    interface Product {
        auctionId?: number;
        id: number;
        imageBase64: string;
        maxPricePerUnit?: number;
        minimumPrice: number;
        name: string;
        potSize?: number;
        species: string;
        stemLength?: number;
        stock: number;
        supplierId: number;
        weight: number;
    }
    Index

    Properties

    auctionId?: number

    The ID of the auction this product is assigned to, if any.

    id: number

    The unique identifier for the product.

    imageBase64: string

    A Base64 string of the processed AVIF image.

    maxPricePerUnit?: number

    The maximum price per unit that a buyer can bid for the product in an auction.

    minimumPrice: number

    The minimum price per unit that the supplier will accept.

    name: string

    The common name of the product (e.g., 'Red Roses').

    potSize?: number

    The diameter of the pot in centimeters, if applicable.

    species: string

    The scientific or common species name (e.g., 'Rosa').

    stemLength?: number

    The length of the stem in centimeters, if applicable.

    stock: number

    The total quantity available in the lot.

    supplierId: number

    The ID of the supplier who owns this product.

    weight: number

    The weight of the product, typically in kilograms.