feat(wallet): add current discount balance and change discount value to wallet history response DTOs and Protobuf definitions

This commit is contained in:
masoodafar-web
2026-06-20 23:31:29 +03:30
parent 02b2966e96
commit 758640cce3
5 changed files with 14 additions and 1 deletions
+1
View File
@@ -1,3 +1,4 @@
# CMS Microservice
Documentation moved to [totalDoc/INDEX.md](../totalDoc/INDEX.md).
@@ -20,6 +20,10 @@ public class GetAllUserWalletHistoryByFilterResponseDto
public long CurrentNetworkBalance { get; set; }
//تغییر موجودی شبکه
public long ChangeNerworkValue { get; set; }
//موجودی جاری اعتباری
public long CurrentDiscountBalance { get; set; }
//تغییر موجودی اعتباری
public long ChangeDiscountValue { get; set; }
//افزایشی؟
public bool IsIncrease { get; set; }
//شناسه ارجاع
@@ -13,6 +13,10 @@ public class GetUserWalletHistoryResponseDto
public long CurrentNetworkBalance { get; set; }
//تغییر موجودی شبکه
public long ChangeNerworkValue { get; set; }
//موجودی جاری اعتباری
public long CurrentDiscountBalance { get; set; }
//تغییر موجودی اعتباری
public long ChangeDiscountValue { get; set; }
//افزایشی؟
public bool IsIncrease { get; set; }
//شناسه ارجاع
@@ -3,7 +3,7 @@
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>0.0.199</Version>
<Version>0.0.200</Version>
<DebugType>None</DebugType>
<DebugSymbols>False</DebugSymbols>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
@@ -88,6 +88,8 @@ message GetUserWalletHistoryResponse
bool is_increase = 7;
google.protobuf.Int64Value refrence_id = 8;
google.protobuf.Timestamp created_at = 9;
int64 current_discount_balance = 10;
int64 change_discount_value = 11;
}
message GetAllUserWalletHistoryByFilterRequest
{
@@ -121,4 +123,6 @@ message GetAllUserWalletHistoryByFilterResponseModel
bool is_increase = 7;
google.protobuf.Int64Value refrence_id = 8;
google.protobuf.Timestamp created_at = 9;
int64 current_discount_balance = 10;
int64 change_discount_value = 11;
}