Commit Graph

2 Commits

Author SHA1 Message Date
Adrian Flores Cortes
2caa489093 [GAP-006,007] feat: Add Digital Signatures and Audit Change Log
GAP-006: Digital Signatures (3 SP)
- digital-signature.entity.ts: Firma simple/avanzada/cualificada
- digital-signature.service.ts: Request, sign, reject, revoke, validate
- digital-signature.controller.ts: REST endpoints

GAP-007: Audit Change Log (5 SP)
- change-log.entity.ts: Registro de cambios via triggers
- change-log.service.ts: Queries, history, statistics
- change-log.controller.ts: REST endpoints

Routes registered in server.ts:
- /api/v1/digital-signatures
- /api/v1/change-log

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 01:14:53 -06:00
Adrian Flores Cortes
22b9692e3a [MAE-016] feat: Add Documents module (Gestion Documental)
- Create 11 entities matching DDL:
  - DocumentCategory: Hierarchical categories
  - Document: Main document registry
  - DocumentVersion: Version control with files
  - DocumentPermission: Granular permissions
  - ApprovalWorkflow: Workflow definitions
  - ApprovalInstance: Active workflow instances
  - ApprovalStep: Steps per instance
  - ApprovalActionEntity: Actions taken
  - Annotation: Comments and markups
  - AccessLog: Access history
  - DocumentShare: External sharing links
- Create DocumentService with full CRUD
- Create DocumentVersionService for version management
- All entities follow ERP-Construction patterns

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 08:22:49 -06:00