Daisy d85104445d 1,iOS去掉通知数量角标显示
2,更新手掌、虹膜图片icon
3,个人用户设置页面根据是否为VIP显示标识
4,用户信息实体类新增是否为VIP用户字段
2024-04-28 14:12:50 +08:00

82 lines
2.0 KiB
Dart

class MinePersonInfoEntity {
int? errorCode;
String? description;
String? errorMsg;
MinePersonInfoData? data;
MinePersonInfoEntity(
{this.errorCode, this.description, this.errorMsg, this.data});
MinePersonInfoEntity.fromJson(Map<String, dynamic> json) {
errorCode = json['errorCode'];
description = json['description'];
errorMsg = json['errorMsg'];
data =
json['data'] != null ? MinePersonInfoData.fromJson(json['data']) : null;
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['errorCode'] = errorCode;
data['description'] = description;
data['errorMsg'] = errorMsg;
if (this.data != null) {
data['data'] = this.data!.toJson();
}
return data;
}
}
class MinePersonInfoData {
String? mobile;
int? uid;
int? haveSafeAnswer;
String? nickname;
String? headUrl;
String? accountName;
int? countryId;
String? email;
String? countryName;
int? isVip;
MinePersonInfoData(
{this.mobile,
this.uid,
this.haveSafeAnswer,
this.nickname,
this.headUrl,
this.accountName,
this.countryId,
this.email,
this.countryName,
this.isVip});
MinePersonInfoData.fromJson(Map<String, dynamic> json) {
mobile = json['mobile'];
uid = json['uid'];
haveSafeAnswer = json['haveSafeAnswer'];
nickname = json['nickname'];
headUrl = json['headUrl'];
accountName = json['accountName'];
countryId = json['countryId'];
email = json['email'];
countryName = json['countryName'];
isVip = json['isVip'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['mobile'] = mobile;
data['uid'] = uid;
data['haveSafeAnswer'] = haveSafeAnswer;
data['nickname'] = nickname;
data['headUrl'] = headUrl;
data['accountName'] = accountName;
data['countryId'] = countryId;
data['email'] = email;
data['countryName'] = countryName;
data['isVip'] = isVip;
return data;
}
}