export interface WarehouseRecord {
    id: string;
    name: string;
    code: string;
    aliases: string[];
    active: boolean;
}
export interface ItemRecord {
    id: string;
    itemCode: string;
    itemName: string;
    brand: string;
    barcode: string | null;
    countryOfOrigin: string | null;
    blend: string | null;
    grainType: string | null;
    varietyType: string | null;
    processType: string | null;
    unit: string | null;
}
export interface BatchRecord {
    id: string;
    warehouseId: string;
    itemId: string;
    batchNumber: string;
    expiryDate: string;
    availableBags?: number;
    availableMt?: number;
}
export interface InventoryBalanceRecord {
    id: string;
    warehouseId: string;
    itemId: string;
    batchId: string;
    currentQuantityMt: number;
    thresholdTargetMt: number;
    hasReachedThreshold?: boolean;
    invoiceRequiredForStockIn?: boolean;
    lastUpdated: string;
}
