import 'package:huixiang/generated/json/base/json_field.dart'; import 'package:huixiang/generated/json/member_source.g.dart'; import 'dart:convert'; export 'package:huixiang/generated/json/member_source.g.dart'; @JsonSerializable() 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 = ''; @JSONField(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); @override String toString() { return jsonEncode(this); } }