feat: update commission payout model with user names and timestamps
All checks were successful
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 4m11s

This commit is contained in:
masoodafar-web
2025-12-12 19:31:32 +03:30
parent 2ae6034fbb
commit 6ae1b0cd70
5 changed files with 44 additions and 13 deletions

View File

@@ -209,18 +209,20 @@ message GetUserCommissionPayoutsResponse
message UserCommissionPayoutModel
{
int64 id = 1;
int64 user_id = 2;
string user_name = 3;
string week_number = 4;
int32 balances_earned = 5;
int64 value_per_balance = 6;
int64 total_amount = 7;
int32 status = 8; // CommissionPayoutStatus enum
google.protobuf.Int32Value withdrawal_method = 9;
string iban_number = 10;
google.protobuf.Timestamp created = 11;
google.protobuf.Timestamp last_modified = 12;
int64 id = 1;
int64 user_id = 2;
string user_name = 3;
string week_number = 4;
int64 weekly_pool_id = 5;
int64 balances_earned = 6;
int64 value_per_balance = 7;
int64 total_amount = 8;
int32 status = 9; // CommissionPayoutStatus enum
google.protobuf.Timestamp paid_at = 10;
google.protobuf.Int32Value withdrawal_method = 11;
string iban_number = 12;
google.protobuf.Timestamp withdrawn_at = 13;
google.protobuf.Timestamp created = 14;
}
// GetCommissionPayoutHistory Query