feat: update NetworkMembership Protobuf version and add referral code functionality with UI enhancements
Build and Deploy to Production / build-and-deploy (push) Has been cancelled

This commit is contained in:
masoodafar-web
2025-12-26 05:51:24 +03:30
parent 516da671c6
commit 1c61fe6846
4 changed files with 145 additions and 3 deletions
@@ -17,6 +17,10 @@ public class NetworkNodeDto
public DateTime? JoinedAt { get; set; }
public bool IsClubActive { get; set; }
public string? ActivationWeekNumber { get; set; }
/// <summary>
/// کد معرف کاربر
/// </summary>
public string? ReferralCode { get; set; }
}
/// <summary>
@@ -35,6 +39,10 @@ public class FlatNetworkNodeDto
public bool IsClubActive { get; set; }
public string? ActivationWeekNumber { get; set; }
public DateTime? JoinedAt { get; set; }
/// <summary>
/// کد معرف کاربر - فقط برای کاربران فعال در باشگاه نمایش داده شود
/// </summary>
public string? ReferralCode { get; set; }
}
/// <summary>
@@ -72,7 +80,8 @@ public class NetworkTreeDto
IsActive = node.IsActive,
IsClubActive = node.IsClubActive,
ActivationWeekNumber = node.ActivationWeekNumber,
JoinedAt = node.JoinedAt
JoinedAt = node.JoinedAt,
ReferralCode = node.ReferralCode
};
result.Add(flatNode);