24 lines
671 B
Dart
24 lines
671 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
import 'me_character_info_bean.dart';
|
|
|
|
part 'user_info_bean.g.dart';
|
|
|
|
///标签
|
|
@JsonSerializable(explicitToJson: true)
|
|
class UserInfoBean {
|
|
int? currency;
|
|
String? userIconUrl;
|
|
int? userId;
|
|
String? nickName;
|
|
int? remainingChatCount;
|
|
List<MeCharacterInfoBean>? characterInfo;
|
|
int? memoryCardCount;
|
|
|
|
UserInfoBean(this.currency, this.userIconUrl, this.userId, this.nickName, this.remainingChatCount, this.characterInfo, this.memoryCardCount);
|
|
|
|
factory UserInfoBean.fromJson(Map<String, dynamic> json) => _$UserInfoBeanFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$UserInfoBeanToJson(this);
|
|
}
|