|
|
|
|
@ -35,6 +35,11 @@ import 'package:mohem_flutter_app/models/mowadhafhi/get_ticket_types.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/mowadhafhi/get_tickets_list.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/notification_action_model.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/notification_get_respond_attributes_list_model.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/payslip/get_deductions_list.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/payslip/get_earnings_list.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/payslip/get_payment_information.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/payslip/get_payslip.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/payslip/get_summary_of_payment.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/profile/basic_details_cols_structions.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/profile/basic_details_dff_structure.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/profile/get_contact_clos_structure_list.dart';
|
|
|
|
|
@ -142,12 +147,12 @@ class GenericResponseModel {
|
|
|
|
|
GetContactNotificationBodyList? getContactNotificationBodyList;
|
|
|
|
|
List<String>? getCountriesList;
|
|
|
|
|
List<GetDayHoursTypeDetailsList>? getDayHoursTypeDetailsList;
|
|
|
|
|
List<String>? getDeductionsList;
|
|
|
|
|
List<GetDeductionsList>? getDeductionsList;
|
|
|
|
|
GetDefaultValueList? getDefaultValueList;
|
|
|
|
|
List<GetEitCollectionNotificationBodyList>? getEITCollectionNotificationBodyList;
|
|
|
|
|
List<GetEITDFFStructureList>? getEITDFFStructureList;
|
|
|
|
|
List<GetEITTransactionList>? getEITTransactionList;
|
|
|
|
|
List<String>? getEarningsList;
|
|
|
|
|
List<GetEarningsList>? getEarningsList;
|
|
|
|
|
List<GetEmployeeAddressList>? getEmployeeAddressList;
|
|
|
|
|
List<GetEmployeeBasicDetailsList>? getEmployeeBasicDetailsList;
|
|
|
|
|
List<GetEmployeeContactsList>? getEmployeeContactsList;
|
|
|
|
|
@ -171,8 +176,8 @@ class GenericResponseModel {
|
|
|
|
|
List<String>? getOpenNotificationsNumList;
|
|
|
|
|
List<String>? getOpenPeriodDatesList;
|
|
|
|
|
List<String>? getOrganizationsSalariesList;
|
|
|
|
|
List<String>? getPaymentInformationList;
|
|
|
|
|
List<String>? getPayslipList;
|
|
|
|
|
List<GetPaymentInformationList>? getPaymentInformationList;
|
|
|
|
|
List<GetPayslipList>? getPayslipList;
|
|
|
|
|
List<String>? getPendingReqDetailsList;
|
|
|
|
|
List<String>? getPendingReqFunctionsList;
|
|
|
|
|
List<String>? getPerformanceAppraisalList;
|
|
|
|
|
@ -193,7 +198,7 @@ class GenericResponseModel {
|
|
|
|
|
List<String>? getSubordinatesAttdStatusList;
|
|
|
|
|
List<SubordinatesLeavesList>? getSubordinatesLeavesList;
|
|
|
|
|
List<String>? getSubordinatesLeavesTotalVacationsList;
|
|
|
|
|
List<String>? getSummaryOfPaymentList;
|
|
|
|
|
List<GetSummaryOfPaymentList>? getSummaryOfPaymentList;
|
|
|
|
|
List<String>? getSwipesList;
|
|
|
|
|
List<String>? getTermColsStructureList;
|
|
|
|
|
List<String>? getTermDffStructureList;
|
|
|
|
|
@ -734,7 +739,12 @@ class GenericResponseModel {
|
|
|
|
|
getDayHoursTypeDetailsList!.add(new GetDayHoursTypeDetailsList.fromJson(v));
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
getDeductionsList = json['GetDeductionsList'];
|
|
|
|
|
if (json['GetDeductionsList'] != null) {
|
|
|
|
|
getDeductionsList = <GetDeductionsList>[];
|
|
|
|
|
json['GetDeductionsList'].forEach((v) {
|
|
|
|
|
getDeductionsList!.add(new GetDeductionsList.fromJson(v));
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
getDefaultValueList = json['GetDefaultValueList'] != null ? GetDefaultValueList.fromJson(json['GetDefaultValueList']) : null;
|
|
|
|
|
getEITCollectionNotificationBodyList = json["GetEITCollectionNotificationBodyList"] == null
|
|
|
|
|
? null
|
|
|
|
|
@ -751,7 +761,12 @@ class GenericResponseModel {
|
|
|
|
|
getEITTransactionList!.add(new GetEITTransactionList.fromJson(v));
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
getEarningsList = json['GetEarningsList'];
|
|
|
|
|
if (json['GetEarningsList'] != null) {
|
|
|
|
|
getEarningsList = <GetEarningsList>[];
|
|
|
|
|
json['GetEarningsList'].forEach((v) {
|
|
|
|
|
getEarningsList!.add(new GetEarningsList.fromJson(v));
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
if (json['GetEmployeeAddressList'] != null) {
|
|
|
|
|
getEmployeeAddressList = <GetEmployeeAddressList>[];
|
|
|
|
|
json['GetEmployeeAddressList'].forEach((v) {
|
|
|
|
|
@ -820,8 +835,19 @@ class GenericResponseModel {
|
|
|
|
|
getOpenNotificationsNumList = json['GetOpenNotificationsNumList'];
|
|
|
|
|
getOpenPeriodDatesList = json['GetOpenPeriodDatesList'];
|
|
|
|
|
getOrganizationsSalariesList = json['GetOrganizationsSalariesList'];
|
|
|
|
|
getPaymentInformationList = json['GetPaymentInformationList'];
|
|
|
|
|
getPayslipList = json['GetPayslipList'];
|
|
|
|
|
if (json['GetPaymentInformationList'] != null) {
|
|
|
|
|
getPaymentInformationList = <GetPaymentInformationList>[];
|
|
|
|
|
json['GetPaymentInformationList'].forEach((v) {
|
|
|
|
|
getPaymentInformationList!
|
|
|
|
|
.add(new GetPaymentInformationList.fromJson(v));
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
if (json['GetPayslipList'] != null) {
|
|
|
|
|
getPayslipList = <GetPayslipList>[];
|
|
|
|
|
json['GetPayslipList'].forEach((v) {
|
|
|
|
|
getPayslipList!.add(new GetPayslipList.fromJson(v));
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
getPendingReqDetailsList = json['GetPendingReqDetailsList'];
|
|
|
|
|
getPendingReqFunctionsList = json['GetPendingReqFunctionsList'];
|
|
|
|
|
getPerformanceAppraisalList = json['GetPerformanceAppraisalList'];
|
|
|
|
|
@ -877,7 +903,12 @@ class GenericResponseModel {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
getSubordinatesLeavesTotalVacationsList = json['GetSubordinatesLeavesTotalVacationsList'];
|
|
|
|
|
getSummaryOfPaymentList = json['GetSummaryOfPaymentList'];
|
|
|
|
|
if (json['GetSummaryOfPaymentList'] != null) {
|
|
|
|
|
getSummaryOfPaymentList = <GetSummaryOfPaymentList>[];
|
|
|
|
|
json['GetSummaryOfPaymentList'].forEach((v) {
|
|
|
|
|
getSummaryOfPaymentList!.add(new GetSummaryOfPaymentList.fromJson(v));
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
getSwipesList = json['GetSwipesList'];
|
|
|
|
|
getTermColsStructureList = json['GetTermColsStructureList'];
|
|
|
|
|
getTermDffStructureList = json['GetTermDffStructureList'];
|
|
|
|
|
@ -1241,7 +1272,10 @@ class GenericResponseModel {
|
|
|
|
|
if (this.getDayHoursTypeDetailsList != null) {
|
|
|
|
|
data['GetDayHoursTypeDetailsList'] = this.getDayHoursTypeDetailsList!.map((v) => v.toJson()).toList();
|
|
|
|
|
}
|
|
|
|
|
data['GetDeductionsList'] = this.getDeductionsList;
|
|
|
|
|
if (this.getDeductionsList != null) {
|
|
|
|
|
data['GetDeductionsList'] =
|
|
|
|
|
this.getDeductionsList!.map((v) => v.toJson()).toList();
|
|
|
|
|
}
|
|
|
|
|
if (this.getDefaultValueList != null) {
|
|
|
|
|
data['GetDefaultValueList'] = this.getDefaultValueList!.toJson();
|
|
|
|
|
}
|
|
|
|
|
@ -1252,7 +1286,10 @@ class GenericResponseModel {
|
|
|
|
|
if (this.getEITTransactionList != null) {
|
|
|
|
|
data['GetEITTransactionList'] = this.getEITTransactionList!.map((v) => v.toJson()).toList();
|
|
|
|
|
}
|
|
|
|
|
data['GetEarningsList'] = this.getEarningsList;
|
|
|
|
|
if (this.getEarningsList != null) {
|
|
|
|
|
data['GetEarningsList'] =
|
|
|
|
|
this.getEarningsList!.map((v) => v.toJson()).toList();
|
|
|
|
|
}
|
|
|
|
|
if (this.getEmployeeAddressList != null) {
|
|
|
|
|
data['GetEmployeeAddressList'] = this.getEmployeeAddressList!.map((v) => v.toJson()).toList();
|
|
|
|
|
}
|
|
|
|
|
@ -1297,8 +1334,14 @@ class GenericResponseModel {
|
|
|
|
|
data['GetOpenNotificationsNumList'] = this.getOpenNotificationsNumList;
|
|
|
|
|
data['GetOpenPeriodDatesList'] = this.getOpenPeriodDatesList;
|
|
|
|
|
data['GetOrganizationsSalariesList'] = this.getOrganizationsSalariesList;
|
|
|
|
|
data['GetPaymentInformationList'] = this.getPaymentInformationList;
|
|
|
|
|
data['GetPayslipList'] = this.getPayslipList;
|
|
|
|
|
if (this.getPaymentInformationList != null) {
|
|
|
|
|
data['GetPaymentInformationList'] =
|
|
|
|
|
this.getPaymentInformationList!.map((v) => v.toJson()).toList();
|
|
|
|
|
}
|
|
|
|
|
if (this.getPayslipList != null) {
|
|
|
|
|
data['GetPayslipList'] =
|
|
|
|
|
this.getPayslipList!.map((v) => v.toJson()).toList();
|
|
|
|
|
}
|
|
|
|
|
data['GetPendingReqDetailsList'] = this.getPendingReqDetailsList;
|
|
|
|
|
data['GetPendingReqFunctionsList'] = this.getPendingReqFunctionsList;
|
|
|
|
|
data['GetPerformanceAppraisalList'] = this.getPerformanceAppraisalList;
|
|
|
|
|
@ -1341,7 +1384,10 @@ class GenericResponseModel {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
data['GetSubordinatesLeavesTotalVacationsList'] = this.getSubordinatesLeavesTotalVacationsList;
|
|
|
|
|
data['GetSummaryOfPaymentList'] = this.getSummaryOfPaymentList;
|
|
|
|
|
if (this.getSummaryOfPaymentList != null) {
|
|
|
|
|
data['GetSummaryOfPaymentList'] =
|
|
|
|
|
this.getSummaryOfPaymentList!.map((v) => v.toJson()).toList();
|
|
|
|
|
}
|
|
|
|
|
data['GetSwipesList'] = this.getSwipesList;
|
|
|
|
|
data['GetTermColsStructureList'] = this.getTermColsStructureList;
|
|
|
|
|
data['GetTermDffStructureList'] = this.getTermDffStructureList;
|
|
|
|
|
|