export interface GoodsReceipt {
    id: number;
    code: string;
    warehouse_id: number;
    warehouse?: {
        id: number;
        name: string;
    };
    vendor_id?: number;
    vendor?: {
        id: number;
        name: string;
    };
    purchase_order_id?: number;
    purchase_order?: {
        code: string; // If loaded
    };
    received_date: string;
    status: 'completed' | 'processing' | 'cancelled';
    remarks?: string;
    items_sum_total_amount?: number; // Calculated field
    created_at: string;
    updated_at: string;
    user?: {
        name: string;
    };
}
