<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class InvoiceTransaction extends Model { protected $fillable=['invoice_id','chain_transaction_id','allocated_amount_atomic']; public function chainTransaction(){return $this->belongsTo(ChainTransaction::class);} public function invoice(){return $this->belongsTo(Invoice::class);} }
