4 changed files with 740 additions and 0 deletions
Split View
Diff Options
-
42lib/controller/mine/withdraw_history_controller.dart
-
513lib/model/home/user_info_data.dart
-
157lib/model/mine/withdraw_audit_data.dart
-
28lib/model/mine/withdraw_data.dart
@ -0,0 +1,42 @@ |
|||
import 'package:dating_touchme_app/network/user_api.dart'; |
|||
import 'package:get/get.dart'; |
|||
import 'package:get/get_state_manager/src/simple/get_controllers.dart'; |
|||
|
|||
import '../../model/mine/withdraw_audit_data.dart'; |
|||
|
|||
class WithdrawHistoryController extends GetxController { |
|||
|
|||
late UserApi _userApi; |
|||
|
|||
final historyList = <Records>[].obs; |
|||
|
|||
final page = 1.obs; |
|||
|
|||
final hasMore = true.obs; |
|||
|
|||
@override |
|||
void onInit() { |
|||
super.onInit(); |
|||
_userApi = Get.find<UserApi>(); |
|||
getHistoryList(); |
|||
} |
|||
|
|||
getHistoryList() async {try{ |
|||
final response = await _userApi.pageWithdrawAudit(pageNum: page.value, |
|||
pageSize: 10, |
|||
); |
|||
if (response.data.isSuccess && response.data.data != null) { |
|||
final data = response.data.data?.records ?? []; |
|||
|
|||
historyList.addAll(data.toList()); |
|||
} else { |
|||
|
|||
// 响应失败,抛出异常 |
|||
throw Exception(response.data.message ?? '获取数据失败'); |
|||
} |
|||
} catch(e) { |
|||
|
|||
} |
|||
|
|||
} |
|||
} |
|||
@ -0,0 +1,513 @@ |
|||
class UserInfoData { |
|||
String? id; |
|||
bool? isDelete; |
|||
String? createTime; |
|||
String? updateTime; |
|||
Null? event; |
|||
String? accountId; |
|||
String? userId; |
|||
String? nickName; |
|||
String? name; |
|||
String? profilePhoto; |
|||
bool? hasUploadProfilePhoto; |
|||
bool? photoDisplay; |
|||
String? identityCard; |
|||
num? genderCode; |
|||
String? genderValue; |
|||
String? homeCountryCode; |
|||
String? homeCountry; |
|||
num? provinceCode; |
|||
String? provinceName; |
|||
num? cityCode; |
|||
String? cityName; |
|||
num? districtCode; |
|||
String? districtName; |
|||
String? birthYear; |
|||
String? birthDate; |
|||
num? constellationCode; |
|||
String? constellation; |
|||
num? chineseZodiacCode; |
|||
String? chineseZodiac; |
|||
num? height; |
|||
num? weight; |
|||
num? educationCode; |
|||
String? education; |
|||
num? maritalStatusCode; |
|||
String? maritalStatusName; |
|||
num? minimumIncome; |
|||
num? maximumIncome; |
|||
num? incomeCode; |
|||
String? income; |
|||
String? diplomaVerificationCode; |
|||
String? describeInfo; |
|||
num? identityType; |
|||
String? identityTypeName; |
|||
num? domicilePlaceProvinceCode; |
|||
String? domicilePlaceProvinceName; |
|||
num? domicilePlaceCityCode; |
|||
String? domicilePlaceCityName; |
|||
num? nationCode; |
|||
String? nation; |
|||
num? bodilyFormCode; |
|||
String? bodilyForm; |
|||
num? accountTypeCode; |
|||
String? accountTypeName; |
|||
num? nationalityCode; |
|||
String? nationality; |
|||
num? nativePlaceCode; |
|||
String? nativePlaceName; |
|||
num? industryCode; |
|||
String? industry; |
|||
num? occupationCode; |
|||
String? occupation; |
|||
num? onlyChild; |
|||
num? carPurchaseSituationCode; |
|||
String? carPurchaseSituation; |
|||
num? propertyPermitsCode; |
|||
String? propertyPermits; |
|||
String? wechatId; |
|||
num? hometownProvinceCode; |
|||
String? hometownProvinceName; |
|||
num? hometownCityCode; |
|||
String? hometownCityName; |
|||
bool? display; |
|||
num? displayStatus; |
|||
num? inLove; |
|||
bool? hasParentsPension; |
|||
AuditProfilePhoto? auditProfilePhoto; |
|||
List<PhotoList>? photoList; |
|||
num? describeAuditStatus; |
|||
String? describeAudit; |
|||
num? fillSerialNumber; |
|||
Null? demandMarriage; |
|||
num? mateDescriptionAuditStatus; |
|||
String? mateDescriptionAudit; |
|||
List<Null>? marriageSeekingContacts; |
|||
num? age; |
|||
bool? meLike; |
|||
num? miSessionType; |
|||
bool? consumeRight; |
|||
bool? vip; |
|||
num? dataScoring; |
|||
String? phone; |
|||
Null? guestMatchmaker; |
|||
String? miId; |
|||
bool? allowMatchmakerInviteBounty; |
|||
|
|||
UserInfoData( |
|||
{this.id, |
|||
this.isDelete, |
|||
this.createTime, |
|||
this.updateTime, |
|||
this.event, |
|||
this.accountId, |
|||
this.userId, |
|||
this.nickName, |
|||
this.name, |
|||
this.profilePhoto, |
|||
this.hasUploadProfilePhoto, |
|||
this.photoDisplay, |
|||
this.identityCard, |
|||
this.genderCode, |
|||
this.genderValue, |
|||
this.homeCountryCode, |
|||
this.homeCountry, |
|||
this.provinceCode, |
|||
this.provinceName, |
|||
this.cityCode, |
|||
this.cityName, |
|||
this.districtCode, |
|||
this.districtName, |
|||
this.birthYear, |
|||
this.birthDate, |
|||
this.constellationCode, |
|||
this.constellation, |
|||
this.chineseZodiacCode, |
|||
this.chineseZodiac, |
|||
this.height, |
|||
this.weight, |
|||
this.educationCode, |
|||
this.education, |
|||
this.maritalStatusCode, |
|||
this.maritalStatusName, |
|||
this.minimumIncome, |
|||
this.maximumIncome, |
|||
this.incomeCode, |
|||
this.income, |
|||
this.diplomaVerificationCode, |
|||
this.describeInfo, |
|||
this.identityType, |
|||
this.identityTypeName, |
|||
this.domicilePlaceProvinceCode, |
|||
this.domicilePlaceProvinceName, |
|||
this.domicilePlaceCityCode, |
|||
this.domicilePlaceCityName, |
|||
this.nationCode, |
|||
this.nation, |
|||
this.bodilyFormCode, |
|||
this.bodilyForm, |
|||
this.accountTypeCode, |
|||
this.accountTypeName, |
|||
this.nationalityCode, |
|||
this.nationality, |
|||
this.nativePlaceCode, |
|||
this.nativePlaceName, |
|||
this.industryCode, |
|||
this.industry, |
|||
this.occupationCode, |
|||
this.occupation, |
|||
this.onlyChild, |
|||
this.carPurchaseSituationCode, |
|||
this.carPurchaseSituation, |
|||
this.propertyPermitsCode, |
|||
this.propertyPermits, |
|||
this.wechatId, |
|||
this.hometownProvinceCode, |
|||
this.hometownProvinceName, |
|||
this.hometownCityCode, |
|||
this.hometownCityName, |
|||
this.display, |
|||
this.displayStatus, |
|||
this.inLove, |
|||
this.hasParentsPension, |
|||
this.auditProfilePhoto, |
|||
this.photoList, |
|||
this.describeAuditStatus, |
|||
this.describeAudit, |
|||
this.fillSerialNumber, |
|||
this.demandMarriage, |
|||
this.mateDescriptionAuditStatus, |
|||
this.mateDescriptionAudit, |
|||
this.marriageSeekingContacts, |
|||
this.age, |
|||
this.meLike, |
|||
this.miSessionType, |
|||
this.consumeRight, |
|||
this.vip, |
|||
this.dataScoring, |
|||
this.phone, |
|||
this.guestMatchmaker, |
|||
this.miId, |
|||
this.allowMatchmakerInviteBounty}); |
|||
|
|||
UserInfoData.fromJson(Map<String, dynamic> json) { |
|||
id = json['id']; |
|||
isDelete = json['isDelete']; |
|||
createTime = json['createTime']; |
|||
updateTime = json['updateTime']; |
|||
event = json['event']; |
|||
accountId = json['accountId']; |
|||
userId = json['userId']; |
|||
nickName = json['nickName']; |
|||
name = json['name']; |
|||
profilePhoto = json['profilePhoto']; |
|||
hasUploadProfilePhoto = json['hasUploadProfilePhoto']; |
|||
photoDisplay = json['photoDisplay']; |
|||
identityCard = json['identityCard']; |
|||
genderCode = json['genderCode']; |
|||
genderValue = json['genderValue']; |
|||
homeCountryCode = json['homeCountryCode']; |
|||
homeCountry = json['homeCountry']; |
|||
provinceCode = json['provinceCode']; |
|||
provinceName = json['provinceName']; |
|||
cityCode = json['cityCode']; |
|||
cityName = json['cityName']; |
|||
districtCode = json['districtCode']; |
|||
districtName = json['districtName']; |
|||
birthYear = json['birthYear']; |
|||
birthDate = json['birthDate']; |
|||
constellationCode = json['constellationCode']; |
|||
constellation = json['constellation']; |
|||
chineseZodiacCode = json['chineseZodiacCode']; |
|||
chineseZodiac = json['chineseZodiac']; |
|||
height = json['height']; |
|||
weight = json['weight']; |
|||
educationCode = json['educationCode']; |
|||
education = json['education']; |
|||
maritalStatusCode = json['maritalStatusCode']; |
|||
maritalStatusName = json['maritalStatusName']; |
|||
minimumIncome = json['minimumIncome']; |
|||
maximumIncome = json['maximumIncome']; |
|||
incomeCode = json['incomeCode']; |
|||
income = json['income']; |
|||
diplomaVerificationCode = json['diplomaVerificationCode']; |
|||
describeInfo = json['describeInfo']; |
|||
identityType = json['identityType']; |
|||
identityTypeName = json['identityTypeName']; |
|||
domicilePlaceProvinceCode = json['domicilePlaceProvinceCode']; |
|||
domicilePlaceProvinceName = json['domicilePlaceProvinceName']; |
|||
domicilePlaceCityCode = json['domicilePlaceCityCode']; |
|||
domicilePlaceCityName = json['domicilePlaceCityName']; |
|||
nationCode = json['nationCode']; |
|||
nation = json['nation']; |
|||
bodilyFormCode = json['bodilyFormCode']; |
|||
bodilyForm = json['bodilyForm']; |
|||
accountTypeCode = json['accountTypeCode']; |
|||
accountTypeName = json['accountTypeName']; |
|||
nationalityCode = json['nationalityCode']; |
|||
nationality = json['nationality']; |
|||
nativePlaceCode = json['nativePlaceCode']; |
|||
nativePlaceName = json['nativePlaceName']; |
|||
industryCode = json['industryCode']; |
|||
industry = json['industry']; |
|||
occupationCode = json['occupationCode']; |
|||
occupation = json['occupation']; |
|||
onlyChild = json['onlyChild']; |
|||
carPurchaseSituationCode = json['carPurchaseSituationCode']; |
|||
carPurchaseSituation = json['carPurchaseSituation']; |
|||
propertyPermitsCode = json['propertyPermitsCode']; |
|||
propertyPermits = json['propertyPermits']; |
|||
wechatId = json['wechatId']; |
|||
hometownProvinceCode = json['hometownProvinceCode']; |
|||
hometownProvinceName = json['hometownProvinceName']; |
|||
hometownCityCode = json['hometownCityCode']; |
|||
hometownCityName = json['hometownCityName']; |
|||
display = json['display']; |
|||
displayStatus = json['displayStatus']; |
|||
inLove = json['inLove']; |
|||
hasParentsPension = json['hasParentsPension']; |
|||
auditProfilePhoto = json['auditProfilePhoto'] != null |
|||
? new AuditProfilePhoto.fromJson(json['auditProfilePhoto']) |
|||
: null; |
|||
if (json['photoList'] != null) { |
|||
photoList = <PhotoList>[]; |
|||
json['photoList'].forEach((v) { |
|||
photoList!.add(new PhotoList.fromJson(v)); |
|||
}); |
|||
} |
|||
describeAuditStatus = json['describeAuditStatus']; |
|||
describeAudit = json['describeAudit']; |
|||
fillSerialNumber = json['fillSerialNumber']; |
|||
demandMarriage = json['demandMarriage']; |
|||
mateDescriptionAuditStatus = json['mateDescriptionAuditStatus']; |
|||
mateDescriptionAudit = json['mateDescriptionAudit']; |
|||
if (json['marriageSeekingContacts'] != null) { |
|||
marriageSeekingContacts = <Null>[]; |
|||
// json['marriageSeekingContacts'].forEach((v) { |
|||
// marriageSeekingContacts!.add(new Null.fromJson(v)); |
|||
// }); |
|||
} |
|||
age = json['age']; |
|||
meLike = json['meLike']; |
|||
miSessionType = json['miSessionType']; |
|||
consumeRight = json['consumeRight']; |
|||
vip = json['vip']; |
|||
dataScoring = json['dataScoring']; |
|||
phone = json['phone']; |
|||
guestMatchmaker = json['guestMatchmaker']; |
|||
miId = json['miId']; |
|||
allowMatchmakerInviteBounty = json['allowMatchmakerInviteBounty']; |
|||
} |
|||
|
|||
Map<String, dynamic> toJson() { |
|||
final Map<String, dynamic> data = new Map<String, dynamic>(); |
|||
data['id'] = this.id; |
|||
data['isDelete'] = this.isDelete; |
|||
data['createTime'] = this.createTime; |
|||
data['updateTime'] = this.updateTime; |
|||
data['event'] = this.event; |
|||
data['accountId'] = this.accountId; |
|||
data['userId'] = this.userId; |
|||
data['nickName'] = this.nickName; |
|||
data['name'] = this.name; |
|||
data['profilePhoto'] = this.profilePhoto; |
|||
data['hasUploadProfilePhoto'] = this.hasUploadProfilePhoto; |
|||
data['photoDisplay'] = this.photoDisplay; |
|||
data['identityCard'] = this.identityCard; |
|||
data['genderCode'] = this.genderCode; |
|||
data['genderValue'] = this.genderValue; |
|||
data['homeCountryCode'] = this.homeCountryCode; |
|||
data['homeCountry'] = this.homeCountry; |
|||
data['provinceCode'] = this.provinceCode; |
|||
data['provinceName'] = this.provinceName; |
|||
data['cityCode'] = this.cityCode; |
|||
data['cityName'] = this.cityName; |
|||
data['districtCode'] = this.districtCode; |
|||
data['districtName'] = this.districtName; |
|||
data['birthYear'] = this.birthYear; |
|||
data['birthDate'] = this.birthDate; |
|||
data['constellationCode'] = this.constellationCode; |
|||
data['constellation'] = this.constellation; |
|||
data['chineseZodiacCode'] = this.chineseZodiacCode; |
|||
data['chineseZodiac'] = this.chineseZodiac; |
|||
data['height'] = this.height; |
|||
data['weight'] = this.weight; |
|||
data['educationCode'] = this.educationCode; |
|||
data['education'] = this.education; |
|||
data['maritalStatusCode'] = this.maritalStatusCode; |
|||
data['maritalStatusName'] = this.maritalStatusName; |
|||
data['minimumIncome'] = this.minimumIncome; |
|||
data['maximumIncome'] = this.maximumIncome; |
|||
data['incomeCode'] = this.incomeCode; |
|||
data['income'] = this.income; |
|||
data['diplomaVerificationCode'] = this.diplomaVerificationCode; |
|||
data['describeInfo'] = this.describeInfo; |
|||
data['identityType'] = this.identityType; |
|||
data['identityTypeName'] = this.identityTypeName; |
|||
data['domicilePlaceProvinceCode'] = this.domicilePlaceProvinceCode; |
|||
data['domicilePlaceProvinceName'] = this.domicilePlaceProvinceName; |
|||
data['domicilePlaceCityCode'] = this.domicilePlaceCityCode; |
|||
data['domicilePlaceCityName'] = this.domicilePlaceCityName; |
|||
data['nationCode'] = this.nationCode; |
|||
data['nation'] = this.nation; |
|||
data['bodilyFormCode'] = this.bodilyFormCode; |
|||
data['bodilyForm'] = this.bodilyForm; |
|||
data['accountTypeCode'] = this.accountTypeCode; |
|||
data['accountTypeName'] = this.accountTypeName; |
|||
data['nationalityCode'] = this.nationalityCode; |
|||
data['nationality'] = this.nationality; |
|||
data['nativePlaceCode'] = this.nativePlaceCode; |
|||
data['nativePlaceName'] = this.nativePlaceName; |
|||
data['industryCode'] = this.industryCode; |
|||
data['industry'] = this.industry; |
|||
data['occupationCode'] = this.occupationCode; |
|||
data['occupation'] = this.occupation; |
|||
data['onlyChild'] = this.onlyChild; |
|||
data['carPurchaseSituationCode'] = this.carPurchaseSituationCode; |
|||
data['carPurchaseSituation'] = this.carPurchaseSituation; |
|||
data['propertyPermitsCode'] = this.propertyPermitsCode; |
|||
data['propertyPermits'] = this.propertyPermits; |
|||
data['wechatId'] = this.wechatId; |
|||
data['hometownProvinceCode'] = this.hometownProvinceCode; |
|||
data['hometownProvinceName'] = this.hometownProvinceName; |
|||
data['hometownCityCode'] = this.hometownCityCode; |
|||
data['hometownCityName'] = this.hometownCityName; |
|||
data['display'] = this.display; |
|||
data['displayStatus'] = this.displayStatus; |
|||
data['inLove'] = this.inLove; |
|||
data['hasParentsPension'] = this.hasParentsPension; |
|||
if (this.auditProfilePhoto != null) { |
|||
data['auditProfilePhoto'] = this.auditProfilePhoto!.toJson(); |
|||
} |
|||
if (this.photoList != null) { |
|||
data['photoList'] = this.photoList!.map((v) => v.toJson()).toList(); |
|||
} |
|||
data['describeAuditStatus'] = this.describeAuditStatus; |
|||
data['describeAudit'] = this.describeAudit; |
|||
data['fillSerialNumber'] = this.fillSerialNumber; |
|||
data['demandMarriage'] = this.demandMarriage; |
|||
data['mateDescriptionAuditStatus'] = this.mateDescriptionAuditStatus; |
|||
data['mateDescriptionAudit'] = this.mateDescriptionAudit; |
|||
if (this.marriageSeekingContacts != null) { |
|||
data['marriageSeekingContacts'] = []; |
|||
// this.marriageSeekingContacts!.map((v) => v.toJson()).toList(); |
|||
} |
|||
data['age'] = this.age; |
|||
data['meLike'] = this.meLike; |
|||
data['miSessionType'] = this.miSessionType; |
|||
data['consumeRight'] = this.consumeRight; |
|||
data['vip'] = this.vip; |
|||
data['dataScoring'] = this.dataScoring; |
|||
data['phone'] = this.phone; |
|||
data['guestMatchmaker'] = this.guestMatchmaker; |
|||
data['miId'] = this.miId; |
|||
data['allowMatchmakerInviteBounty'] = this.allowMatchmakerInviteBounty; |
|||
return data; |
|||
} |
|||
} |
|||
|
|||
class AuditProfilePhoto { |
|||
String? id; |
|||
bool? isDelete; |
|||
String? createTime; |
|||
String? updateTime; |
|||
Null? event; |
|||
String? miId; |
|||
num? photoType; |
|||
String? photoUrl; |
|||
String? auditImgId; |
|||
num? auditStatus; |
|||
|
|||
AuditProfilePhoto( |
|||
{this.id, |
|||
this.isDelete, |
|||
this.createTime, |
|||
this.updateTime, |
|||
this.event, |
|||
this.miId, |
|||
this.photoType, |
|||
this.photoUrl, |
|||
this.auditImgId, |
|||
this.auditStatus}); |
|||
|
|||
AuditProfilePhoto.fromJson(Map<String, dynamic> json) { |
|||
id = json['id']; |
|||
isDelete = json['isDelete']; |
|||
createTime = json['createTime']; |
|||
updateTime = json['updateTime']; |
|||
event = json['event']; |
|||
miId = json['miId']; |
|||
photoType = json['photoType']; |
|||
photoUrl = json['photoUrl']; |
|||
auditImgId = json['auditImgId']; |
|||
auditStatus = json['auditStatus']; |
|||
} |
|||
|
|||
Map<String, dynamic> toJson() { |
|||
final Map<String, dynamic> data = new Map<String, dynamic>(); |
|||
data['id'] = this.id; |
|||
data['isDelete'] = this.isDelete; |
|||
data['createTime'] = this.createTime; |
|||
data['updateTime'] = this.updateTime; |
|||
data['event'] = this.event; |
|||
data['miId'] = this.miId; |
|||
data['photoType'] = this.photoType; |
|||
data['photoUrl'] = this.photoUrl; |
|||
data['auditImgId'] = this.auditImgId; |
|||
data['auditStatus'] = this.auditStatus; |
|||
return data; |
|||
} |
|||
} |
|||
|
|||
class PhotoList { |
|||
String? id; |
|||
bool? isDelete; |
|||
String? createTime; |
|||
Null? updateTime; |
|||
Null? event; |
|||
num? miId; |
|||
num? photoType; |
|||
String? photoUrl; |
|||
num? auditImgId; |
|||
num? auditStatus; |
|||
|
|||
PhotoList( |
|||
{this.id, |
|||
this.isDelete, |
|||
this.createTime, |
|||
this.updateTime, |
|||
this.event, |
|||
this.miId, |
|||
this.photoType, |
|||
this.photoUrl, |
|||
this.auditImgId, |
|||
this.auditStatus}); |
|||
|
|||
PhotoList.fromJson(Map<String, dynamic> json) { |
|||
id = json['id']; |
|||
isDelete = json['isDelete']; |
|||
createTime = json['createTime']; |
|||
updateTime = json['updateTime']; |
|||
event = json['event']; |
|||
miId = json['miId']; |
|||
photoType = json['photoType']; |
|||
photoUrl = json['photoUrl']; |
|||
auditImgId = json['auditImgId']; |
|||
auditStatus = json['auditStatus']; |
|||
} |
|||
|
|||
Map<String, dynamic> toJson() { |
|||
final Map<String, dynamic> data = new Map<String, dynamic>(); |
|||
data['id'] = this.id; |
|||
data['isDelete'] = this.isDelete; |
|||
data['createTime'] = this.createTime; |
|||
data['updateTime'] = this.updateTime; |
|||
data['event'] = this.event; |
|||
data['miId'] = this.miId; |
|||
data['photoType'] = this.photoType; |
|||
data['photoUrl'] = this.photoUrl; |
|||
data['auditImgId'] = this.auditImgId; |
|||
data['auditStatus'] = this.auditStatus; |
|||
return data; |
|||
} |
|||
} |
|||
@ -0,0 +1,157 @@ |
|||
class WithdrawAuditData { |
|||
List<Records>? records; |
|||
int? total; |
|||
int? size; |
|||
int? current; |
|||
int? pages; |
|||
|
|||
WithdrawAuditData( |
|||
{this.records, this.total, this.size, this.current, this.pages}); |
|||
|
|||
WithdrawAuditData.fromJson(Map<String, dynamic> json) { |
|||
if (json['records'] != null) { |
|||
records = <Records>[]; |
|||
json['records'].forEach((v) { |
|||
records!.add(new Records.fromJson(v)); |
|||
}); |
|||
} |
|||
total = json['total']; |
|||
size = json['size']; |
|||
current = json['current']; |
|||
pages = json['pages']; |
|||
} |
|||
|
|||
Map<String, dynamic> toJson() { |
|||
final Map<String, dynamic> data = new Map<String, dynamic>(); |
|||
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<String, dynamic> 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<String, dynamic> toJson() { |
|||
final Map<String, dynamic> data = new Map<String, dynamic>(); |
|||
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<String, dynamic> json) { |
|||
cardNum = json['cardNum']; |
|||
ownerName = json['ownerName']; |
|||
bankName = json['bankName']; |
|||
openingBank = json['openingBank']; |
|||
bankCardId = json['bankCardId']; |
|||
} |
|||
|
|||
Map<String, dynamic> toJson() { |
|||
final Map<String, dynamic> data = new Map<String, dynamic>(); |
|||
data['cardNum'] = this.cardNum; |
|||
data['ownerName'] = this.ownerName; |
|||
data['bankName'] = this.bankName; |
|||
data['openingBank'] = this.openingBank; |
|||
data['bankCardId'] = this.bankCardId; |
|||
return data; |
|||
} |
|||
} |
|||
@ -0,0 +1,28 @@ |
|||
class WithdrawData { |
|||
num? withdrawAmount; |
|||
num? withdrawServiceFeePct; |
|||
num? withdrawServiceFee; |
|||
num? arrivalAmount; |
|||
|
|||
WithdrawData( |
|||
{this.withdrawAmount, |
|||
this.withdrawServiceFeePct, |
|||
this.withdrawServiceFee, |
|||
this.arrivalAmount}); |
|||
|
|||
WithdrawData.fromJson(Map<String, dynamic> json) { |
|||
withdrawAmount = json['withdrawAmount']; |
|||
withdrawServiceFeePct = json['withdrawServiceFeePct']; |
|||
withdrawServiceFee = json['withdrawServiceFee']; |
|||
arrivalAmount = json['arrivalAmount']; |
|||
} |
|||
|
|||
Map<String, dynamic> toJson() { |
|||
final Map<String, dynamic> data = new Map<String, dynamic>(); |
|||
data['withdrawAmount'] = this.withdrawAmount; |
|||
data['withdrawServiceFeePct'] = this.withdrawServiceFeePct; |
|||
data['withdrawServiceFee'] = this.withdrawServiceFee; |
|||
data['arrivalAmount'] = this.arrivalAmount; |
|||
return data; |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save