You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.4 KiB
56 lines
1.4 KiB
import 'package:huixiang/data/product_sku_list.dart'; |
|
import 'package:huixiang/generated/json/base/json_field.dart'; |
|
import 'package:huixiang/generated/json/home_recommend_list.g.dart'; |
|
import 'dart:convert'; |
|
|
|
import 'package:huixiang/generated/json/product_show.g.dart'; |
|
export 'package:huixiang/generated/json/home_recommend_list.g.dart'; |
|
|
|
@JsonSerializable() |
|
class HomeRecommendList { |
|
String? id = ''; |
|
String? createTime = ''; |
|
String? createUser = ''; |
|
String? updateTime = ''; |
|
String? updateUser = ''; |
|
String? supplierName = ''; |
|
String? storeId = ''; |
|
String? categoryId = ''; |
|
String? groupId = ''; |
|
String? shortName = ''; |
|
String? productName = ''; |
|
String? sellDesc = ''; |
|
String? productCode = ''; |
|
String? weight = ''; |
|
String? applyPrice = ''; |
|
String? price = ''; |
|
int? stock = 0; |
|
int? sellCount = 0; |
|
int? needLogistics = 0; |
|
int? oversold = 0; |
|
int? organic = 0; |
|
int? status = 0; |
|
bool? posShow = false; |
|
int? productType = 0; |
|
int? productNumber = 0; |
|
int? setMeal = 0; |
|
int? attrStyle = 0; |
|
String? detail = ''; |
|
int? isDelete = 0; |
|
String? printerFlag = ''; |
|
dynamic materialId; |
|
List<String>? imgs = []; |
|
List<ProductSkuList>? productSkuList = []; |
|
|
|
HomeRecommendList(); |
|
|
|
factory HomeRecommendList.fromJson(Map<String, dynamic> json) => $HomeRecommendListFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => $HomeRecommendListToJson(this); |
|
|
|
@override |
|
String toString() { |
|
return jsonEncode(this); |
|
} |
|
} |
|
|
|
|