import 'package:huixiang/data/store.dart'; import 'package:json_annotation/json_annotation.dart'; part 'vip_card.g.dart'; @JsonSerializable(explicitToJson: true) class VipCard { String? id = ''; String? createTime = ''; dynamic createUser; String? updateTime = ''; String? updateUser = ''; String? mid = ''; String? openid = ''; String? nickname = ''; String? headimg = ''; String? balance = ''; String? realRecharge = ''; String? sex = ''; bool? status = false; bool? onCredit = false; String? loginTime = ''; int? loginNum = 0; String? tenantCode = ''; int? source = 0; String? expendAmount = ''; int? buyTimes = 0; dynamic lastBuyTime; @JsonKey(name: "vip_no") dynamic vipNo; dynamic expireTime; int? integral = 0; int? level = 0; dynamic vipRegStore; String? tenantName = ''; String? tenantLogo = ''; List? storeList = []; VipCard(); factory VipCard.fromJson(Map json) => _$VipCardFromJson(json); Map toJson() => _$VipCardToJson(this); }