Merge branch 'newmain'
This commit is contained in:
@@ -4,34 +4,24 @@ public class GetAllUserCartResponseDto
|
||||
//متادیتا
|
||||
public MetaData MetaData { get; set; }
|
||||
//مدل خروجی
|
||||
public List<GetAllProductsByFilterResponseModel>? Models { get; set; }
|
||||
public List<GetAllUserCartResponseModel>? Models { get; set; }
|
||||
|
||||
}public class GetAllProductsByFilterResponseModel
|
||||
}public class GetAllUserCartResponseModel
|
||||
{
|
||||
//
|
||||
public long Id { get; set; }
|
||||
//
|
||||
public string Title { get; set; }
|
||||
public string ProductTitle { get; set; }
|
||||
//
|
||||
public string Description { get; set; }
|
||||
public string ProductShortInfomation { get; set; }
|
||||
//
|
||||
public string ShortInfomation { get; set; }
|
||||
public long ProductPrice { get; set; }
|
||||
//
|
||||
public string FullInformation { get; set; }
|
||||
public int ProductDiscount { get; set; }
|
||||
//
|
||||
public long Price { get; set; }
|
||||
public string ProductThumbnailPath { get; set; }
|
||||
//
|
||||
public int Discount { get; set; }
|
||||
public int Count { get; set; }
|
||||
//
|
||||
public int Rate { get; set; }
|
||||
//
|
||||
public string ImagePath { get; set; }
|
||||
//
|
||||
public string ThumbnailPath { get; set; }
|
||||
//
|
||||
public int SaleCount { get; set; }
|
||||
//
|
||||
public int ViewCount { get; set; }
|
||||
//
|
||||
public int RemainingCount { get; set; }
|
||||
public DateTime Created { get; set; }
|
||||
}
|
||||
|
||||
@@ -39,23 +39,18 @@ message AddNewUserCartRequest
|
||||
message GetAllUserCartResponse
|
||||
{
|
||||
MetaData meta_data = 1;
|
||||
repeated GetAllProductsByFilterResponseModel models = 2;
|
||||
repeated GetAllUserCartResponseModel models = 2;
|
||||
}
|
||||
message GetAllProductsByFilterResponseModel
|
||||
message GetAllUserCartResponseModel
|
||||
{
|
||||
int64 id = 1;
|
||||
string title = 2;
|
||||
string description = 3;
|
||||
string short_infomation = 4;
|
||||
string full_information = 5;
|
||||
int64 price = 6;
|
||||
int32 discount = 7;
|
||||
int32 rate = 8;
|
||||
string image_path = 9;
|
||||
string thumbnail_path = 10;
|
||||
int32 sale_count = 11;
|
||||
int32 view_count = 12;
|
||||
int32 remaining_count = 13;
|
||||
string product_title = 2;
|
||||
string product_short_infomation = 3;
|
||||
int64 product_price = 4;
|
||||
int32 product_discount = 5;
|
||||
string product_thumbnail_path = 6;
|
||||
int32 count = 7;
|
||||
google.protobuf.Timestamp created = 8;
|
||||
}
|
||||
message UpdateUserCartRequest
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user