<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class LedgerAccount extends Model { protected $fillable=['merchant_id','type','asset_id','status']; public function asset(){return $this->belongsTo(Asset::class);} public function merchant(){return $this->belongsTo(Merchant::class);} }