Update user order proto and filter model
This commit is contained in:
@@ -10,20 +10,20 @@ public record GetAllUserOrderByFilterQuery : IRequest<GetAllUserOrderByFilterRes
|
|||||||
|
|
||||||
}public class GetAllUserOrderByFilterFilter
|
}public class GetAllUserOrderByFilterFilter
|
||||||
{
|
{
|
||||||
//شناسه
|
//شناسه
|
||||||
public long? Id { get; set; }
|
public long? Id { get; set; }
|
||||||
//قیمت
|
//قیمت
|
||||||
public long? Price { get; set; }
|
public long? Amount { get; set; }
|
||||||
//شناسه پکیج
|
//شناسه پکیج
|
||||||
public long? PackageId { get; set; }
|
public long? PackageId { get; set; }
|
||||||
//شناسه تراکنش
|
//شناسه تراکنش
|
||||||
public long? TransactionId { get; set; }
|
public long? TransactionId { get; set; }
|
||||||
//وضعیت پرداخت
|
//وضعیت پرداخت
|
||||||
public bool? PaymentStatus { get; set; }
|
public bool? PaymentStatus { get; set; }
|
||||||
//تاریخ پرداخت
|
//تاریخ پرداخت
|
||||||
public DateTime? PaymentDate { get; set; }
|
public DateTime? PaymentDate { get; set; }
|
||||||
//شناسه کاربر
|
//شناسه کاربر
|
||||||
public long? UserId { get; set; }
|
public long? UserId { get; set; }
|
||||||
//شناسه آدرس کاربر
|
//شناسه آدرس کاربر
|
||||||
public long? UserAddressId { get; set; }
|
public long? UserAddressId { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,27 +11,27 @@ public class GetAllUserOrderByFilterResponseDto
|
|||||||
|
|
||||||
}public class GetAllUserOrderByFilterResponseModel
|
}public class GetAllUserOrderByFilterResponseModel
|
||||||
{
|
{
|
||||||
//شناسه
|
//شناسه
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
//قیمت
|
//قیمت
|
||||||
public long Amount { get; set; }
|
public long Amount { get; set; }
|
||||||
//شناسه پکیج
|
//شناسه پکیج
|
||||||
public long PackageId { get; set; }
|
public long PackageId { get; set; }
|
||||||
//شناسه تراکنش
|
//شناسه تراکنش
|
||||||
public long? TransactionId { get; set; }
|
public long? TransactionId { get; set; }
|
||||||
//وضعیت پرداخت
|
//وضعیت پرداخت
|
||||||
public PaymentStatus PaymentStatus { get; set; }
|
public PaymentStatus PaymentStatus { get; set; }
|
||||||
//تاریخ پرداخت
|
//تاریخ پرداخت
|
||||||
public DateTime? PaymentDate { get; set; }
|
public DateTime? PaymentDate { get; set; }
|
||||||
//شناسه کاربر
|
//شناسه کاربر
|
||||||
public long UserId { get; set; }
|
public long UserId { get; set; }
|
||||||
//شناسه آدرس کاربر
|
//شناسه آدرس کاربر
|
||||||
public long UserAddressId { get; set; }
|
public long UserAddressId { get; set; }
|
||||||
//
|
//
|
||||||
public PaymentMethod? PaymentMethod { get; set; }
|
public PaymentMethod? PaymentMethod { get; set; }
|
||||||
//
|
//
|
||||||
public string? UserAddressText { get; set; }
|
public string? UserAddressText { get; set; }
|
||||||
//
|
//
|
||||||
public List<GetAllUserOrderByFilterResponseModelFactorDetail>? FactorDetails { get; set; }
|
public List<GetAllUserOrderByFilterResponseModelFactorDetail>? FactorDetails { get; set; }
|
||||||
}
|
}
|
||||||
public class GetAllUserOrderByFilterResponseModelFactorDetail
|
public class GetAllUserOrderByFilterResponseModelFactorDetail
|
||||||
|
|||||||
@@ -3,27 +3,27 @@ using FrontOffice.BFF.UserOrder.Protobuf.Protos.UserOrder;
|
|||||||
namespace FrontOffice.BFF.Application.UserOrderCQ.Queries.GetUserOrder;
|
namespace FrontOffice.BFF.Application.UserOrderCQ.Queries.GetUserOrder;
|
||||||
public class GetUserOrderResponseDto
|
public class GetUserOrderResponseDto
|
||||||
{
|
{
|
||||||
//شناسه
|
//شناسه
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
//قیمت
|
//قیمت
|
||||||
public long Amount { get; set; }
|
public long Amount { get; set; }
|
||||||
//شناسه پکیج
|
//شناسه پکیج
|
||||||
public long PackageId { get; set; }
|
public long PackageId { get; set; }
|
||||||
//شناسه تراکنش
|
//شناسه تراکنش
|
||||||
public long? TransactionId { get; set; }
|
public long? TransactionId { get; set; }
|
||||||
//وضعیت پرداخت
|
//وضعیت پرداخت
|
||||||
public PaymentStatus PaymentStatus { get; set; }
|
public PaymentStatus PaymentStatus { get; set; }
|
||||||
//تاریخ پرداخت
|
//تاریخ پرداخت
|
||||||
public DateTime? PaymentDate { get; set; }
|
public DateTime? PaymentDate { get; set; }
|
||||||
//شناسه کاربر
|
//شناسه کاربر
|
||||||
public long UserId { get; set; }
|
public long UserId { get; set; }
|
||||||
//شناسه آدرس کاربر
|
//شناسه آدرس کاربر
|
||||||
public long UserAddressId { get; set; }
|
public long UserAddressId { get; set; }
|
||||||
//
|
//
|
||||||
public PaymentMethod? PaymentMethod { get; set; }
|
public PaymentMethod? PaymentMethod { get; set; }
|
||||||
//
|
//
|
||||||
public string? UserAddressText { get; set; }
|
public string? UserAddressText { get; set; }
|
||||||
//
|
//
|
||||||
public List<GetUserOrderResponseFactorDetail>? FactorDetails { get; set; }
|
public List<GetUserOrderResponseFactorDetail>? FactorDetails { get; set; }
|
||||||
|
|
||||||
}public class GetUserOrderResponseFactorDetail
|
}public class GetUserOrderResponseFactorDetail
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Afrino.PYMSMicroservice.Protobuf" Version="0.0.11" />
|
<PackageReference Include="Afrino.PYMSMicroservice.Protobuf" Version="0.0.11" />
|
||||||
<PackageReference Include="Foursat.CMSMicroservice.Protobuf" Version="0.0.128" />
|
<PackageReference Include="Foursat.CMSMicroservice.Protobuf" Version="0.0.134" />
|
||||||
<PackageReference Include="Google.Protobuf" Version="3.33.0" />
|
<PackageReference Include="Google.Protobuf" Version="3.33.0" />
|
||||||
<PackageReference Include="Grpc.Net.ClientFactory" Version="2.54.0" />
|
<PackageReference Include="Grpc.Net.ClientFactory" Version="2.54.0" />
|
||||||
<PackageReference Include="Grpc.Tools" Version="2.76.0">
|
<PackageReference Include="Grpc.Tools" Version="2.76.0">
|
||||||
|
|||||||
@@ -81,14 +81,14 @@ message GetUserOrderResponse
|
|||||||
int64 amount = 2;
|
int64 amount = 2;
|
||||||
int64 package_id = 3;
|
int64 package_id = 3;
|
||||||
google.protobuf.Int64Value transaction_id = 4;
|
google.protobuf.Int64Value transaction_id = 4;
|
||||||
oneof PaymentStatus_item
|
oneof PaymentStatus_item
|
||||||
{
|
{
|
||||||
PaymentStatus payment_status = 5;
|
PaymentStatus payment_status = 5;
|
||||||
}
|
}
|
||||||
google.protobuf.Timestamp payment_date = 6;
|
google.protobuf.Timestamp payment_date = 6;
|
||||||
int64 user_id = 7;
|
int64 user_id = 7;
|
||||||
int64 user_address_id = 8;
|
int64 user_address_id = 8;
|
||||||
oneof PaymentMethod_item
|
oneof PaymentMethod_item
|
||||||
{
|
{
|
||||||
PaymentMethod payment_method = 9;
|
PaymentMethod payment_method = 9;
|
||||||
}
|
}
|
||||||
@@ -124,7 +124,7 @@ message GetAllUserOrderByFilterRequest
|
|||||||
message GetAllUserOrderByFilterFilter
|
message GetAllUserOrderByFilterFilter
|
||||||
{
|
{
|
||||||
google.protobuf.Int64Value id = 1;
|
google.protobuf.Int64Value id = 1;
|
||||||
google.protobuf.Int64Value price = 2;
|
google.protobuf.Int64Value amount = 2;
|
||||||
google.protobuf.Int64Value package_id = 3;
|
google.protobuf.Int64Value package_id = 3;
|
||||||
google.protobuf.Int64Value transaction_id = 4;
|
google.protobuf.Int64Value transaction_id = 4;
|
||||||
google.protobuf.BoolValue payment_status = 5;
|
google.protobuf.BoolValue payment_status = 5;
|
||||||
@@ -143,14 +143,14 @@ message GetAllUserOrderByFilterResponseModel
|
|||||||
int64 amount = 2;
|
int64 amount = 2;
|
||||||
int64 package_id = 3;
|
int64 package_id = 3;
|
||||||
google.protobuf.Int64Value transaction_id = 4;
|
google.protobuf.Int64Value transaction_id = 4;
|
||||||
oneof PaymentStatus_item
|
oneof PaymentStatus_item
|
||||||
{
|
{
|
||||||
PaymentStatus payment_status = 5;
|
PaymentStatus payment_status = 5;
|
||||||
}
|
}
|
||||||
google.protobuf.Timestamp payment_date = 6;
|
google.protobuf.Timestamp payment_date = 6;
|
||||||
int64 user_id = 7;
|
int64 user_id = 7;
|
||||||
int64 user_address_id = 8;
|
int64 user_address_id = 8;
|
||||||
oneof PaymentMethod_item
|
oneof PaymentMethod_item
|
||||||
{
|
{
|
||||||
PaymentMethod payment_method = 9;
|
PaymentMethod payment_method = 9;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user