<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class SupplierLedgerEntry extends Model
{
    use HasFactory;

    protected $guarded = ['id'];

    protected $casts = [
        'supplier_id' => 'integer',
        'source_id' => 'integer',
        'debit' => 'float',
        'credit' => 'float',
        'balance' => 'float',
        'voucher_id' => 'integer',
        'created_by_admin_id' => 'integer',
    ];
}
