From 186abe042f5104abc69be5aae6f2503e2910f90c Mon Sep 17 00:00:00 2001 From: masoodafar-web Date: Fri, 4 Sep 2026 04:14:36 +0330 Subject: [PATCH] feat(network-statistics): add total members and leg count properties with localization - Introduced new properties for total members, left leg count, and right leg count in the NetworkStatisticsDto class to enhance data representation. - Added localization comments in Persian for better understanding of the new properties. - Updated the .gitignore file to ensure consistency with the latest Visual Studio ignore patterns. These changes improve the clarity and usability of the network statistics, providing a more comprehensive view of member distribution. --- .gitignore | 2 +- src/FrontOffice.Main/Utilities/NetworkMembershipDtos.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 1c55f34..0f13c79 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. ## -## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore +## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore # User-specific files *.rsuser diff --git a/src/FrontOffice.Main/Utilities/NetworkMembershipDtos.cs b/src/FrontOffice.Main/Utilities/NetworkMembershipDtos.cs index cf10924..a6c2128 100644 --- a/src/FrontOffice.Main/Utilities/NetworkMembershipDtos.cs +++ b/src/FrontOffice.Main/Utilities/NetworkMembershipDtos.cs @@ -146,8 +146,11 @@ public class LastMemberDto /// public class NetworkStatisticsDto { + /// اعضای فعال باشگاه در پای چپ public int LeftLegCount { get; set; } + /// اعضای فعال باشگاه در پای راست public int RightLegCount { get; set; } + /// LeftLegCount + RightLegCount public int TotalMembers { get; set; } public int TreeDepth { get; set; } public string WeakerLeg { get; set; } = string.Empty; // "Left" or "Right"