<?php

namespace App\Models;

class FixedAssetCategory extends BaseModel
{
    protected $fillable = ['company_id', 'name', 'is_active'];

    protected $casts = ['is_active' => 'boolean'];

    public function assets()
    {
        return $this->hasMany(FixedAsset::class, 'category_id');
    }
}
