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 PaymentStatus PaymentStatus { get; set; }
|
||||||
//
|
//
|
||||||
public DateTime? Created { get; set; }
|
public DateTime? PaymentDate { get; set; }
|
||||||
//
|
//
|
||||||
public PaymentMethod? PaymentMethod { get; set; }
|
public PaymentMethod? PaymentMethod { get; set; }
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -17,5 +17,5 @@ public record GetAllUserWalletByFilterQuery : IRequest<GetAllUserWalletByFilterR
|
|||||||
//موجودی
|
//موجودی
|
||||||
public long? Balance { get; set; }
|
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 bool? IsIncrease { get; set; }
|
||||||
//شناسه ارجاع
|
//شناسه ارجاع
|
||||||
public long? RefrenceId { get; set; }
|
public long? RefrenceId { get; set; }
|
||||||
|
//شناسه کاربر
|
||||||
|
public long? UserId { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
using CMSMicroservice.Domain.Entities;
|
using CMSMicroservice.Domain.Entities;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||||
|
|
||||||
namespace CMSMicroservice.Infrastructure.Persistence.Configurations;
|
namespace CMSMicroservice.Infrastructure.Persistence.Configurations;
|
||||||
|
|
||||||
//برچسب محصول
|
//برچسب محصول
|
||||||
public class PruductTagConfiguration : IEntityTypeConfiguration<PruductTag>
|
public class PruductTagConfiguration : IEntityTypeConfiguration<PruductTag>
|
||||||
{
|
{
|
||||||
@@ -13,18 +11,16 @@ public class PruductTagConfiguration : IEntityTypeConfiguration<PruductTag>
|
|||||||
builder.Ignore(entity => entity.DomainEvents);
|
builder.Ignore(entity => entity.DomainEvents);
|
||||||
builder.HasKey(entity => entity.Id);
|
builder.HasKey(entity => entity.Id);
|
||||||
builder.Property(entity => entity.Id).UseIdentityColumn();
|
builder.Property(entity => entity.Id).UseIdentityColumn();
|
||||||
|
|
||||||
builder
|
builder
|
||||||
.HasOne(entity => entity.Product)
|
.HasOne(entity => entity.Product)
|
||||||
.WithMany(entity => entity.PruductTags)
|
.WithMany(entity => entity.PruductTags)
|
||||||
.HasForeignKey(entity => entity.ProductId)
|
.HasForeignKey(entity => entity.ProductId)
|
||||||
.IsRequired(true);
|
.IsRequired(true);
|
||||||
|
|
||||||
builder
|
builder
|
||||||
.HasOne(entity => entity.Tag)
|
.HasOne(entity => entity.Tag)
|
||||||
.WithMany(entity => entity.PruductTags)
|
.WithMany(entity => entity.PruductTags)
|
||||||
.HasForeignKey(entity => entity.TagId)
|
.HasForeignKey(entity => entity.TagId)
|
||||||
.IsRequired(true);
|
.IsRequired(true);
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ message SubmitShopBuyOrderResponse
|
|||||||
{
|
{
|
||||||
messages.PaymentStatus payment_status = 2;
|
messages.PaymentStatus payment_status = 2;
|
||||||
}
|
}
|
||||||
google.protobuf.Timestamp created = 3;
|
google.protobuf.Timestamp payment_date = 3;
|
||||||
oneof PaymentMethod_item
|
oneof PaymentMethod_item
|
||||||
{
|
{
|
||||||
messages.PaymentMethod payment_method = 4;
|
messages.PaymentMethod payment_method = 4;
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ message GetAllUserWalletByFilterFilter
|
|||||||
google.protobuf.Int64Value id = 1;
|
google.protobuf.Int64Value id = 1;
|
||||||
google.protobuf.Int64Value user_id = 2;
|
google.protobuf.Int64Value user_id = 2;
|
||||||
google.protobuf.Int64Value balance = 3;
|
google.protobuf.Int64Value balance = 3;
|
||||||
int64 network_balance = 4;
|
google.protobuf.Int64Value network_balance = 4;
|
||||||
}
|
}
|
||||||
message GetAllUserWalletByFilterResponse
|
message GetAllUserWalletByFilterResponse
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -102,6 +102,7 @@ message GetAllUserWalletChangeLogByFilterFilter
|
|||||||
google.protobuf.Int64Value change_value = 4;
|
google.protobuf.Int64Value change_value = 4;
|
||||||
google.protobuf.BoolValue is_increase = 5;
|
google.protobuf.BoolValue is_increase = 5;
|
||||||
google.protobuf.Int64Value refrence_id = 6;
|
google.protobuf.Int64Value refrence_id = 6;
|
||||||
|
google.protobuf.Int64Value user_id = 7;
|
||||||
}
|
}
|
||||||
message GetAllUserWalletChangeLogByFilterResponse
|
message GetAllUserWalletChangeLogByFilterResponse
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user