KamoCRM

Refactor Lead assignment from String to Employee reference

Featurekamo-shared-library
Shipped
3 பிப்ரவரி, 2026 அன்று 9:01 PM UTC
Author
Kamo
Commit
d398322

- Changed Lead.assignedUser (String) to Lead.assignedEmployee (Employee) - Added LeadAssignment entity to track assignment history - Added LeadAssignmentType enum with various assignment types - Added LeadCredit entity for tracking employee lead credits - Added LeadAllotment entity for managing employee lead allotments - Added corresponding repositories and services - Updated LeadService to record assignments automatically - Updated LeadDTO and request DTOs for the new structure - Added MemberService methods for retrieving employees by organization - Database datetime fields now use DB-level defaults for consistency

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