<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Expense extends Model
{
    protected $fillable = ['category', 'amount', 'currency_code', 'method', 'expense_date', 'reference', 'notes'];
    protected function casts(): array { return ['amount' => 'decimal:2', 'expense_date' => 'date']; }
}
