// GENERATED CODE - DO NOT MODIFY BY HAND part of 'store.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** Store _$StoreFromJson(Map json) { return 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 ..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 int ..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 ..deliveryInfo = json['deliveryInfo'] ..businessType = json['businessType'] as String ..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, '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, 'deliveryInfo': instance.deliveryInfo, 'businessType': instance.businessType, 'posType': instance.posType, };