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.
84 lines
3.5 KiB
84 lines
3.5 KiB
// GENERATED CODE - DO NOT MODIFY BY HAND |
|
|
|
part of 'home_recommend_list.dart'; |
|
|
|
// ************************************************************************** |
|
// JsonSerializableGenerator |
|
// ************************************************************************** |
|
|
|
HomeRecommendList _$HomeRecommendListFromJson(Map<String, dynamic> json) => |
|
HomeRecommendList() |
|
..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? |
|
..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? |
|
..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? |
|
..materialId = json['materialId'] |
|
..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> _$HomeRecommendListToJson(HomeRecommendList 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, |
|
'stock': instance.stock, |
|
'sellCount': instance.sellCount, |
|
'needLogistics': instance.needLogistics, |
|
'oversold': instance.oversold, |
|
'organic': instance.organic, |
|
'status': instance.status, |
|
'posShow': instance.posShow, |
|
'productType': instance.productType, |
|
'productNumber': instance.productNumber, |
|
'setMeal': instance.setMeal, |
|
'attrStyle': instance.attrStyle, |
|
'detail': instance.detail, |
|
'isDelete': instance.isDelete, |
|
'printerFlag': instance.printerFlag, |
|
'materialId': instance.materialId, |
|
'imgs': instance.imgs, |
|
'productSkuList': |
|
instance.productSkuList?.map((e) => e.toJson()).toList(), |
|
};
|
|
|