feat: update package version and enhance network membership DTOs

- Updated the version of the Foursat.CMSMicroservice.Protobuf package from 0.0.197 to 0.0.199.
- Added a new property `PackageName` to `NetworkNodeDto` and `FlatNetworkNodeDto` for better representation of membership packages.
- Updated mapping in `NetworkMembershipService` to include the new `PackageName` property.
- Enhanced the org chart display by adding a badge for the package name in the UI.

These changes improve the clarity and functionality of the network membership features.
This commit is contained in:
masoodafar-web
2026-06-11 23:33:40 +03:30
parent c2fd8790b6
commit 34c5c508e0
6 changed files with 298 additions and 3 deletions
@@ -21,6 +21,11 @@ public class NetworkNodeDto
/// کد معرف کاربر
/// </summary>
public string? ReferralCode { get; set; }
/// <summary>
/// نام پکیج موثر (مثلاً پکیج طلایی / نقره‌ای)
/// </summary>
public string? PackageName { get; set; }
}
/// <summary>
@@ -43,6 +48,11 @@ public class FlatNetworkNodeDto
/// کد معرف کاربر - فقط برای کاربران فعال در باشگاه نمایش داده شود
/// </summary>
public string? ReferralCode { get; set; }
/// <summary>
/// نام پکیج موثر (مثلاً پکیج طلایی / نقره‌ای)
/// </summary>
public string? PackageName { get; set; }
}
/// <summary>
@@ -81,7 +91,8 @@ public class NetworkTreeDto
IsClubActive = node.IsClubActive,
ActivationWeekNumber = node.ActivationWeekNumber,
JoinedAt = node.JoinedAt,
ReferralCode = node.ReferralCode
ReferralCode = node.ReferralCode,
PackageName = node.PackageName
};
result.Add(flatNode);