feat: add ReferralCode to NetworkTree nodes - Added ReferralCode to SP_GetNetworkTree stored procedure - Added ReferralCode property to NetworkTreeDto and NetworkTreeNodeDto - Added referral_code field to networkmembership.proto - Updated Handler and Profile mappings
Build and Deploy to Production / build-and-deploy (push) Successful in 1m45s

This commit is contained in:
masoodafar-web
2025-12-25 19:21:36 +03:30
parent c03b3705c3
commit bca3b7fe62
5 changed files with 11 additions and 0 deletions
@@ -86,6 +86,7 @@ public class NetworkMembershipProfile : IRegister
{
UserId = node.UserId,
UserName = $"{node.FirstName} {node.LastName}".Trim(),
ReferralCode = node.ReferralCode ?? string.Empty,
NetworkLeg = (int)(node.LegPosition ?? NetworkLeg.Left),
NetworkLevel = node.CurrentDepth,
IsActive = true,