<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class LedgerEntry extends Model { public $timestamps=false; protected $fillable=['ledger_transaction_id','account_id','direction','amount_atomic']; public function account(){return $this->belongsTo(LedgerAccount::class);} }