// GENERATED CODE - DO NOT MODIFY BY HAND part of 'store_info.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** StoreInfo _$StoreInfoFromJson(Map json) => StoreInfo() ..address = json['address'] as String? ..bannerList = (json['bannerList'] as List?) ?.map((e) => BannerData.fromJson(e as Map)) .toList() ..city = json['city'] as String? ..couponVOList = (json['couponVOList'] as List?) ?.map((e) => CouponVo.fromJson(e as Map)) .toList() ..createTime = json['createTime'] as String? ..createUser = json['createUser'] as String? ..deliveryInfo = json['deliveryInfo'] == null ? null : DeliveryInfo.fromJson(json['deliveryInfo'] as Map) ..pickupType = json['pickupType'] == null ? null : PickupType.fromJson(json['pickupType'] as Map) ..district = json['district'] as String? ..headMobile = json['headMobile'] as String? ..tel = json['tel'] as String? ..headName = json['headName'] as String? ..id = json['id'] as String? ..isAutoSendRefundAddress = json['isAutoSendRefundAddress'] as num? ..latitude = json['latitude'] as String? ..logo = json['logo'] as String? ..isVip = json['isVip'] as bool? ..longitude = json['longitude'] as String? ..mobile = json['mobile'] as String? ..openEndTime = json['openEndTime'] as String? ..openStartTime = json['openStartTime'] as String? ..perCapitaConsumption = json['perCapitaConsumption'] as String? ..posType = json['posType'] == null ? null : StoreType.fromJson(json['posType'] as Map) ..promotionList = (json['promotionList'] as List?) ?.map((e) => Promotion.fromJson(e as Map)) .toList() ..province = json['province'] as String? ..refundAddress = json['refundAddress'] as String? ..refundContact = json['refundContact'] as String? ..refundTel = json['refundTel'] as String? ..remark = json['remark'] as String? ..shipAddress = json['shipAddress'] as String? ..storeName = json['storeName'] as String? ..storeTable = json['storeTable'] == null ? null : StoreTable.fromJson(json['storeTable'] as Map) ..tenantCode = json['tenantCode'] as String? ..updateTime = json['updateTime'] as String? ..updateUser = json['updateUser'] as String? ..businessService = json['businessService'] as String? ..mini = json['mini'] == null ? null : Mini.fromJson(json['mini'] as Map) ..useErp = json['useErp'] as bool? ..usePlatformVip = json['usePlatformVip'] as bool? ..usePlatformPay = json['usePlatformPay'] as bool? ..expireTime = json['expireTime'] as String? ..vipFee = json['vipFee'] as String? ..memberSource = json['memberSource'] == null ? null : MemberSource.fromJson(json['memberSource'] as Map) ..informationVOPageVO = json['informationVOPageVO'] == null ? null : PageInfo.fromJson(json['informationVOPageVO'] as Map); Map _$StoreInfoToJson(StoreInfo instance) => { 'address': instance.address, 'bannerList': instance.bannerList?.map((e) => e.toJson()).toList(), 'city': instance.city, 'couponVOList': instance.couponVOList?.map((e) => e.toJson()).toList(), 'createTime': instance.createTime, 'createUser': instance.createUser, 'deliveryInfo': instance.deliveryInfo?.toJson(), 'pickupType': instance.pickupType?.toJson(), 'district': instance.district, 'headMobile': instance.headMobile, 'tel': instance.tel, 'headName': instance.headName, 'id': instance.id, 'isAutoSendRefundAddress': instance.isAutoSendRefundAddress, 'latitude': instance.latitude, 'logo': instance.logo, 'isVip': instance.isVip, 'longitude': instance.longitude, 'mobile': instance.mobile, 'openEndTime': instance.openEndTime, 'openStartTime': instance.openStartTime, 'perCapitaConsumption': instance.perCapitaConsumption, 'posType': instance.posType?.toJson(), 'promotionList': instance.promotionList?.map((e) => e.toJson()).toList(), 'province': instance.province, 'refundAddress': instance.refundAddress, 'refundContact': instance.refundContact, 'refundTel': instance.refundTel, 'remark': instance.remark, 'shipAddress': instance.shipAddress, 'storeName': instance.storeName, 'storeTable': instance.storeTable?.toJson(), 'tenantCode': instance.tenantCode, 'updateTime': instance.updateTime, 'updateUser': instance.updateUser, 'businessService': instance.businessService, 'mini': instance.mini?.toJson(), 'useErp': instance.useErp, 'usePlatformVip': instance.usePlatformVip, 'usePlatformPay': instance.usePlatformPay, 'expireTime': instance.expireTime, 'vipFee': instance.vipFee, 'memberSource': instance.memberSource?.toJson(), 'informationVOPageVO': instance.informationVOPageVO?.toJson(), }; StoreTable _$StoreTableFromJson(Map json) => StoreTable() ..areaId = json['areaId'] as String? ..id = json['id'] as String? ..isDelete = (json['isDelete'] as num?)?.toInt() ..numberOfPeople = (json['numberOfPeople'] as num?)?.toInt() ..remark = json['remark'] as String? ..storeId = json['storeId'] as String? ..tableCapacity = (json['tableCapacity'] as num?)?.toInt() ..tableName = json['tableName'] as String? ..tableSort = (json['tableSort'] as num?)?.toInt() ..tableType = (json['tableType'] as num?)?.toInt() ..tenantCode = json['tenantCode'] as String?; Map _$StoreTableToJson(StoreTable instance) => { 'areaId': instance.areaId, 'id': instance.id, 'isDelete': instance.isDelete, 'numberOfPeople': instance.numberOfPeople, 'remark': instance.remark, 'storeId': instance.storeId, 'tableCapacity': instance.tableCapacity, 'tableName': instance.tableName, 'tableSort': instance.tableSort, 'tableType': instance.tableType, 'tenantCode': instance.tenantCode, };