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.
67 lines
1.6 KiB
67 lines
1.6 KiB
import 'package:huixiang/data/product_sku_list.dart'; |
|
import 'package:huixiang/generated/json/base/json_field.dart'; |
|
import 'package:huixiang/generated/json/product_show.g.dart'; |
|
import 'dart:convert'; |
|
export 'package:huixiang/generated/json/product_show.g.dart'; |
|
|
|
@JsonSerializable() |
|
class ProductShow { |
|
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 = ''; |
|
dynamic vipPrice; |
|
int? stock = 0; |
|
int? sellCount = 0; |
|
int? needLogistics = 0; |
|
int? oversold = 0; |
|
int? organic = 0; |
|
int? status = 0; |
|
bool? posShow = false; |
|
dynamic subscribeParam; |
|
bool? isRaise = false; |
|
int? productType = 0; |
|
int? productNumber = 0; |
|
int? setMeal = 0; |
|
int? attrStyle = 0; |
|
String? detail = ''; |
|
int? isDelete = 0; |
|
String? printerFlag = ''; |
|
dynamic materials; |
|
dynamic materialId; |
|
String? details = ''; |
|
String? thumbnailImg = ''; |
|
String? info = ''; |
|
int? buyCount = 0; |
|
int? sellCountLimit = 0; |
|
dynamic stockRecoveryTime; |
|
dynamic isAddPurchase; |
|
int? limitNum = 0; |
|
String? rankId = ''; |
|
int? happyBean = 0; |
|
List<String>? imgs = []; |
|
List<ProductSkuList>? productSkuList = []; |
|
|
|
ProductShow(); |
|
|
|
factory ProductShow.fromJson(Map<String, dynamic> json) => $ProductShowFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => $ProductShowToJson(this); |
|
|
|
@override |
|
String toString() { |
|
return jsonEncode(this); |
|
} |
|
}
|
|
|