Commit Graph

4 Commits

Author SHA1 Message Date
Adrian Flores Cortes
6d84520811 feat(MAI-002): Add Torre, Nivel, Departamento entities for vertical structures
- Add torre.entity.ts for construction.torres table
- Add nivel.entity.ts for construction.niveles table
- Add departamento.entity.ts for construction.departamentos table
- Update etapa.entity.ts with OneToMany Torre relation
- Update avance-obra.entity.ts with ManyToOne Lote/Departamento relations
- Update entities index.ts with new exports

Completes vertical structure entities matching DDL schema.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 17:06:05 -06:00
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
c8a01c5f14 fix(hr): Fix PaginatedResult format in employee and puesto services
- Remove meta wrapper from PaginatedResult returns in findWithFilters and findAll
- Return flat format with total, page, limit, totalPages at top level
- Align with base.service.ts interface definition
- Controllers already updated to access flat pagination structure
2026-01-25 14:52:53 -06:00
7c1480a819 Migración desde erp-construccion/backend - Estándar multi-repo v2
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 08:11:14 -06:00