Credit lead-assignment data model (shared-lib)

Featurekamo-shared-library
Shipped
July 1, 2026 at 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?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing