|
|
@ -92,6 +92,7 @@ import 'package:mohem_flutter_app/models/submit_term_transaction_list_model.dart
|
|
|
|
import 'package:mohem_flutter_app/models/subordinates_on_leaves_model.dart';
|
|
|
|
import 'package:mohem_flutter_app/models/subordinates_on_leaves_model.dart';
|
|
|
|
import 'package:mohem_flutter_app/models/termination/get_term_cols_structure_list_model.dart';
|
|
|
|
import 'package:mohem_flutter_app/models/termination/get_term_cols_structure_list_model.dart';
|
|
|
|
import 'package:mohem_flutter_app/models/termination/get_term_dff_structure_list_model.dart';
|
|
|
|
import 'package:mohem_flutter_app/models/termination/get_term_dff_structure_list_model.dart';
|
|
|
|
|
|
|
|
import 'package:mohem_flutter_app/models/termination/termination_notification_body.dart';
|
|
|
|
import 'package:mohem_flutter_app/models/update_item_type_success_list.dart';
|
|
|
|
import 'package:mohem_flutter_app/models/update_item_type_success_list.dart';
|
|
|
|
import 'package:mohem_flutter_app/models/update_user_item_type_list.dart';
|
|
|
|
import 'package:mohem_flutter_app/models/update_user_item_type_list.dart';
|
|
|
|
import 'package:mohem_flutter_app/models/vacation_rule/create_vacation_rule_list_model.dart';
|
|
|
|
import 'package:mohem_flutter_app/models/vacation_rule/create_vacation_rule_list_model.dart';
|
|
|
@ -223,7 +224,6 @@ class GenericResponseModel {
|
|
|
|
List<String>? getOrganizationsSalariesList;
|
|
|
|
List<String>? getOrganizationsSalariesList;
|
|
|
|
List<GetPaymentInformationList>? getPaymentInformationList;
|
|
|
|
List<GetPaymentInformationList>? getPaymentInformationList;
|
|
|
|
List<GetPayslipList>? getPayslipList;
|
|
|
|
List<GetPayslipList>? getPayslipList;
|
|
|
|
|
|
|
|
|
|
|
|
// List<String>? getPendingReqDetailsList;
|
|
|
|
// List<String>? getPendingReqDetailsList;
|
|
|
|
// List<String>? getPendingReqFunctionsList;
|
|
|
|
// List<String>? getPendingReqFunctionsList;
|
|
|
|
List<GetPerformanceAppraisalList>? getPerformanceAppraisalList;
|
|
|
|
List<GetPerformanceAppraisalList>? getPerformanceAppraisalList;
|
|
|
@ -254,7 +254,7 @@ class GenericResponseModel {
|
|
|
|
List<String>? getSwipesList;
|
|
|
|
List<String>? getSwipesList;
|
|
|
|
List<GetTermColsStructureList>? getTermColsStructureList;
|
|
|
|
List<GetTermColsStructureList>? getTermColsStructureList;
|
|
|
|
List<GetTermDffStructureList>? getTermDffStructureList;
|
|
|
|
List<GetTermDffStructureList>? getTermDffStructureList;
|
|
|
|
List<String>? getTermNotificationBodyList;
|
|
|
|
List<TerminationNotificationBody>? getTermNotificationBodyList;
|
|
|
|
List<GetTimeCardSummaryList>? getTimeCardSummaryList;
|
|
|
|
List<GetTimeCardSummaryList>? getTimeCardSummaryList;
|
|
|
|
List<GetTicketsByEmployeeList>? getTicketsByEmployeeList;
|
|
|
|
List<GetTicketsByEmployeeList>? getTicketsByEmployeeList;
|
|
|
|
List<GetTicketDetailsByEmployee>? getTicketDetailsByEmployee;
|
|
|
|
List<GetTicketDetailsByEmployee>? getTicketDetailsByEmployee;
|
|
|
@ -680,6 +680,7 @@ class GenericResponseModel {
|
|
|
|
successMsg = json['SuccessMsg'];
|
|
|
|
successMsg = json['SuccessMsg'];
|
|
|
|
successMsgN = json['SuccessMsgN'];
|
|
|
|
successMsgN = json['SuccessMsgN'];
|
|
|
|
vidaUpdatedResponse = json['VidaUpdatedResponse'];
|
|
|
|
vidaUpdatedResponse = json['VidaUpdatedResponse'];
|
|
|
|
|
|
|
|
|
|
|
|
if (json['AddAttSuccessList'] != null) {
|
|
|
|
if (json['AddAttSuccessList'] != null) {
|
|
|
|
addAttSuccessList = <AddAttSuccessList>[];
|
|
|
|
addAttSuccessList = <AddAttSuccessList>[];
|
|
|
|
json['AddAttSuccessList'].forEach((v) {
|
|
|
|
json['AddAttSuccessList'].forEach((v) {
|
|
|
@ -693,6 +694,14 @@ class GenericResponseModel {
|
|
|
|
businessCardPrivilege = json['BusinessCardPrivilege'];
|
|
|
|
businessCardPrivilege = json['BusinessCardPrivilege'];
|
|
|
|
calculateAbsenceDuration = json['CalculateAbsenceDuration'] != null ? new CalculateAbsenceDuration.fromJson(json['CalculateAbsenceDuration']) : null;
|
|
|
|
calculateAbsenceDuration = json['CalculateAbsenceDuration'] != null ? new CalculateAbsenceDuration.fromJson(json['CalculateAbsenceDuration']) : null;
|
|
|
|
cancelHRTransactionLIst = json['CancelHRTransactionLIst'] != null ? new CancelHRTransactionLIst.fromJson(json['CancelHRTransactionLIst']) : null;
|
|
|
|
cancelHRTransactionLIst = json['CancelHRTransactionLIst'] != null ? new CancelHRTransactionLIst.fromJson(json['CancelHRTransactionLIst']) : null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (json['GetTermNotificationBodyList'] != null) {
|
|
|
|
|
|
|
|
getTermNotificationBodyList = <TerminationNotificationBody>[];
|
|
|
|
|
|
|
|
json['GetTermNotificationBodyList'].forEach((v) {
|
|
|
|
|
|
|
|
getTermNotificationBodyList!.add(TerminationNotificationBody.fromJson(v));
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
chatEmployeeLoginList = json['Chat_EmployeeLoginList'];
|
|
|
|
chatEmployeeLoginList = json['Chat_EmployeeLoginList'];
|
|
|
|
companyBadge = json['CompanyBadge'];
|
|
|
|
companyBadge = json['CompanyBadge'];
|
|
|
|
companyImage = json['CompanyImage'];
|
|
|
|
companyImage = json['CompanyImage'];
|
|
|
@ -1090,7 +1099,7 @@ class GenericResponseModel {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
getTermNotificationBodyList = json['GetTermNotificationBodyList'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (json['GetTimeCardSummaryList'] != null) {
|
|
|
|
if (json['GetTimeCardSummaryList'] != null) {
|
|
|
|
getTimeCardSummaryList = <GetTimeCardSummaryList>[];
|
|
|
|
getTimeCardSummaryList = <GetTimeCardSummaryList>[];
|
|
|
@ -1612,6 +1621,9 @@ class GenericResponseModel {
|
|
|
|
data['GetNotificationReassignModeList'] = getNotificationReassignModeList!.map((v) => v.toJson()).toList();
|
|
|
|
data['GetNotificationReassignModeList'] = getNotificationReassignModeList!.map((v) => v.toJson()).toList();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(getTermNotificationBodyList !=null){
|
|
|
|
|
|
|
|
data['GetTermNotificationBodyList'] = getTermNotificationBodyList!.map((v) => v.toJson()).toList();
|
|
|
|
|
|
|
|
}
|
|
|
|
data['GetObjectValuesList'] = this.getObjectValuesList;
|
|
|
|
data['GetObjectValuesList'] = this.getObjectValuesList;
|
|
|
|
data['GetOpenMissingSwipesList'] = this.getOpenMissingSwipesList;
|
|
|
|
data['GetOpenMissingSwipesList'] = this.getOpenMissingSwipesList;
|
|
|
|
data['GetOpenNotificationsList'] = this.getOpenNotificationsList;
|
|
|
|
data['GetOpenNotificationsList'] = this.getOpenNotificationsList;
|
|
|
@ -1688,7 +1700,6 @@ class GenericResponseModel {
|
|
|
|
data['GetTermDffStructureList'] = this.getTermDffStructureList!.map((v) => v.toJson()).toList();
|
|
|
|
data['GetTermDffStructureList'] = this.getTermDffStructureList!.map((v) => v.toJson()).toList();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
data['GetTermNotificationBodyList'] = this.getTermNotificationBodyList;
|
|
|
|
|
|
|
|
if (this.getTimeCardSummaryList != null) {
|
|
|
|
if (this.getTimeCardSummaryList != null) {
|
|
|
|
data['GetTimeCardSummaryList'] = this.getTimeCardSummaryList!.map((v) => v.toJson()).toList();
|
|
|
|
data['GetTimeCardSummaryList'] = this.getTimeCardSummaryList!.map((v) => v.toJson()).toList();
|
|
|
|
}
|
|
|
|
}
|
|
|
|