feat: update user weekly balances model and mappings - Enhanced UserWeeklyBalanceModel with new properties and updated mappings in response DTO and profile
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 1m34s

This commit is contained in:
masoodafar-web
2025-12-27 21:52:42 +03:30
parent 7087df23ef
commit ed45a1759b
6 changed files with 43 additions and 18 deletions
@@ -3,7 +3,7 @@
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>0.0.161</Version>
<Version>0.0.162</Version>
<DebugType>None</DebugType>
<DebugSymbols>False</DebugSymbols>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
@@ -316,15 +316,20 @@ message UserWeeklyBalanceModel
{
int64 id = 1;
int64 user_id = 2;
int64 week_definition_id = 3;
string week_display_name = 4;
int32 left_leg_balances = 5;
int32 right_leg_balances = 6;
int32 total_balances = 7;
int64 weekly_pool_contribution = 8;
google.protobuf.Timestamp calculated_at = 9;
bool is_expired = 10;
google.protobuf.Timestamp created = 11;
string user_full_name = 3; // نام کامل کاربر
int64 week_definition_id = 4;
string week_display_name = 5;
int32 left_leg_new_members = 6; // اعضای جدید چپ این هفته
int32 left_leg_carryover = 7; // باقیمانده چپ از هفته قبل
int32 left_leg_total = 8; // مجموع چپ (NewMembers + Carryover)
int32 right_leg_new_members = 9; // اعضای جدید راست این هفته
int32 right_leg_carryover = 10; // باقیمانده راست از هفته قبل
int32 right_leg_total = 11; // مجموع راست (NewMembers + Carryover)
int32 total_balances = 12; // تعداد تعادل = MIN(چپ, راست)
int64 weekly_pool_contribution = 13;
google.protobuf.Timestamp calculated_at = 14;
bool is_expired = 15;
google.protobuf.Timestamp created = 16;
}
// GetAllWeeklyPools Query