'integer', 'cart_item_id' => 'integer', 'purchase_id' => 'integer', 'quantity' => 'integer', 'expires_at' => 'datetime', 'committed_at' => 'datetime', 'released_at' => 'datetime', ]; } /** @return BelongsTo */ public function inventory(): BelongsTo { return $this->belongsTo(Inventory::class); } /** @return BelongsTo */ public function cartItem(): BelongsTo { return $this->belongsTo(CartItem::class); } /** @return BelongsTo */ public function purchase(): BelongsTo { return $this->belongsTo(Purchase::class); } }