|
|
|
|
@ -33,6 +33,7 @@ import 'package:mohem_flutter_app/models/get_stamp_ms_notification_body_list_mod
|
|
|
|
|
import 'package:mohem_flutter_app/models/get_stamp_ns_notification_body_list_model.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/get_time_card_summary_list_model.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/get_user_item_type_list.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/leave_balance/calculate_absence_duration_model.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/leave_balance/get_absence_attendance_types_list_model.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/leave_balance/get_absence_dff_structure_list_model.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/leave_balance/get_absence_transaction_list_model.dart';
|
|
|
|
|
@ -72,9 +73,9 @@ import 'package:mohem_flutter_app/models/start_eit_approval_process_model.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/start_phone_approval_process_model.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/submit_eit_transaction_list_model.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/subordinates_on_leaves_model.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/vacation_rule/create_vacation_rule_list_model.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/vacation_rule/create_vacation_rule_list_model.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/vacation_rule/get_item_type_notifications_list_model.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/vacation_rule/get_notification_reassign_mode_list_model.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/vacation_rule/get_vacation_rules_list_model.dart';
|
|
|
|
|
@ -123,7 +124,7 @@ class GenericResponseModel {
|
|
|
|
|
String? bCLogo;
|
|
|
|
|
BasicMemberInformationModel? basicMemberInformation;
|
|
|
|
|
bool? businessCardPrivilege;
|
|
|
|
|
String? calculateAbsenceDuration;
|
|
|
|
|
CalculateAbsenceDuration? calculateAbsenceDuration;
|
|
|
|
|
String? cancelHRTransactionLIst;
|
|
|
|
|
String? chatEmployeeLoginList;
|
|
|
|
|
String? companyBadge;
|
|
|
|
|
@ -655,7 +656,7 @@ class GenericResponseModel {
|
|
|
|
|
bCLogo = json['BC_Logo'];
|
|
|
|
|
basicMemberInformation = json['BasicMemberInformation'] != null ? BasicMemberInformationModel.fromJson(json['BasicMemberInformation']) : null;
|
|
|
|
|
businessCardPrivilege = json['BusinessCardPrivilege'];
|
|
|
|
|
calculateAbsenceDuration = json['CalculateAbsenceDuration'];
|
|
|
|
|
calculateAbsenceDuration = json['CalculateAbsenceDuration'] != null ? new CalculateAbsenceDuration.fromJson(json['CalculateAbsenceDuration']) : null;
|
|
|
|
|
cancelHRTransactionLIst = json['CancelHRTransactionLIst'];
|
|
|
|
|
chatEmployeeLoginList = json['Chat_EmployeeLoginList'];
|
|
|
|
|
companyBadge = json['CompanyBadge'];
|
|
|
|
|
@ -857,8 +858,7 @@ class GenericResponseModel {
|
|
|
|
|
if (json['GetEmployeeSubordinatesList'] != null) {
|
|
|
|
|
getEmployeeSubordinatesList = <GetEmployeeSubordinatesList>[];
|
|
|
|
|
json['GetEmployeeSubordinatesList'].forEach((v) {
|
|
|
|
|
getEmployeeSubordinatesList!
|
|
|
|
|
.add(new GetEmployeeSubordinatesList.fromJson(v));
|
|
|
|
|
getEmployeeSubordinatesList!.add(new GetEmployeeSubordinatesList.fromJson(v));
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
getFliexfieldStructureList = json['GetFliexfieldStructureList'];
|
|
|
|
|
@ -1253,13 +1253,10 @@ class GenericResponseModel {
|
|
|
|
|
if (json['UpdateItemTypeSuccessList'] != null) {
|
|
|
|
|
updateItemTypeSuccessList = <UpdateItemTypeSuccessList>[];
|
|
|
|
|
json['UpdateItemTypeSuccessList'].forEach((v) {
|
|
|
|
|
updateItemTypeSuccessList!
|
|
|
|
|
.add(new UpdateItemTypeSuccessList.fromJson(v));
|
|
|
|
|
updateItemTypeSuccessList!.add(new UpdateItemTypeSuccessList.fromJson(v));
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
updateUserItemTypesList = json['UpdateUserItemTypesList'] != null
|
|
|
|
|
? new UpdateUserItemTypesList.fromJson(json['UpdateUserItemTypesList'])
|
|
|
|
|
: null;
|
|
|
|
|
updateUserItemTypesList = json['UpdateUserItemTypesList'] != null ? new UpdateUserItemTypesList.fromJson(json['UpdateUserItemTypesList']) : null;
|
|
|
|
|
updateVacationRuleList = json['UpdateVacationRuleList'];
|
|
|
|
|
vHREmployeeLoginList = json['VHR_EmployeeLoginList'];
|
|
|
|
|
vHRGetEmployeeDetailsList = json['VHR_GetEmployeeDetailsList'];
|
|
|
|
|
@ -1334,7 +1331,10 @@ class GenericResponseModel {
|
|
|
|
|
data['BasicMemberInformation'] = this.basicMemberInformation!.toJson();
|
|
|
|
|
}
|
|
|
|
|
data['BusinessCardPrivilege'] = this.businessCardPrivilege;
|
|
|
|
|
data['CalculateAbsenceDuration'] = this.calculateAbsenceDuration;
|
|
|
|
|
|
|
|
|
|
if (this.calculateAbsenceDuration != null) {
|
|
|
|
|
data['CalculateAbsenceDuration'] = this.calculateAbsenceDuration!.toJson();
|
|
|
|
|
}
|
|
|
|
|
data['CancelHRTransactionLIst'] = this.cancelHRTransactionLIst;
|
|
|
|
|
data['Chat_EmployeeLoginList'] = this.chatEmployeeLoginList;
|
|
|
|
|
data['CompanyBadge'] = this.companyBadge;
|
|
|
|
|
@ -1449,8 +1449,7 @@ class GenericResponseModel {
|
|
|
|
|
data['GetEmployeePhonesList'] = this.getEmployeePhonesList!.map((v) => v.toJson()).toList();
|
|
|
|
|
}
|
|
|
|
|
if (this.getEmployeeSubordinatesList != null) {
|
|
|
|
|
data['GetEmployeeSubordinatesList'] =
|
|
|
|
|
this.getEmployeeSubordinatesList!.map((v) => v.toJson()).toList();
|
|
|
|
|
data['GetEmployeeSubordinatesList'] = this.getEmployeeSubordinatesList!.map((v) => v.toJson()).toList();
|
|
|
|
|
}
|
|
|
|
|
data['GetFliexfieldStructureList'] = this.getFliexfieldStructureList;
|
|
|
|
|
data['GetHrCollectionNotificationBodyList'] = this.getHrCollectionNotificationBodyList;
|
|
|
|
|
@ -1689,8 +1688,7 @@ class GenericResponseModel {
|
|
|
|
|
data['UpdateAttachmentList'] = this.updateAttachmentList;
|
|
|
|
|
data['UpdateEmployeeImageList'] = this.updateEmployeeImageList;
|
|
|
|
|
if (this.updateItemTypeSuccessList != null) {
|
|
|
|
|
data['UpdateItemTypeSuccessList'] =
|
|
|
|
|
this.updateItemTypeSuccessList!.map((v) => v.toJson()).toList();
|
|
|
|
|
data['UpdateItemTypeSuccessList'] = this.updateItemTypeSuccessList!.map((v) => v.toJson()).toList();
|
|
|
|
|
}
|
|
|
|
|
if (this.updateUserItemTypesList != null) {
|
|
|
|
|
data['UpdateUserItemTypesList'] = this.updateUserItemTypesList!.toJson();
|
|
|
|
|
|