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.
hmg-mohemm-flutter-app/lib/models/worklist_response_model.dart

137 lines
4.1 KiB
Dart

class WorkListResponseModel {
String? bEGINDATE;
String? dUEDATE;
String? eNDDATE;
String? fROMROLE;
int? fROMROWNUM;
String? fROMUSER;
String? fUNCTIONNAME;
String? iTEMKEY;
String? iTEMTYPE;
String? iTEMTYPEDISPLAYNAME;
String? lANGUAGE;
String? mAILSTATUS;
String? mOREINFOROLE;
int? nOTIFICATIONID;
String? nOTIFICATIONNAME;
int? nOOFROWS;
String? oRIGINALRECIPIENT;
String? pONUMBER;
int? pRIORITY;
String? pRIORITYF;
String? pRNUMBER;
String? rECIPIENTROLE;
String? rEQUESTNUMBER;
String? rEQUESTTYPE;
String? rESPONDER;
int? rOWNUM;
String? sELECTEDEMPLOYEENUMBER;
String? sTATUS;
String? sUBJECT;
int? tOROWNUM;
String? tOUSER;
WorkListResponseModel(
{this.bEGINDATE,
this.dUEDATE,
this.eNDDATE,
this.fROMROLE,
this.fROMROWNUM,
this.fROMUSER,
this.fUNCTIONNAME,
this.iTEMKEY,
this.iTEMTYPE,
this.iTEMTYPEDISPLAYNAME,
this.lANGUAGE,
this.mAILSTATUS,
this.mOREINFOROLE,
this.nOTIFICATIONID,
this.nOTIFICATIONNAME,
this.nOOFROWS,
this.oRIGINALRECIPIENT,
this.pONUMBER,
this.pRIORITY,
this.pRIORITYF,
this.pRNUMBER,
this.rECIPIENTROLE,
this.rEQUESTNUMBER,
this.rEQUESTTYPE,
this.rESPONDER,
this.rOWNUM,
this.sELECTEDEMPLOYEENUMBER,
this.sTATUS,
this.sUBJECT,
this.tOROWNUM,
this.tOUSER});
WorkListResponseModel.fromJson(Map<String, dynamic> json) {
bEGINDATE = json['BEGIN_DATE'];
dUEDATE = json['DUE_DATE'];
eNDDATE = json['END_DATE'];
fROMROLE = json['FROM_ROLE'];
fROMROWNUM = json['FROM_ROW_NUM'];
fROMUSER = json['FROM_USER'];
fUNCTIONNAME = json['FUNCTION_NAME'];
iTEMKEY = json['ITEM_KEY'];
iTEMTYPE = json['ITEM_TYPE'];
iTEMTYPEDISPLAYNAME = json['ITEM_TYPE_DISPLAY_NAME'];
lANGUAGE = json['LANGUAGE'];
mAILSTATUS = json['MAIL_STATUS'];
mOREINFOROLE = json['MORE_INFO_ROLE'];
nOTIFICATIONID = json['NOTIFICATION_ID'];
nOTIFICATIONNAME = json['NOTIFICATION_NAME'];
nOOFROWS = json['NO_OF_ROWS'];
oRIGINALRECIPIENT = json['ORIGINAL_RECIPIENT'];
pONUMBER = json['PO_NUMBER'];
pRIORITY = json['PRIORITY'];
pRIORITYF = json['PRIORITY_F'];
pRNUMBER = json['PR_NUMBER'];
rECIPIENTROLE = json['RECIPIENT_ROLE'];
rEQUESTNUMBER = json['REQUEST_NUMBER'];
rEQUESTTYPE = json['REQUEST_TYPE'];
rESPONDER = json['RESPONDER'];
rOWNUM = json['ROW_NUM'];
sELECTEDEMPLOYEENUMBER = json['SELECTED_EMPLOYEE_NUMBER'];
sTATUS = json['STATUS'];
sUBJECT = json['SUBJECT'];
tOROWNUM = json['TO_ROW_NUM'];
tOUSER = json['TO_USER'];
}
Map<String, dynamic> toJson() {
Map<String, dynamic> data = new Map<String, dynamic>();
data['BEGIN_DATE'] = this.bEGINDATE;
data['DUE_DATE'] = this.dUEDATE;
data['END_DATE'] = this.eNDDATE;
data['FROM_ROLE'] = this.fROMROLE;
data['FROM_ROW_NUM'] = this.fROMROWNUM;
data['FROM_USER'] = this.fROMUSER;
data['FUNCTION_NAME'] = this.fUNCTIONNAME;
data['ITEM_KEY'] = this.iTEMKEY;
data['ITEM_TYPE'] = this.iTEMTYPE;
data['ITEM_TYPE_DISPLAY_NAME'] = this.iTEMTYPEDISPLAYNAME;
data['LANGUAGE'] = this.lANGUAGE;
data['MAIL_STATUS'] = this.mAILSTATUS;
data['MORE_INFO_ROLE'] = this.mOREINFOROLE;
data['NOTIFICATION_ID'] = this.nOTIFICATIONID;
data['NOTIFICATION_NAME'] = this.nOTIFICATIONNAME;
data['NO_OF_ROWS'] = this.nOOFROWS;
data['ORIGINAL_RECIPIENT'] = this.oRIGINALRECIPIENT;
data['PO_NUMBER'] = this.pONUMBER;
data['PRIORITY'] = this.pRIORITY;
data['PRIORITY_F'] = this.pRIORITYF;
data['PR_NUMBER'] = this.pRNUMBER;
data['RECIPIENT_ROLE'] = this.rECIPIENTROLE;
data['REQUEST_NUMBER'] = this.rEQUESTNUMBER;
data['REQUEST_TYPE'] = this.rEQUESTTYPE;
data['RESPONDER'] = this.rESPONDER;
data['ROW_NUM'] = this.rOWNUM;
data['SELECTED_EMPLOYEE_NUMBER'] = this.sELECTEDEMPLOYEENUMBER;
data['STATUS'] = this.sTATUS;
data['SUBJECT'] = this.sUBJECT;
data['TO_ROW_NUM'] = this.tOROWNUM;
data['TO_USER'] = this.tOUSER;
return data;
}
}