Add lead-history audit log — entity, registry, service, DTO, LeadService hooks

Featurekamo-shared-library
Ya
27 Aprili 2026, 20:31 UTC
Mwandishi
Kamo
Ahadi ya
e0515ae

- LeadHistory entity (UUID PK, plain Long FKs — no FK constraints to allow lead deletion/conversion) - LeadHistoryEventType enum with human-readable labels - LeadHistoryFieldRegistry: single source of truth for ~55 tracked Lead fields; adding a field is one line - LeadFieldDescriptor record (key, label, category, extractor) - LeadHistoryService: snapshot/diff pipeline, **************** paginated+filtered findHistory, distinctFields/Actors for filter dropdowns - LeadHistoryDTO with nested ActorDTO; all Long IDs serialized as String for CockroachDB JS precision safety - LeadService: history hooks on create, update, delete, assignLead, assignLeadAccount, unassignLeadAccount

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei