From 8a7d02ce81ac1da2032dbaf2760d25b1fbcd76b6 Mon Sep 17 00:00:00 2001 From: masoodafar-web Date: Tue, 25 Nov 2025 02:21:08 +0330 Subject: [PATCH] =?UTF-8?q?Generator=20Changes=20at=2011/25/2025=202:19:02?= =?UTF-8?q?=E2=80=AFAM=20+03:30?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SubmitShopBuyOrder/SubmitShopBuyOrderResponseDto.cs | 2 +- .../GetAllUserWalletByFilterQuery.cs | 2 +- .../GetAllUserWalletChangeLogByFilterQuery.cs | 2 ++ .../Persistence/Configurations/PruductTagConfiguration.cs | 6 +----- src/CMSMicroservice.Protobuf/Protos/userorder.proto | 2 +- src/CMSMicroservice.Protobuf/Protos/userwallet.proto | 2 +- .../Protos/userwalletchangelog.proto | 1 + 7 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/CMSMicroservice.Application/UserOrderCQ/Commands/SubmitShopBuyOrder/SubmitShopBuyOrderResponseDto.cs b/src/CMSMicroservice.Application/UserOrderCQ/Commands/SubmitShopBuyOrder/SubmitShopBuyOrderResponseDto.cs index 1c94188..f5eb615 100644 --- a/src/CMSMicroservice.Application/UserOrderCQ/Commands/SubmitShopBuyOrder/SubmitShopBuyOrderResponseDto.cs +++ b/src/CMSMicroservice.Application/UserOrderCQ/Commands/SubmitShopBuyOrder/SubmitShopBuyOrderResponseDto.cs @@ -8,7 +8,7 @@ public class SubmitShopBuyOrderResponseDto // public PaymentStatus PaymentStatus { get; set; } // - public DateTime? Created { get; set; } + public DateTime? PaymentDate { get; set; } // public PaymentMethod? PaymentMethod { get; set; } // diff --git a/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetAllUserWalletByFilter/GetAllUserWalletByFilterQuery.cs b/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetAllUserWalletByFilter/GetAllUserWalletByFilterQuery.cs index a8accdf..729a57f 100644 --- a/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetAllUserWalletByFilter/GetAllUserWalletByFilterQuery.cs +++ b/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetAllUserWalletByFilter/GetAllUserWalletByFilterQuery.cs @@ -17,5 +17,5 @@ public record GetAllUserWalletByFilterQuery : IRequest { @@ -13,18 +11,16 @@ public class PruductTagConfiguration : IEntityTypeConfiguration builder.Ignore(entity => entity.DomainEvents); builder.HasKey(entity => entity.Id); builder.Property(entity => entity.Id).UseIdentityColumn(); - builder .HasOne(entity => entity.Product) .WithMany(entity => entity.PruductTags) .HasForeignKey(entity => entity.ProductId) .IsRequired(true); - builder .HasOne(entity => entity.Tag) .WithMany(entity => entity.PruductTags) .HasForeignKey(entity => entity.TagId) .IsRequired(true); + } } - diff --git a/src/CMSMicroservice.Protobuf/Protos/userorder.proto b/src/CMSMicroservice.Protobuf/Protos/userorder.proto index 6049095..b10ea73 100644 --- a/src/CMSMicroservice.Protobuf/Protos/userorder.proto +++ b/src/CMSMicroservice.Protobuf/Protos/userorder.proto @@ -178,7 +178,7 @@ message SubmitShopBuyOrderResponse { messages.PaymentStatus payment_status = 2; } - google.protobuf.Timestamp created = 3; + google.protobuf.Timestamp payment_date = 3; oneof PaymentMethod_item { messages.PaymentMethod payment_method = 4; diff --git a/src/CMSMicroservice.Protobuf/Protos/userwallet.proto b/src/CMSMicroservice.Protobuf/Protos/userwallet.proto index 42defba..1e98a3f 100644 --- a/src/CMSMicroservice.Protobuf/Protos/userwallet.proto +++ b/src/CMSMicroservice.Protobuf/Protos/userwallet.proto @@ -87,7 +87,7 @@ message GetAllUserWalletByFilterFilter google.protobuf.Int64Value id = 1; google.protobuf.Int64Value user_id = 2; google.protobuf.Int64Value balance = 3; - int64 network_balance = 4; + google.protobuf.Int64Value network_balance = 4; } message GetAllUserWalletByFilterResponse { diff --git a/src/CMSMicroservice.Protobuf/Protos/userwalletchangelog.proto b/src/CMSMicroservice.Protobuf/Protos/userwalletchangelog.proto index 405146b..957558e 100644 --- a/src/CMSMicroservice.Protobuf/Protos/userwalletchangelog.proto +++ b/src/CMSMicroservice.Protobuf/Protos/userwalletchangelog.proto @@ -102,6 +102,7 @@ message GetAllUserWalletChangeLogByFilterFilter google.protobuf.Int64Value change_value = 4; google.protobuf.BoolValue is_increase = 5; google.protobuf.Int64Value refrence_id = 6; + google.protobuf.Int64Value user_id = 7; } message GetAllUserWalletChangeLogByFilterResponse {