You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
2.0 KiB
78 lines
2.0 KiB
3 years ago
|
/// id : "1494622230208839681"
|
||
|
/// rechargeMoney : "100.00"
|
||
|
/// giftdMoney : "0.00"
|
||
|
/// gitfdCouponId : null
|
||
|
/// tenantCode : "admin"
|
||
|
/// createTime : "2022-03-23 10:53:37"
|
||
|
/// isDeleted : 0
|
||
|
/// rechargeType : 0
|
||
|
/// remark : "充充充"
|
||
|
|
||
|
class RechargeList {
|
||
|
RechargeList({
|
||
|
String id,
|
||
|
String rechargeMoney,
|
||
|
String giftdMoney,
|
||
|
dynamic gitfdCouponId,
|
||
|
String tenantCode,
|
||
|
String createTime,
|
||
|
int isDeleted,
|
||
|
int rechargeType,
|
||
|
String remark,}){
|
||
|
_id = id;
|
||
|
_rechargeMoney = rechargeMoney;
|
||
|
_giftdMoney = giftdMoney;
|
||
|
_gitfdCouponId = gitfdCouponId;
|
||
|
_tenantCode = tenantCode;
|
||
|
_createTime = createTime;
|
||
|
_isDeleted = isDeleted;
|
||
|
_rechargeType = rechargeType;
|
||
|
_remark = remark;
|
||
|
}
|
||
|
|
||
|
RechargeList.fromJson(dynamic json) {
|
||
|
_id = json['id'];
|
||
|
_rechargeMoney = json['rechargeMoney'];
|
||
|
_giftdMoney = json['giftdMoney'];
|
||
|
_gitfdCouponId = json['gitfdCouponId'];
|
||
|
_tenantCode = json['tenantCode'];
|
||
|
_createTime = json['createTime'];
|
||
|
_isDeleted = json['isDeleted'];
|
||
|
_rechargeType = json['rechargeType'];
|
||
|
_remark = json['remark'];
|
||
|
}
|
||
|
String _id;
|
||
|
String _rechargeMoney;
|
||
|
String _giftdMoney;
|
||
|
dynamic _gitfdCouponId;
|
||
|
String _tenantCode;
|
||
|
String _createTime;
|
||
|
int _isDeleted;
|
||
|
int _rechargeType;
|
||
|
String _remark;
|
||
|
|
||
|
String get id => _id;
|
||
|
String get rechargeMoney => _rechargeMoney;
|
||
|
String get giftdMoney => _giftdMoney;
|
||
|
dynamic get gitfdCouponId => _gitfdCouponId;
|
||
|
String get tenantCode => _tenantCode;
|
||
|
String get createTime => _createTime;
|
||
|
int get isDeleted => _isDeleted;
|
||
|
int get rechargeType => _rechargeType;
|
||
|
String get remark => _remark;
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final map = <String, dynamic>{};
|
||
|
map['id'] = _id;
|
||
|
map['rechargeMoney'] = _rechargeMoney;
|
||
|
map['giftdMoney'] = _giftdMoney;
|
||
|
map['gitfdCouponId'] = _gitfdCouponId;
|
||
|
map['tenantCode'] = _tenantCode;
|
||
|
map['createTime'] = _createTime;
|
||
|
map['isDeleted'] = _isDeleted;
|
||
|
map['rechargeType'] = _rechargeType;
|
||
|
map['remark'] = _remark;
|
||
|
return map;
|
||
|
}
|
||
|
|
||
|
}
|