// GENERATED CODE - DO NOT MODIFY BY HAND part of 'store.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** Store _$StoreFromJson(Map json) => Store() ..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? ..tenantCode = json['tenantCode'] as String? ..useErp = json['useErp'] as bool? ..openStartTime = json['openStartTime'] as String? ..openEndTime = json['openEndTime'] as String? ..perCapitaConsumption = json['perCapitaConsumption'] as String? ..storeName = json['storeName'] as String? ..distance = (json['distance'] as num?)?.toDouble() ..logo = json['logo'] as String? ..facade = json['facade'] as String? ..shipAddress = json['shipAddress'] as String? ..remark = json['remark'] ..mobile = json['mobile'] as String? ..longitude = json['longitude'] as String? ..latitude = json['latitude'] as String? ..refundAddress = json['refundAddress'] ..refundTel = json['refundTel'] ..refundContact = json['refundContact'] ..isAutoSendRefundAddress = (json['isAutoSendRefundAddress'] as num?)?.toInt() ..province = json['province'] as String? ..city = json['city'] as String? ..district = json['district'] as String? ..address = json['address'] as String? ..headName = json['headName'] as String? ..headMobile = json['headMobile'] as String? ..couponVO = json['couponVO'] == null ? null : CouponVo.fromJson(json['couponVO'] as Map) ..deliveryInfo = json['deliveryInfo'] ..businessType = json['businessType'] as String? ..businessService = json['businessService'] as String? ..productShow = (json['productShow'] as List?) ?.map((e) => ProductShow.fromJson(e as Map)) .toList() ..posType = json['posType'] == null ? null : StoreType.fromJson(json['posType'] as Map); Map _$StoreToJson(Store instance) => { 'id': instance.id, 'createTime': instance.createTime, 'createUser': instance.createUser, 'updateTime': instance.updateTime, 'updateUser': instance.updateUser, 'tenantCode': instance.tenantCode, 'useErp': instance.useErp, 'openStartTime': instance.openStartTime, 'openEndTime': instance.openEndTime, 'perCapitaConsumption': instance.perCapitaConsumption, 'storeName': instance.storeName, 'distance': instance.distance, 'logo': instance.logo, 'facade': instance.facade, 'shipAddress': instance.shipAddress, 'remark': instance.remark, 'mobile': instance.mobile, 'longitude': instance.longitude, 'latitude': instance.latitude, 'refundAddress': instance.refundAddress, 'refundTel': instance.refundTel, 'refundContact': instance.refundContact, 'isAutoSendRefundAddress': instance.isAutoSendRefundAddress, 'province': instance.province, 'city': instance.city, 'district': instance.district, 'address': instance.address, 'headName': instance.headName, 'headMobile': instance.headMobile, 'couponVO': instance.couponVO?.toJson(), 'deliveryInfo': instance.deliveryInfo, 'businessType': instance.businessType, 'businessService': instance.businessService, 'productShow': instance.productShow?.map((e) => e.toJson()).toList(), 'posType': instance.posType?.toJson(), };