class WithdrawAuditData { List? records; int? total; int? size; int? current; int? pages; WithdrawAuditData( {this.records, this.total, this.size, this.current, this.pages}); WithdrawAuditData.fromJson(Map json) { if (json['records'] != null) { records = []; json['records'].forEach((v) { records!.add(new Records.fromJson(v)); }); } total = json['total']; size = json['size']; current = json['current']; pages = json['pages']; } Map toJson() { final Map data = new Map(); if (this.records != null) { data['records'] = this.records!.map((v) => v.toJson()).toList(); } data['total'] = this.total; data['size'] = this.size; data['current'] = this.current; data['pages'] = this.pages; return data; } } class Records { String? id; String? walletAccountUserId; String? walletAccountOrgId; num? identityType; String? walletAccountUserName; String? walletAccountId; num? withdrawAmount; num? withdrawServiceFee; num? arrivalAmount; num? status; bool? remitStatus; String? remitUrl; String? remitDateTime; String? applyTime; num? withdrawType; ExtDetailsInfo? extDetailsInfo; String? auditRemark; String? remitRemark; Records( {this.id, this.walletAccountUserId, this.walletAccountOrgId, this.identityType, this.walletAccountUserName, this.walletAccountId, this.withdrawAmount, this.withdrawServiceFee, this.arrivalAmount, this.status, this.remitStatus, this.remitUrl, this.remitDateTime, this.applyTime, this.withdrawType, this.extDetailsInfo, this.auditRemark, this.remitRemark}); Records.fromJson(Map json) { id = json['id']; walletAccountUserId = json['walletAccountUserId']; walletAccountOrgId = json['walletAccountOrgId']; identityType = json['identityType']; walletAccountUserName = json['walletAccountUserName']; walletAccountId = json['walletAccountId']; withdrawAmount = json['withdrawAmount']; withdrawServiceFee = json['withdrawServiceFee']; arrivalAmount = json['arrivalAmount']; status = json['status']; remitStatus = json['remitStatus']; remitUrl = json['remitUrl']; remitDateTime = json['remitDateTime']; applyTime = json['applyTime']; withdrawType = json['withdrawType']; extDetailsInfo = json['extDetailsInfo'] != null ? new ExtDetailsInfo.fromJson(json['extDetailsInfo']) : null; auditRemark = json['auditRemark']; remitRemark = json['remitRemark']; } Map toJson() { final Map data = new Map(); data['id'] = this.id; data['walletAccountUserId'] = this.walletAccountUserId; data['walletAccountOrgId'] = this.walletAccountOrgId; data['identityType'] = this.identityType; data['walletAccountUserName'] = this.walletAccountUserName; data['walletAccountId'] = this.walletAccountId; data['withdrawAmount'] = this.withdrawAmount; data['withdrawServiceFee'] = this.withdrawServiceFee; data['arrivalAmount'] = this.arrivalAmount; data['status'] = this.status; data['remitStatus'] = this.remitStatus; data['remitUrl'] = this.remitUrl; data['remitDateTime'] = this.remitDateTime; data['applyTime'] = this.applyTime; data['withdrawType'] = this.withdrawType; if (this.extDetailsInfo != null) { data['extDetailsInfo'] = this.extDetailsInfo!.toJson(); } data['auditRemark'] = this.auditRemark; data['remitRemark'] = this.remitRemark; return data; } } class ExtDetailsInfo { String? cardNum; String? ownerName; String? bankName; String? openingBank; String? bankCardId; ExtDetailsInfo( {this.cardNum, this.ownerName, this.bankName, this.openingBank, this.bankCardId}); ExtDetailsInfo.fromJson(Map json) { cardNum = json['cardNum']; ownerName = json['ownerName']; bankName = json['bankName']; openingBank = json['openingBank']; bankCardId = json['bankCardId']; } Map toJson() { final Map data = new Map(); data['cardNum'] = this.cardNum; data['ownerName'] = this.ownerName; data['bankName'] = this.bankName; data['openingBank'] = this.openingBank; data['bankCardId'] = this.bankCardId; return data; } }