import 'package:json_annotation/json_annotation.dart'; part 'member_source.g.dart'; @JsonSerializable(explicitToJson: true) class MemberSource { String? id = ''; String? createTime = ''; String? 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; String? lastBuyTime = ''; @JsonKey(name: "vip_no") dynamic vipNo; dynamic expireTime; int? integral = 0; int? level = 0; dynamic vipRegStore; MemberSource(); factory MemberSource.fromJson(Map json) => _$MemberSourceFromJson(json); Map toJson() => _$MemberSourceToJson(this); }