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.

77 lines
3.0 KiB

4 years ago
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'store.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
Store _$StoreFromJson(Map<String, dynamic> 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
4 years ago
..perCapitaConsumption = json['perCapitaConsumption'] as String
4 years ago
..storeName = json['storeName'] as String
4 years ago
..distance = (json['distance'] as num)?.toDouble()
4 years ago
..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']
..posType = json['posType'] == null
? null
: StoreType.fromJson(json['posType'] as Map<String, dynamic>);
}
Map<String, dynamic> _$StoreToJson(Store instance) => <String, dynamic>{
'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,
4 years ago
'perCapitaConsumption': instance.perCapitaConsumption,
4 years ago
'storeName': instance.storeName,
4 years ago
'distance': instance.distance,
4 years ago
'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,
'posType': instance.posType,
};