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.
149 lines
6.2 KiB
149 lines
6.2 KiB
1 month ago
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'store_info.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
StoreInfo _$StoreInfoFromJson(Map<String, dynamic> json) => StoreInfo()
|
||
|
..address = json['address'] as String?
|
||
|
..bannerList = (json['bannerList'] as List<dynamic>?)
|
||
|
?.map((e) => BannerData.fromJson(e as Map<String, dynamic>))
|
||
|
.toList()
|
||
|
..city = json['city'] as String?
|
||
|
..couponVOList = (json['couponVOList'] as List<dynamic>?)
|
||
|
?.map((e) => CouponVo.fromJson(e as Map<String, dynamic>))
|
||
|
.toList()
|
||
|
..createTime = json['createTime'] as String?
|
||
|
..createUser = json['createUser'] as String?
|
||
|
..deliveryInfo = json['deliveryInfo'] == null
|
||
|
? null
|
||
|
: DeliveryInfo.fromJson(json['deliveryInfo'] as Map<String, dynamic>)
|
||
|
..pickupType = json['pickupType'] == null
|
||
|
? null
|
||
|
: PickupType.fromJson(json['pickupType'] as Map<String, dynamic>)
|
||
|
..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<String, dynamic>)
|
||
|
..promotionList = (json['promotionList'] as List<dynamic>?)
|
||
|
?.map((e) => Promotion.fromJson(e as Map<String, dynamic>))
|
||
|
.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<String, dynamic>)
|
||
|
..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<String, dynamic>)
|
||
|
..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<String, dynamic>)
|
||
|
..informationVOPageVO = json['informationVOPageVO'] == null
|
||
|
? null
|
||
|
: PageInfo.fromJson(json['informationVOPageVO'] as Map<String, dynamic>);
|
||
|
|
||
|
Map<String, dynamic> _$StoreInfoToJson(StoreInfo instance) => <String, dynamic>{
|
||
|
'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<String, dynamic> 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<String, dynamic> _$StoreTableToJson(StoreTable instance) =>
|
||
|
<String, dynamic>{
|
||
|
'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,
|
||
|
};
|