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.
 
 
 
 
 
 

54 lines
1.5 KiB

/// vipNo : null
/// nickname : "回乡_019921"
/// headimg : ""
/// userType : true
/// sex : ""
/// level : 1
/// addressId : "0"
/// remark : ""
/// phone : "15827991714"
/// createTime : "2021-06-21 15:40:38"
/// birth : ""
/// balance : null
/// money : "0.00"
/// points : "0"
/// isBind : null
/// memberRankVo : null
import 'package:huixiang/retrofit/data/member_rank.dart';
import 'package:json_annotation/json_annotation.dart';
part 'user_info.g.dart';
@JsonSerializable()
class UserInfo {
UserInfo();
//{"vipNo":"1405494095400402944","nickname":"回乡_888888",
//"headimg":"https://pos.upload.gznl.top/admin/2021/06/6a292087-79fa-4c2b-91a9-db89eb190c27.jpg",
//"userType":true,"sex":"","level":1,"addressId":"0","remark":"",
//"phone":"13800138000","createTime":"2021-06-17 19:54:40",
//"birth":"1994-06-25","balance":null,"money":"0.00","points":"30",
//"isBind":true,"memberRankVo":{"id":"1402563734810918912",
//"rankName":"青铜会员","rankOrigin":88,"rankContent":"","rankImg":"",
//"status":true,"nextId":"1402815061684125696",
//"nextName":"白银会员","nextOrigin":null}
String vipNo;
String nickname;
String headimg;
bool userType;
String sex;
int level;
String addressId;
String remark;
String phone;
String createTime;
String birth;
dynamic balance;
String money;
String points;
bool isBind;
MemberRank memberRankVo;
factory UserInfo.fromJson(Map<String, dynamic> json) =>
_$UserInfoFromJson(json);
Map<String, dynamic> toJson() => _$UserInfoToJson(this);
}