<?php

namespace App\Models;

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

class Expense extends Model
{
    use HasFactory;

    protected $fillable = [
        'category',
        'description',
        'amount',
        'vendor',
        'expense_date',
        'payment_method',
    ];

    protected $casts = [
        'expense_date' => 'date',
    ];
}
