<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Expense extends Model { protected $fillable=['expense_category_id','type','expense_date','amount','payment_method','project_id','department_id','claimant_user_id','vendor_name','description','receipt_path','status','manager_approved_by','finance_reviewed_by','founder_approved_by','paid_at']; protected function casts():array{return ['expense_date'=>'date','amount'=>'decimal:2','paid_at'=>'datetime'];} }