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.
 
 
 
 
 
 

110 lines
4.5 KiB

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'product_show.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
ProductShow _$ProductShowFromJson(Map<String, dynamic> json) => ProductShow()
..id = json['id'] as String?
..createTime = json['createTime'] as String?
..createUser = json['createUser'] as String?
..updateTime = json['updateTime'] as String?
..updateUser = json['updateUser'] 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?
..vipPrice = json['vipPrice']
..stock = (json['stock'] as num?)?.toInt()
..sellCount = (json['sellCount'] as num?)?.toInt()
..needLogistics = (json['needLogistics'] as num?)?.toInt()
..oversold = (json['oversold'] as num?)?.toInt()
..organic = (json['organic'] as num?)?.toInt()
..status = (json['status'] as num?)?.toInt()
..posShow = json['posShow'] as bool?
..subscribeParam = json['subscribeParam']
..isRaise = json['isRaise'] as bool?
..productType = (json['productType'] as num?)?.toInt()
..productNumber = (json['productNumber'] as num?)?.toInt()
..setMeal = (json['setMeal'] as num?)?.toInt()
..attrStyle = (json['attrStyle'] as num?)?.toInt()
..detail = json['detail'] as String?
..isDelete = (json['isDelete'] as num?)?.toInt()
..printerFlag = json['printerFlag'] as String?
..materials = json['materials']
..materialId = json['materialId']
..details = json['details'] as String?
..thumbnailImg = json['thumbnailImg'] as String?
..info = json['info'] as String?
..buyCount = (json['buyCount'] as num?)?.toInt()
..sellCountLimit = (json['sellCountLimit'] as num?)?.toInt()
..stockRecoveryTime = json['stockRecoveryTime']
..isAddPurchase = json['isAddPurchase']
..limitNum = (json['limitNum'] as num?)?.toInt()
..rankId = json['rankId'] as String?
..happyBean = (json['happyBean'] as num?)?.toInt()
..imgs = (json['imgs'] as List<dynamic>?)?.map((e) => e as String).toList()
..productSkuList = (json['productSkuList'] as List<dynamic>?)
?.map((e) => ProductSkuList.fromJson(e as Map<String, dynamic>))
.toList();
Map<String, dynamic> _$ProductShowToJson(ProductShow instance) =>
<String, dynamic>{
'id': instance.id,
'createTime': instance.createTime,
'createUser': instance.createUser,
'updateTime': instance.updateTime,
'updateUser': instance.updateUser,
'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,
'vipPrice': instance.vipPrice,
'stock': instance.stock,
'sellCount': instance.sellCount,
'needLogistics': instance.needLogistics,
'oversold': instance.oversold,
'organic': instance.organic,
'status': instance.status,
'posShow': instance.posShow,
'subscribeParam': instance.subscribeParam,
'isRaise': instance.isRaise,
'productType': instance.productType,
'productNumber': instance.productNumber,
'setMeal': instance.setMeal,
'attrStyle': instance.attrStyle,
'detail': instance.detail,
'isDelete': instance.isDelete,
'printerFlag': instance.printerFlag,
'materials': instance.materials,
'materialId': instance.materialId,
'details': instance.details,
'thumbnailImg': instance.thumbnailImg,
'info': instance.info,
'buyCount': instance.buyCount,
'sellCountLimit': instance.sellCountLimit,
'stockRecoveryTime': instance.stockRecoveryTime,
'isAddPurchase': instance.isAddPurchase,
'limitNum': instance.limitNum,
'rankId': instance.rankId,
'happyBean': instance.happyBean,
'imgs': instance.imgs,
'productSkuList':
instance.productSkuList?.map((e) => e.toJson()).toList(),
};