<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;

class CapitalEntry extends Model {
    protected $guarded = [];
    protected $keyType = 'string';

    protected $casts = [
        'entry_date' => 'date',
        // or 'datetime' if it includes time
    ];
    public $incrementing = false;

    public function account() { return $this->belongsTo(Account::class); }
}
