// GENERATED CODE - DO NOT MODIFY BY HAND part of 'phone_query_member_info.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** PhoneQueryMemberInfo _$PhoneQueryMemberInfoFromJson( Map json) => PhoneQueryMemberInfo() ..mid = json['mid'] as String? ..sid = json['sid'] as String? ..phoneNum = json['phoneNum'] as String? ..nickName = json['nickName'] as String? ..headimg = json['headimg'] as String? ..sex = json['sex'] as String? ..balance = json['balance'] as String? ..realBalance = json['realBalance'] as String? ..giftBalance = json['giftBalance'] as String? ..memberSourceCredit = json['memberSourceCredit'] as bool? ..money = json['money'] as String? ..memberCredit = json['memberCredit'] as bool? ..greenMoney = json['greenMoney'] as String? ..raiseMoney = json['raiseMoney'] as String? ..payPassword = json['payPassword'] as String? ..useableConponList = (json['useableConponList'] as List?) ?.map((e) => UseableConponList.fromJson(e as Map)) .toList(); Map _$PhoneQueryMemberInfoToJson( PhoneQueryMemberInfo instance) => { 'mid': instance.mid, 'sid': instance.sid, 'phoneNum': instance.phoneNum, 'nickName': instance.nickName, 'headimg': instance.headimg, 'sex': instance.sex, 'balance': instance.balance, 'realBalance': instance.realBalance, 'giftBalance': instance.giftBalance, 'memberSourceCredit': instance.memberSourceCredit, 'money': instance.money, 'memberCredit': instance.memberCredit, 'greenMoney': instance.greenMoney, 'raiseMoney': instance.raiseMoney, 'payPassword': instance.payPassword, 'useableConponList': instance.useableConponList?.map((e) => e.toJson()).toList(), }; UseableConponList _$UseableConponListFromJson(Map json) => UseableConponList() ..id = json['id'] as String? ..storeIds = (json['storeIds'] as List?)?.map((e) => e as String).toList() ..stores = json['stores'] as List? ..bizType = (json['bizType'] as num?)?.toInt() ..fullType = json['fullType'] as String? ..fullAmount = json['fullAmount'] as String? ..discountAmount = json['discountAmount'] as String? ..fullNumber = (json['fullNumber'] as num?)?.toInt() ..dateOrDay = json['dateOrDay'] as bool? ..startAfterDays = (json['startAfterDays'] as num?)?.toInt() ..daysValidate = (json['daysValidate'] as num?)?.toInt() ..discountPercent = (json['discountPercent'] as num?)?.toInt() ..limitAmount = json['limitAmount'] as String? ..bizId = json['bizId'] as String? ..publishStartTime = json['publishStartTime'] as String? ..publishEndTime = json['publishEndTime'] as String? ..useStartTime = json['useStartTime'] as String? ..useEndTime = json['useEndTime'] as String? ..doStartTime = json['doStartTime'] as String? ..doEndTime = json['doEndTime'] as String? ..promotionId = json['promotionId'] as String? ..couponId = json['couponId'] as String? ..receiveTime = json['receiveTime'] as String? ..useTime = json['useTime'] ..status = (json['status'] as num?)?.toInt() ..tenantCode = json['tenantCode'] as String? ..type = (json['type'] as num?)?.toInt() ..promotionName = json['promotionName'] as String? ..usable = json['usable'] as bool? ..usableReason = json['usableReason'] as String? ..allProduct = json['allProduct'] as bool? ..productSkuId = json['productSkuId'] as List? ..productGroupIds = (json['productGroupIds'] as List?) ?.map((e) => e as String) .toList() ..productList = (json['productList'] as List?) ?.map((e) => ProductList.fromJson(e as Map)) .toList() ..isMaxCoupon = json['isMaxCoupon'] as bool? ..productGroupList = json['productGroupList'] as List? ..remark = json['remark'] as String? ..canUseBalance = json['canUseBalance'] as bool?; Map _$UseableConponListToJson(UseableConponList instance) => { 'id': instance.id, 'storeIds': instance.storeIds, 'stores': instance.stores, 'bizType': instance.bizType, 'fullType': instance.fullType, 'fullAmount': instance.fullAmount, 'discountAmount': instance.discountAmount, 'fullNumber': instance.fullNumber, 'dateOrDay': instance.dateOrDay, 'startAfterDays': instance.startAfterDays, 'daysValidate': instance.daysValidate, 'discountPercent': instance.discountPercent, 'limitAmount': instance.limitAmount, 'bizId': instance.bizId, 'publishStartTime': instance.publishStartTime, 'publishEndTime': instance.publishEndTime, 'useStartTime': instance.useStartTime, 'useEndTime': instance.useEndTime, 'doStartTime': instance.doStartTime, 'doEndTime': instance.doEndTime, 'promotionId': instance.promotionId, 'couponId': instance.couponId, 'receiveTime': instance.receiveTime, 'useTime': instance.useTime, 'status': instance.status, 'tenantCode': instance.tenantCode, 'type': instance.type, 'promotionName': instance.promotionName, 'usable': instance.usable, 'usableReason': instance.usableReason, 'allProduct': instance.allProduct, 'productSkuId': instance.productSkuId, 'productGroupIds': instance.productGroupIds, 'productList': instance.productList?.map((e) => e.toJson()).toList(), 'isMaxCoupon': instance.isMaxCoupon, 'productGroupList': instance.productGroupList, 'remark': instance.remark, 'canUseBalance': instance.canUseBalance, }; ProductList _$ProductListFromJson(Map json) => ProductList() ..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? ..attribute = json['attribute'] ..productCode = json['productCode'] as String? ..weight = json['weight'] as String? ..applyPrice = json['applyPrice'] as String? ..price = json['price'] as String? ..vipPrice = json['vipPrice'] 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? ..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'] as String? ..isAddPurchase = json['isAddPurchase'] ..limitNum = (json['limitNum'] as num?)?.toInt() ..rankId = json['rankId'] as String? ..happyBean = (json['happyBean'] as num?)?.toInt() ..sort = (json['sort'] as num?)?.toInt() ..salesRules = json['salesRules']; Map _$ProductListToJson(ProductList instance) => { '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, 'attribute': instance.attribute, '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, 'sort': instance.sort, 'salesRules': instance.salesRules, };