You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
126 lines
4.9 KiB
Dart
126 lines
4.9 KiB
Dart
|
1 month ago
|
class UReceivedResponseData {
|
||
|
|
int id = 0;
|
||
|
|
String porOrgacode = "";
|
||
|
|
String drMbmBkmsnumber = "";
|
||
|
|
String crMbmBkmsnumber = "";
|
||
|
|
String sgtReceiveNodeId = "";
|
||
|
|
String sgtSentNodeId = "";
|
||
|
|
bool batAcnttranReversed = false;
|
||
|
|
String dmpProdcode = "";
|
||
|
|
String drmbmBkmstitle = "";
|
||
|
|
String drpcrCurrdesc = "";
|
||
|
|
String cmpCustcode = "";
|
||
|
|
String drPcrCurrcode = "";
|
||
|
|
String crMbmBkmstitle = "";
|
||
|
|
String crPcrCurrdesc = "";
|
||
|
|
String crPcrCurrcode = "";
|
||
|
|
String sgtSentGntrnumber = "";
|
||
|
|
String drSgtGntrdate = "";
|
||
|
|
String crSgtGntrdate = "";
|
||
|
|
double sgtGntramt = 0.0;
|
||
|
|
bool batAcnttranSend = false;
|
||
|
|
bool batAcnttranReceived = false;
|
||
|
|
String sgtReceiveGntrnumber = "";
|
||
|
|
String drPcrCurrshort = "";
|
||
|
|
String crPcrCurrshort = "";
|
||
|
|
|
||
|
|
// String daysToExpire = "";
|
||
|
|
String expSgtGntrdate = "";
|
||
|
|
|
||
|
|
UReceivedResponseData({
|
||
|
|
this.id = 0,
|
||
|
|
this.porOrgacode = "",
|
||
|
|
this.drMbmBkmsnumber = "",
|
||
|
|
this.crMbmBkmsnumber = "",
|
||
|
|
this.sgtReceiveNodeId = "",
|
||
|
|
this.sgtSentNodeId = "",
|
||
|
|
this.batAcnttranReversed = false,
|
||
|
|
this.dmpProdcode = "",
|
||
|
|
this.drmbmBkmstitle = "",
|
||
|
|
this.drpcrCurrdesc = "",
|
||
|
|
this.cmpCustcode = "",
|
||
|
|
this.drPcrCurrcode = "",
|
||
|
|
this.crMbmBkmstitle = "",
|
||
|
|
this.crPcrCurrdesc = "",
|
||
|
|
this.crPcrCurrcode = "",
|
||
|
|
this.sgtSentGntrnumber = "",
|
||
|
|
this.drSgtGntrdate = "",
|
||
|
|
this.crSgtGntrdate = "",
|
||
|
|
this.sgtGntramt = 0.0,
|
||
|
|
this.batAcnttranSend = false,
|
||
|
|
this.batAcnttranReceived = false,
|
||
|
|
this.sgtReceiveGntrnumber = "",
|
||
|
|
this.drPcrCurrshort = "",
|
||
|
|
this.crPcrCurrshort = "",
|
||
|
|
// this.daysToExpire = "",
|
||
|
|
this.expSgtGntrdate = "",
|
||
|
|
});
|
||
|
|
|
||
|
|
factory UReceivedResponseData.fromMap(Map<String, dynamic> map) {
|
||
|
|
return UReceivedResponseData(
|
||
|
|
id: map['id'] ?? 0,
|
||
|
|
porOrgacode: map['porOrgacode'] ?? "",
|
||
|
|
drMbmBkmsnumber: map['drMbmBkmsnumber'] ?? "",
|
||
|
|
crMbmBkmsnumber: map['crMbmBkmsnumber'] ?? "",
|
||
|
|
sgtReceiveNodeId: map['sgtReceiveNodeId'] ?? "",
|
||
|
|
sgtSentNodeId: map['sgtSentNodeId'] ?? "",
|
||
|
|
batAcnttranReversed: map['batAcnttranReversed'] ?? false,
|
||
|
|
dmpProdcode: map['dmpProdcode'] ?? "",
|
||
|
|
drmbmBkmstitle: map['drmbmBkmstitle'] ?? "",
|
||
|
|
drpcrCurrdesc: map['drpcrCurrdesc'] ?? "",
|
||
|
|
cmpCustcode: map['cmpCustcode'] ?? "",
|
||
|
|
drPcrCurrcode: map['drPcrCurrcode'] ?? "",
|
||
|
|
crMbmBkmstitle: map['crMbmBkmstitle'] ?? "",
|
||
|
|
crPcrCurrdesc: map['crPcrCurrdesc'] ?? "",
|
||
|
|
crPcrCurrcode: map['crPcrCurrcode'] ?? "",
|
||
|
|
sgtSentGntrnumber: map['sgtSentGntrnumber'] ?? "",
|
||
|
|
drSgtGntrdate: map['drSgtGntrdate'] ?? "",
|
||
|
|
crSgtGntrdate: map['crSgtGntrdate'] ?? "",
|
||
|
|
sgtGntramt: map['sgtGntramt'] ?? 0.0,
|
||
|
|
batAcnttranSend: map['batAcnttranSend'] ?? false,
|
||
|
|
batAcnttranReceived: map['batAcnttranReceived'] ?? false,
|
||
|
|
sgtReceiveGntrnumber: map['sgtReceiveGntrnumber'] ?? "",
|
||
|
|
drPcrCurrshort: map['drPcrCurrshort'] ?? "",
|
||
|
|
crPcrCurrshort: map['crPcrCurrshort'] ?? "",
|
||
|
|
// daysToExpire: map['daysToExpire'] ?? "",
|
||
|
|
expSgtGntrdate: map['expSgtGntrdate'] ?? "",
|
||
|
|
);
|
||
|
|
}
|
||
|
|
|
||
|
|
Map<String, dynamic> toMap() {
|
||
|
|
return {
|
||
|
|
'id': id,
|
||
|
|
'porOrgacode': porOrgacode,
|
||
|
|
'drMbmBkmsnumber': drMbmBkmsnumber,
|
||
|
|
'crMbmBkmsnumber': crMbmBkmsnumber,
|
||
|
|
'sgtReceiveNodeId': sgtReceiveNodeId,
|
||
|
|
'sgtSentNodeId': sgtSentNodeId,
|
||
|
|
'batAcnttranReversed': batAcnttranReversed,
|
||
|
|
'dmpProdcode': dmpProdcode,
|
||
|
|
'drmbmBkmstitle': drmbmBkmstitle,
|
||
|
|
'drpcrCurrdesc': drpcrCurrdesc,
|
||
|
|
'cmpCustcode': cmpCustcode,
|
||
|
|
'drPcrCurrcode': drPcrCurrcode,
|
||
|
|
'crMbmBkmstitle': crMbmBkmstitle,
|
||
|
|
'crPcrCurrdesc': crPcrCurrdesc,
|
||
|
|
'crPcrCurrcode': crPcrCurrcode,
|
||
|
|
'sgtSentGntrnumber': sgtSentGntrnumber,
|
||
|
|
'drSgtGntrdate': drSgtGntrdate,
|
||
|
|
'crSgtGntrdate': crSgtGntrdate,
|
||
|
|
'sgtGntramt': sgtGntramt,
|
||
|
|
'batAcnttranSend': batAcnttranSend,
|
||
|
|
'batAcnttranReceived': batAcnttranReceived,
|
||
|
|
'sgtReceiveGntrnumber': sgtReceiveGntrnumber,
|
||
|
|
'drPcrCurrshort': drPcrCurrshort,
|
||
|
|
'crPcrCurrshort': crPcrCurrshort,
|
||
|
|
// 'daysToExpire': daysToExpire,
|
||
|
|
'expSgtGntrdate': expSgtGntrdate,
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
@override
|
||
|
|
String toString() {
|
||
|
|
return 'UReceivedResponseData{id: $id, porOrgacode: $porOrgacode, drMbmBkmsnumber: $drMbmBkmsnumber, crMbmBkmsnumber: $crMbmBkmsnumber, sgtReceiveNodeId: $sgtReceiveNodeId, sgtSentNodeId: $sgtSentNodeId, batAcnttranReversed: $batAcnttranReversed, dmpProdcode: $dmpProdcode, drmbmBkmstitle: $drmbmBkmstitle, drpcrCurrdesc: $drpcrCurrdesc, cmpCustcode: $cmpCustcode, drPcrCurrcode: $drPcrCurrcode, crMbmBkmstitle: $crMbmBkmstitle, crPcrCurrdesc: $crPcrCurrdesc, crPcrCurrcode: $crPcrCurrcode, sgtSentGntrnumber: $sgtSentGntrnumber, drSgtGntrdate: $drSgtGntrdate, crSgtGntrdate: $crSgtGntrdate, sgtGntramt: $sgtGntramt, batAcnttranSend: $batAcnttranSend, batAcnttranReceived: $batAcnttranReceived, sgtReceiveGntrnumber: $sgtReceiveGntrnumber, drPcrCurrshort: $drPcrCurrshort, crPcrCurrshort: $crPcrCurrshort, expSgtGntrdate: $expSgtGntrdate}';
|
||
|
|
}
|
||
|
|
}
|