Add payment method and delivery status filters to user order queries

This commit is contained in:
masoodafar-web
2025-11-27 18:59:22 +03:30
parent ebd48c02a5
commit 10035b328b
5 changed files with 73 additions and 2 deletions
@@ -104,6 +104,8 @@ message GetUserOrderResponse
google.protobuf.StringValue user_full_name = 14;
// کدملی کاربر
google.protobuf.StringValue user_national_code = 15;
// روش پرداخت (0=IPG,1=Wallet)
int32 payment_method = 16;
}
message GetAllUserOrderByFilterRequest
{
@@ -121,6 +123,10 @@ message GetAllUserOrderByFilterFilter
google.protobuf.Timestamp payment_date = 6;
google.protobuf.Int64Value user_id = 7;
google.protobuf.Int64Value user_address_id = 8;
// فیلتر وضعیت ارسال (مقدار عددی DeliveryStatus)
google.protobuf.Int32Value delivery_status = 9;
// فیلتر روش پرداخت (0=IPG,1=Wallet)
google.protobuf.Int32Value payment_method = 10;
}
message GetAllUserOrderByFilterResponse
{
@@ -150,6 +156,8 @@ message GetAllUserOrderByFilterResponseModel
google.protobuf.StringValue user_full_name = 13;
// کدملی کاربر
google.protobuf.StringValue user_national_code = 14;
// روش پرداخت (0=IPG,1=Wallet)
int32 payment_method = 15;
}
// جزئیات فاکتور سفارش