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.
104 lines
4.2 KiB
104 lines
4.2 KiB
// GENERATED CODE - DO NOT MODIFY BY HAND |
|
|
|
part of 'find_mini_group.dart'; |
|
|
|
// ************************************************************************** |
|
// JsonSerializableGenerator |
|
// ************************************************************************** |
|
|
|
FindMiniGroup _$FindMiniGroupFromJson(Map<String, dynamic> json) => |
|
FindMiniGroup() |
|
..id = json['id'] as String? |
|
..storeId = json['storeId'] as String? |
|
..groupName = json['groupName'] as String? |
|
..groupImg = json['groupImg'] as String? |
|
..sort = (json['sort'] as num?)?.toInt() |
|
..goodsIndex = (json['goodsIndex'] as num?)?.toInt() |
|
..height = (json['height'] as num?)?.toInt() |
|
..productList = (json['productList'] as List<dynamic>?) |
|
?.map((e) => ProductListBean.fromJson(e as Map<String, dynamic>)) |
|
.toList() |
|
..productPageVO = json['productPageVO']; |
|
|
|
Map<String, dynamic> _$FindMiniGroupToJson(FindMiniGroup instance) => |
|
<String, dynamic>{ |
|
'id': instance.id, |
|
'storeId': instance.storeId, |
|
'groupName': instance.groupName, |
|
'groupImg': instance.groupImg, |
|
'sort': instance.sort, |
|
'goodsIndex': instance.goodsIndex, |
|
'height': instance.height, |
|
'productList': instance.productList?.map((e) => e.toJson()).toList(), |
|
'productPageVO': instance.productPageVO, |
|
}; |
|
|
|
ProductListBean _$ProductListBeanFromJson(Map<String, dynamic> json) => |
|
ProductListBean() |
|
..id = json['id'] as String? |
|
..supplierName = json['supplierName'] as String? |
|
..storeId = json['storeId'] as String? |
|
..categoryId = json['categoryId'] as String? |
|
..groupId = json['groupId'] as String? |
|
..shortName = json['shortName'] as String? |
|
..productName = json['productName'] as String? |
|
..sellDesc = json['sellDesc'] as String? |
|
..productCode = json['productCode'] as String? |
|
..weight = json['weight'] as String? |
|
..applyPrice = json['applyPrice'] as String? |
|
..price = json['price'] as String? |
|
..stock = (json['stock'] as num?)?.toInt() |
|
..sellCount = (json['sellCount'] as num?)?.toInt() |
|
..needLogistics = (json['needLogistics'] as num?)?.toInt() |
|
..oversold = (json['oversold'] as num?)?.toInt() |
|
..status = (json['status'] as num?)?.toInt() |
|
..posShow = json['posShow'] as bool? |
|
..attrStyle = (json['attrStyle'] as num?)?.toInt() |
|
..isDelete = (json['isDelete'] as num?)?.toInt() |
|
..productAttrValues = json['productAttrValues'] |
|
..skuList = json['skuList'] |
|
..imgPathList = json['imgPathList'] |
|
..buyNum = (json['buyNum'] as num?)?.toInt() |
|
..imgPath = json['imgPath'] as String? |
|
..setMeal = (json['setMeal'] as num?)?.toInt() |
|
..printerFlag = json['printerFlag'] as String? |
|
..markProductNone = json['markProductNone'] |
|
..subscribeParam = json['subscribeParam'] == null |
|
? null |
|
: SubscribeParam.fromJson( |
|
json['subscribeParam'] as Map<String, dynamic>) |
|
..isSetMeal = json['isSetMeal'] as bool?; |
|
|
|
Map<String, dynamic> _$ProductListBeanToJson(ProductListBean instance) => |
|
<String, dynamic>{ |
|
'id': instance.id, |
|
'supplierName': instance.supplierName, |
|
'storeId': instance.storeId, |
|
'categoryId': instance.categoryId, |
|
'groupId': instance.groupId, |
|
'shortName': instance.shortName, |
|
'productName': instance.productName, |
|
'sellDesc': instance.sellDesc, |
|
'productCode': instance.productCode, |
|
'weight': instance.weight, |
|
'applyPrice': instance.applyPrice, |
|
'price': instance.price, |
|
'stock': instance.stock, |
|
'sellCount': instance.sellCount, |
|
'needLogistics': instance.needLogistics, |
|
'oversold': instance.oversold, |
|
'status': instance.status, |
|
'posShow': instance.posShow, |
|
'attrStyle': instance.attrStyle, |
|
'isDelete': instance.isDelete, |
|
'productAttrValues': instance.productAttrValues, |
|
'skuList': instance.skuList, |
|
'imgPathList': instance.imgPathList, |
|
'buyNum': instance.buyNum, |
|
'imgPath': instance.imgPath, |
|
'setMeal': instance.setMeal, |
|
'printerFlag': instance.printerFlag, |
|
'markProductNone': instance.markProductNone, |
|
'subscribeParam': instance.subscribeParam?.toJson(), |
|
'isSetMeal': instance.isSetMeal, |
|
};
|
|
|