feat(network-statistics): add total members and leg count properties with localization
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 4m23s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 4m23s
- 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.
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
## Ignore Visual Studio temporary files, build results, and
|
## Ignore Visual Studio temporary files, build results, and
|
||||||
## files generated by popular Visual Studio add-ons.
|
## 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
|
# User-specific files
|
||||||
*.rsuser
|
*.rsuser
|
||||||
|
|||||||
@@ -146,8 +146,11 @@ public class LastMemberDto
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public class NetworkStatisticsDto
|
public class NetworkStatisticsDto
|
||||||
{
|
{
|
||||||
|
/// <summary>اعضای فعال باشگاه در پای چپ</summary>
|
||||||
public int LeftLegCount { get; set; }
|
public int LeftLegCount { get; set; }
|
||||||
|
/// <summary>اعضای فعال باشگاه در پای راست</summary>
|
||||||
public int RightLegCount { get; set; }
|
public int RightLegCount { get; set; }
|
||||||
|
/// <summary>LeftLegCount + RightLegCount</summary>
|
||||||
public int TotalMembers { get; set; }
|
public int TotalMembers { get; set; }
|
||||||
public int TreeDepth { get; set; }
|
public int TreeDepth { get; set; }
|
||||||
public string WeakerLeg { get; set; } = string.Empty; // "Left" or "Right"
|
public string WeakerLeg { get; set; } = string.Empty; // "Left" or "Right"
|
||||||
|
|||||||
Reference in New Issue
Block a user