Generator Changes at 11/25/2025 2:19:02 AM +03:30
This commit is contained in:
@@ -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; }
|
||||
//
|
||||
|
||||
@@ -17,5 +17,5 @@ public record GetAllUserWalletByFilterQuery : IRequest<GetAllUserWalletByFilterR
|
||||
//موجودی
|
||||
public long? Balance { get; set; }
|
||||
//موجودی شبکه
|
||||
public long NetworkBalance { get; set; }
|
||||
public long? NetworkBalance { get; set; }
|
||||
}
|
||||
|
||||
@@ -22,4 +22,6 @@ public record GetAllUserWalletChangeLogByFilterQuery : IRequest<GetAllUserWallet
|
||||
public bool? IsIncrease { get; set; }
|
||||
//شناسه ارجاع
|
||||
public long? RefrenceId { get; set; }
|
||||
//شناسه کاربر
|
||||
public long? UserId { get; set; }
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user