AI_Drawing/lib/bean/user_info_bean.dart
2024-06-03 15:30:15 +08:00

28 lines
867 B
Dart

import 'package:aiplot/bean/user_ad_num_bean.dart';
import 'package:json_annotation/json_annotation.dart';
part 'user_info_bean.g.dart';
@JsonSerializable()
class UserInfoBean {
int? UserId;
String? NickName;
String? UserIconUrl;
double? Currency;
double? TemporaryCurrency;
double? AllCurrency;
int? VipType;
int? CollectNumber;
int? SaveImageNumber;
UserAdNumBean? UserAdLog;
String? InvitationCode;
String? InvitationCodeImageUrl;
UserInfoBean(this.UserId, this.NickName, this.UserIconUrl, this.Currency, this.TemporaryCurrency, this.AllCurrency, this.VipType,
this.CollectNumber, this.SaveImageNumber, this.UserAdLog, this.InvitationCode, this.InvitationCodeImageUrl);
factory UserInfoBean.fromJson(Map<String, dynamic> json) => _$UserInfoBeanFromJson(json);
Map<String, dynamic> toJson() => _$UserInfoBeanToJson(this);
}