diff --git a/README.md b/README.md index f542b5b..9ef67cc 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ # CMS Microservice Documentation moved to [totalDoc/INDEX.md](../totalDoc/INDEX.md). + \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserWalletHistoryCQ/Queries/GetAllUserWalletHistoryByFilter/GetAllUserWalletHistoryByFilterResponseDto.cs b/src/CMSMicroservice.Application/UserWalletHistoryCQ/Queries/GetAllUserWalletHistoryByFilter/GetAllUserWalletHistoryByFilterResponseDto.cs index 81cfc31..e82e999 100644 --- a/src/CMSMicroservice.Application/UserWalletHistoryCQ/Queries/GetAllUserWalletHistoryByFilter/GetAllUserWalletHistoryByFilterResponseDto.cs +++ b/src/CMSMicroservice.Application/UserWalletHistoryCQ/Queries/GetAllUserWalletHistoryByFilter/GetAllUserWalletHistoryByFilterResponseDto.cs @@ -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; } //شناسه ارجاع diff --git a/src/CMSMicroservice.Application/UserWalletHistoryCQ/Queries/GetUserWalletHistory/GetUserWalletHistoryResponseDto.cs b/src/CMSMicroservice.Application/UserWalletHistoryCQ/Queries/GetUserWalletHistory/GetUserWalletHistoryResponseDto.cs index d2e672f..d44cd11 100644 --- a/src/CMSMicroservice.Application/UserWalletHistoryCQ/Queries/GetUserWalletHistory/GetUserWalletHistoryResponseDto.cs +++ b/src/CMSMicroservice.Application/UserWalletHistoryCQ/Queries/GetUserWalletHistory/GetUserWalletHistoryResponseDto.cs @@ -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; } //شناسه ارجاع diff --git a/src/CMSMicroservice.Protobuf/CMSMicroservice.Protobuf.csproj b/src/CMSMicroservice.Protobuf/CMSMicroservice.Protobuf.csproj index eac90ba..8525e81 100644 --- a/src/CMSMicroservice.Protobuf/CMSMicroservice.Protobuf.csproj +++ b/src/CMSMicroservice.Protobuf/CMSMicroservice.Protobuf.csproj @@ -3,7 +3,7 @@ net9.0 enable enable - 0.0.199 + 0.0.200 None False False diff --git a/src/CMSMicroservice.Protobuf/Protos/userwallethistory.proto b/src/CMSMicroservice.Protobuf/Protos/userwallethistory.proto index 010841f..40d3423 100644 --- a/src/CMSMicroservice.Protobuf/Protos/userwallethistory.proto +++ b/src/CMSMicroservice.Protobuf/Protos/userwallethistory.proto @@ -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; }