Add category IDs support to product DTOs and protobuf
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<Version>0.0.1</Version>
|
||||
<Version>0.0.3</Version>
|
||||
<DebugType>None</DebugType>
|
||||
<DebugSymbols>False</DebugSymbols>
|
||||
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<Version>0.0.4</Version>
|
||||
<Version>0.0.6</Version>
|
||||
<DebugType>None</DebugType>
|
||||
<DebugSymbols>False</DebugSymbols>
|
||||
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
|
||||
|
||||
@@ -106,6 +106,8 @@ message CreateNewProductsRequest
|
||||
int32 rate = 7;
|
||||
ImageFileModel image_file = 8;
|
||||
ImageFileModel thumbnail_file = 9;
|
||||
// لیست شناسه دستهبندیهای محصول
|
||||
repeated int64 category_ids = 10;
|
||||
}
|
||||
|
||||
message CreateNewProductsResponse
|
||||
@@ -127,6 +129,8 @@ message UpdateProductsRequest
|
||||
string thumbnail_path = 10;
|
||||
ImageFileModel image_file = 11;
|
||||
ImageFileModel thumbnail_file = 12;
|
||||
// لیست شناسه دستهبندیهای محصول
|
||||
repeated int64 category_ids = 13;
|
||||
}
|
||||
|
||||
message DeleteProductsRequest
|
||||
@@ -154,6 +158,8 @@ message GetProductsResponse
|
||||
int32 sale_count = 11;
|
||||
int32 view_count = 12;
|
||||
int32 remaining_count = 13;
|
||||
// لیست شناسه دستهبندیهای محصول
|
||||
repeated int64 category_ids = 14;
|
||||
}
|
||||
|
||||
message GetAllProductsByFilterRequest
|
||||
@@ -196,6 +202,8 @@ message GetAllProductsByFilterResponseModel
|
||||
int32 sale_count = 11;
|
||||
int32 view_count = 12;
|
||||
int32 remaining_count = 13;
|
||||
// لیست شناسه دستهبندیهای محصول
|
||||
repeated int64 category_ids = 14;
|
||||
}
|
||||
|
||||
message PaginationState
|
||||
|
||||
Reference in New Issue
Block a user