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.
uco-mobile-poc/lib/app/models/GLACCAddMoneyRequestModel.dart

123 lines
4.4 KiB
Dart

class GLACCAddMoneyRequestModel {
String porOrgacode = "";
String pctCstycode = "";
String channelCode = "";
String cmpCustcode = "";
String drPcaGlaccode = "";
String drPcaGlacdesc = "";
String crMbmBkmsnumber = "";
String crMbmBkmstitle = "";
String crPcrCurrcode = "";
String crPcrCurrdesc = "";
String crPcrCurrshort = "";
String sgtGntrnarration = "";
String dmpProdCode = "";
String transType = "";
String notificationId = "";
String transMode = "";
double sgtGntramtfc = 0.0;
String otdTrancomment = "";
String obpPincode = "";
String pinType = "";
GLACCAddMoneyRequestModel({
this.porOrgacode = "",
this.pctCstycode = "",
this.channelCode = "",
this.cmpCustcode = "",
this.drPcaGlaccode = "",
this.drPcaGlacdesc = "",
this.crMbmBkmsnumber = "",
this.crMbmBkmstitle = "",
this.crPcrCurrcode = "",
this.crPcrCurrdesc = "",
this.crPcrCurrshort = "",
this.sgtGntrnarration = "",
this.dmpProdCode = "",
this.transType = "",
this.notificationId = "",
this.transMode = "",
this.sgtGntramtfc = 0.0,
this.otdTrancomment = "",
this.obpPincode = "",
this.pinType = "",
});
GLACCAddMoneyRequestModel.empty()
: this.porOrgacode = "",
this.pctCstycode = "",
this.channelCode = "",
this.cmpCustcode = "",
this.drPcaGlaccode = "",
this.drPcaGlacdesc = "",
this.crMbmBkmsnumber = "",
this.crMbmBkmstitle = "",
this.crPcrCurrcode = "",
this.crPcrCurrdesc = "",
this.crPcrCurrshort = "",
this.sgtGntrnarration = "",
this.dmpProdCode = "",
this.transType = "",
this.notificationId = "",
this.transMode = "",
this.sgtGntramtfc = 0.0,
this.otdTrancomment = "",
this.obpPincode = "",
this.pinType = "";
@override
String toString() {
return 'GLACCAddMoneyRequestModel{porOrgacode: $porOrgacode, pctCstycode: $pctCstycode, channelCode: $channelCode, cmpCustcode: $cmpCustcode, drPcaGlaccode: $drPcaGlaccode, drPcaGlacdesc: $drPcaGlacdesc, crMbmBkmsnumber: $crMbmBkmsnumber, crMbmBkmstitle: $crMbmBkmstitle, crPcrCurrcode: $crPcrCurrcode, crPcrCurrdesc: $crPcrCurrdesc, crPcrCurrshort: $crPcrCurrshort, sgtGntrnarration: $sgtGntrnarration, dmpProdCode: $dmpProdCode, transType: $transType, notificationId: $notificationId, transMode: $transMode, sgtGntramtfc: $sgtGntramtfc, otdTrancomment: $otdTrancomment, obpPincode: $obpPincode, pinType: $pinType}';
}
Map<String, dynamic> toMap() {
return {
'porOrgacode': this.porOrgacode,
'pctCstycode': this.pctCstycode,
'channelCode': this.channelCode,
'cmpCustcode': this.cmpCustcode,
'drPcaGlaccode': this.drPcaGlaccode,
'drPcaGlacdesc': this.drPcaGlacdesc,
'crMbmBkmsnumber': this.crMbmBkmsnumber,
'crMbmBkmstitle': this.crMbmBkmstitle,
'crPcrCurrcode': this.crPcrCurrcode,
'crPcrCurrdesc': this.crPcrCurrdesc,
'crPcrCurrshort': this.crPcrCurrshort,
'sgtGntrnarration': this.sgtGntrnarration,
'dmpProdCode': this.dmpProdCode,
'transType': this.transType,
'notificationId': this.notificationId,
'transMode': this.transMode,
'sgtGntramtfc': this.sgtGntramtfc,
'otdTrancomment': this.otdTrancomment,
'obpPincode': this.obpPincode,
'pinType': this.pinType,
};
}
factory GLACCAddMoneyRequestModel.fromMap(Map<String, dynamic> map) {
return GLACCAddMoneyRequestModel(
porOrgacode: map['porOrgacode'] ?? "",
pctCstycode: map['pctCstycode'] ?? "",
channelCode: map['channelCode'] ?? "",
cmpCustcode: map['cmpCustcode'] ?? "",
drPcaGlaccode: map['drPcaGlaccode'] ?? "",
drPcaGlacdesc: map['drPcaGlacdesc'] ?? "",
crMbmBkmsnumber: map['crMbmBkmsnumber'] ?? "",
crMbmBkmstitle: map['crMbmBkmstitle'] ?? "",
crPcrCurrcode: map['crPcrCurrcode'] ?? "",
crPcrCurrdesc: map['crPcrCurrdesc'] ?? "",
crPcrCurrshort: map['crPcrCurrshort'] ?? "",
sgtGntrnarration: map['sgtGntrnarration'] ?? "",
dmpProdCode: map['dmpProdCode'] ?? "",
transType: map['transType'] ?? "",
notificationId: map['notificationId'] ?? "",
transMode: map['transMode'] ?? "",
sgtGntramtfc: map['sgtGntramtfc'] ?? 0.0,
otdTrancomment: map['otdTrancomment'] ?? "",
obpPincode: map['obpPincode'] ?? "",
pinType: map['pinType'] ?? "",
);
}
}