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.
73 lines
2.8 KiB
73 lines
2.8 KiB
1 month ago
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'vip_card.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
VipCard _$VipCardFromJson(Map<String, dynamic> json) => VipCard()
|
||
|
..id = json['id'] as String?
|
||
|
..createTime = json['createTime'] as String?
|
||
|
..createUser = json['createUser']
|
||
|
..updateTime = json['updateTime'] as String?
|
||
|
..updateUser = json['updateUser'] as String?
|
||
|
..mid = json['mid'] as String?
|
||
|
..openid = json['openid'] as String?
|
||
|
..nickname = json['nickname'] as String?
|
||
|
..headimg = json['headimg'] as String?
|
||
|
..balance = json['balance'] as String?
|
||
|
..realRecharge = json['realRecharge'] as String?
|
||
|
..sex = json['sex'] as String?
|
||
|
..status = json['status'] as bool?
|
||
|
..onCredit = json['onCredit'] as bool?
|
||
|
..loginTime = json['loginTime'] as String?
|
||
|
..loginNum = (json['loginNum'] as num?)?.toInt()
|
||
|
..tenantCode = json['tenantCode'] as String?
|
||
|
..source = (json['source'] as num?)?.toInt()
|
||
|
..expendAmount = json['expendAmount'] as String?
|
||
|
..buyTimes = (json['buyTimes'] as num?)?.toInt()
|
||
|
..lastBuyTime = json['lastBuyTime']
|
||
|
..vipNo = json['vip_no']
|
||
|
..expireTime = json['expireTime']
|
||
|
..integral = (json['integral'] as num?)?.toInt()
|
||
|
..level = (json['level'] as num?)?.toInt()
|
||
|
..vipRegStore = json['vipRegStore']
|
||
|
..tenantName = json['tenantName'] as String?
|
||
|
..tenantLogo = json['tenantLogo'] as String?
|
||
|
..storeList = (json['storeList'] as List<dynamic>?)
|
||
|
?.map((e) => Store.fromJson(e as Map<String, dynamic>))
|
||
|
.toList();
|
||
|
|
||
|
Map<String, dynamic> _$VipCardToJson(VipCard instance) => <String, dynamic>{
|
||
|
'id': instance.id,
|
||
|
'createTime': instance.createTime,
|
||
|
'createUser': instance.createUser,
|
||
|
'updateTime': instance.updateTime,
|
||
|
'updateUser': instance.updateUser,
|
||
|
'mid': instance.mid,
|
||
|
'openid': instance.openid,
|
||
|
'nickname': instance.nickname,
|
||
|
'headimg': instance.headimg,
|
||
|
'balance': instance.balance,
|
||
|
'realRecharge': instance.realRecharge,
|
||
|
'sex': instance.sex,
|
||
|
'status': instance.status,
|
||
|
'onCredit': instance.onCredit,
|
||
|
'loginTime': instance.loginTime,
|
||
|
'loginNum': instance.loginNum,
|
||
|
'tenantCode': instance.tenantCode,
|
||
|
'source': instance.source,
|
||
|
'expendAmount': instance.expendAmount,
|
||
|
'buyTimes': instance.buyTimes,
|
||
|
'lastBuyTime': instance.lastBuyTime,
|
||
|
'vip_no': instance.vipNo,
|
||
|
'expireTime': instance.expireTime,
|
||
|
'integral': instance.integral,
|
||
|
'level': instance.level,
|
||
|
'vipRegStore': instance.vipRegStore,
|
||
|
'tenantName': instance.tenantName,
|
||
|
'tenantLogo': instance.tenantLogo,
|
||
|
'storeList': instance.storeList?.map((e) => e.toJson()).toList(),
|
||
|
};
|