Generator Changes at 11/25/2025 2:19:02 AM +03:30

This commit is contained in:
masoodafar-web
2025-11-25 02:21:08 +03:30
parent 358ffc438d
commit 8a7d02ce81
7 changed files with 8 additions and 9 deletions

View File

@@ -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; }
//

View File

@@ -17,5 +17,5 @@ public record GetAllUserWalletByFilterQuery : IRequest<GetAllUserWalletByFilterR
//موجودی
public long? Balance { get; set; }
//موجودی شبکه
public long NetworkBalance { get; set; }
public long? NetworkBalance { get; set; }
}

View File

@@ -22,4 +22,6 @@ public record GetAllUserWalletChangeLogByFilterQuery : IRequest<GetAllUserWallet
public bool? IsIncrease { get; set; }
//شناسه ارجاع
public long? RefrenceId { get; set; }
//شناسه کاربر
public long? UserId { get; set; }
}

View File

@@ -1,9 +1,7 @@
using CMSMicroservice.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace CMSMicroservice.Infrastructure.Persistence.Configurations;
//برچسب محصول
public class PruductTagConfiguration : IEntityTypeConfiguration<PruductTag>
{
@@ -13,18 +11,16 @@ public class PruductTagConfiguration : IEntityTypeConfiguration<PruductTag>
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);
}
}

View File

@@ -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;

View File

@@ -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
{

View File

@@ -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
{