Add product gallery support to products query

This commit is contained in:
masoodafar-web
2025-11-28 07:57:19 +03:30
parent fc4f6defb3
commit c4826fe9d7
5 changed files with 73 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ message GetProductsResponse
int32 sale_count = 11;
int32 view_count = 12;
int32 remaining_count = 13;
repeated ProductGalleryItem gallery = 14;
}
message GetAllProductsByFilterRequest
{
@@ -84,6 +85,15 @@ message GetAllProductsByFilterResponseModel
int32 remaining_count = 13;
}
message ProductGalleryItem
{
int64 product_gallery_id = 1;
int64 product_image_id = 2;
string title = 3;
string image_path = 4;
string image_thumbnail_path = 5;
}
message PaginationState
{
int32 page_number = 1;