KamoCRM

Credit lead-assignment data model (shared-lib)

Featurekamo-shared-library
Shipped
1 ஜூலை, 2026 அன்று 8:36 PM UTC
Author
Kamo
Commit
79bc301

- Lead: requiresAssignment flag + markedForReassignmentAt/By (nullable; null actor = vendor/API import) - **************** + eventTypeForKey routing + registry descriptor - **************** (org-wide history via shared predicate builder) - RoleRightType.MANAGE_CREDITS (146, CRM group) — self-heals on SecurityService boot - DailyAllotmentGrant entity + repository (once-per-local-day grant, idempotent) - **************** per-member day boundary - LeadRepository: assignable-pool count/fetch + pessimistic-lock claim (multi-instance safe) - LeadCreditRepository: per-vendor-product balance + daily-spend counts Additive schema only (new nullable/defaulted columns + new table). Reuses existing **************** Compiles clean (mvn).

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing