<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class ExpenseCategory extends Model { protected $fillable=['name','code','requires_founder_approval','is_active']; protected function casts():array{return ['requires_founder_approval'=>'boolean','is_active'=>'boolean'];} }