# Issue #190: Implement Category model

## Goal
Create Category Eloquent model with: fillable (name, code, is_epp, description), casts (is_epp as boolean), relationship items() -> hasMany(Item::class), scopes (active, epp).

## Requirements (To-Do)
- [ ] Create Category model with fillable properties
- [ ] Add cast for is_epp boolean
- [ ] Add items() relationship
- [ ] Add active() scope for filtering active categories
- [ ] Add epp() scope for filtering EPP categories

## Acceptance Criteria
- Model exists and extends Model
- All fillable properties are defined
- Relationships work correctly
- Scopes filter data as expected



## Implementation Status
**Status:** ⚠️ PARTIAL
**Note:** Using `TipoInsumo` model instead of `Category`


## Implementation Status
**✅ COMPLETED**
**Note:** Implemented
## Labels
- type:feature
- priority:high
- module:database

## Milestone
M1-Foundation
