18 lines
478 B
Dart
18 lines
478 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
import 'package:talk/beans/recharge_bean.dart';
|
|
|
|
part 'account_bean.g.dart';
|
|
|
|
///标签
|
|
@JsonSerializable(explicitToJson: true)
|
|
class AccountBean {
|
|
int? currency;
|
|
List<RechargeBean>? currencyRechargeList;
|
|
|
|
AccountBean(this.currency, this.currencyRechargeList);
|
|
|
|
factory AccountBean.fromJson(Map<String, dynamic> json) => _$AccountBeanFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$AccountBeanToJson(this);
|
|
}
|