%PDF- %PDF- 'integer', 'unit_price' => 'decimal:2', 'subtotal' => 'decimal:2', ]; } public function order(): BelongsTo { return $this->belongsTo(ShopOrder::class, 'shop_order_id'); } public function brand(): BelongsTo { return $this->belongsTo(Brand::class); } public function batch(): BelongsTo { return $this->belongsTo(InventoryBatch::class, 'inventory_batch_id'); } }