Overview
Assets (“activos” in Spanish) are the core entities managed by GIMA. While explicit asset type definitions are not yet formalized in the codebase, assets are referenced throughout the application and are associated with categories.Inferred Asset Structure
Based on the usage patterns in the GIMA codebase, assets likely follow this structure:Properties
Unique identifier for the asset.Example:
"ACT-001", "ACT-002"Name or title of the asset.Example:
"Dell Laptop XPS 15", "HP Printer LaserJet Pro"Reference to the asset’s category. Links to a Category object.Example:
"CAT-001" for COMPUTO categoryOptional detailed description of the asset.Example:
"Laptop for development team"Current operational status of the asset. See AssetStatus below.
Physical location where the asset is stored or deployed.Example:
"Oficina Principal - Piso 2", "Almacén"Date when the asset was acquired.
Monetary value of the asset.Example:
1200.50AssetStatus Type
The status of an asset in the system:Values
Asset is currently in use and operational.
Asset is undergoing maintenance or repairs.
Asset is not currently in use but is still available.
Asset has been disposed of or removed from inventory.
Asset Metrics
The dashboard displays various asset-related metrics:Usage in Dashboard
Fromsrc/app/dashboard/page.tsx:
Asset-Category Relationship
Assets are organized by categories. Each category tracks the total number of assets:Usage Examples
Creating an Asset
Filtering Assets by Status
Calculating Asset Totals
Related Types
- Category Types - Asset categorization
- User Types - User assignments and ownership
Future Development
The asset type definitions shown here are inferred from usage patterns.
Formal type definitions should be added to
src/types/asset.ts as the
codebase evolves.Source Files
- Dashboard usage:
src/app/dashboard/page.tsx - Category relationships:
src/data/categories.ts - Type definitions:
src/types/(to be created)