Adrian Flores Cortes
|
598c3215e1
|
feat(FASE-4A): Complete vertical modules for construction
- MAI-018 Bidding module: entities, services, controllers, DTOs
- Opportunity, Tender, Proposal, Vendor management
- Bid calendar, documents, analytics
- Earned Value Management: Curva S, SPI/CPI reports
- earned-value.service.ts with EV, PV, AC calculations
- earned-value.controller.ts with 9 endpoints
- DTOs for modules: assets, contracts, documents, purchase, quality
- 28 new DTO files with class-validator decorators
- Storage module: service and controller implementation
- Multi-provider support (local, S3, GCS, Azure)
- File management, upload/download URLs
- Multiple entity and service fixes
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-27 07:00:18 -06:00 |
|
Adrian Flores Cortes
|
5f9c30d268
|
[MAE-015] feat: Implement assets module backend
Complete implementation of the Assets/Machinery/Maintenance module:
Entities (10):
- AssetCategory: Hierarchical asset categorization with depreciation config
- Asset: Main asset entity (machinery, vehicles, tools, equipment)
- AssetAssignment: Asset-to-project assignments tracking
- WorkOrder: Maintenance work orders with workflow
- WorkOrderPart: Parts/materials used in work orders
- MaintenancePlan: Preventive maintenance plans
- MaintenanceHistory: Historical maintenance records
- FuelLog: Fuel consumption tracking with efficiency calculation
- AssetCost: TCO (Total Cost of Ownership) tracking
Services (3):
- AssetService: CRUD, assignments, categories, statistics
- WorkOrderService: CRUD, workflow (start/hold/resume/complete/cancel), parts
- FuelLogService: CRUD, efficiency calculation, statistics
Controllers (3):
- AssetController: REST API for assets, assignments, categories
- WorkOrderController: REST API for work orders, workflow, plans
- FuelLogController: REST API for fuel logs, statistics
Features:
- Multi-tenant support with tenant_id
- Complete workflow for work orders (draft→scheduled→in_progress→completed)
- Automatic efficiency calculation for fuel consumption
- Asset assignment history tracking
- Maintenance plan generation
- TCO tracking by cost type
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-25 05:41:54 -06:00 |
|