22 lines
567 B
Dart
22 lines
567 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'recharge_bean.g.dart';
|
|
|
|
///标签
|
|
@JsonSerializable(explicitToJson: true)
|
|
class RechargeBean {
|
|
int? id;
|
|
String? productId;
|
|
int? currencyCount;
|
|
String? price;
|
|
String? discount;
|
|
int? currencyType;
|
|
String? imgUrl;
|
|
|
|
RechargeBean(this.id, this.productId, this.currencyCount, this.price, this.discount, this.currencyType, this.imgUrl);
|
|
|
|
factory RechargeBean.fromJson(Map<String, dynamic> json) => _$RechargeBeanFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$RechargeBeanToJson(this);
|
|
}
|