@ -1,3 +1,5 @@
import ' dart:convert ' ;
import ' package:mohem_flutter_app/models/add_att_success_list_model.dart ' ;
import ' package:mohem_flutter_app/models/add_attachment_list_model.dart ' ;
import ' package:mohem_flutter_app/models/basic_member_information_model.dart ' ;
@ -391,275 +393,278 @@ class GenericResponseModel {
String ? ePharmacyGetItemOnHandList ;
bool ? isActiveCode ;
bool ? isSMSSent ;
GenericResponseModel (
{ this . date ,
this . languageID ,
this . serviceName ,
this . time ,
this . androidLink ,
this . authenticationTokenID ,
this . data ,
this . dataw ,
this . dietType ,
this . dietTypeID ,
this . errorCode ,
this . errorEndUserMessage ,
this . errorEndUserMessageN ,
this . errorMessage ,
this . errorType ,
this . foodCategory ,
this . iOSLink ,
this . isAuthenticated ,
this . mealOrderStatus ,
this . mealType ,
this . messageStatus ,
this . numberOfResultRecords ,
this . patientBlodType ,
this . successMsg ,
this . successMsgN ,
this . vidaUpdatedResponse ,
this . addAttSuccessList ,
this . addAttachmentList ,
this . bCDomain ,
this . bCLogo ,
this . basicMemberInformation ,
this . businessCardPrivilege ,
this . calculateAbsenceDuration ,
this . cancelHRTransactionLIst ,
this . chatEmployeeLoginList ,
this . companyBadge ,
this . companyImage ,
this . companyImageDescription ,
this . companyImageURL ,
this . companyMainCompany ,
this . countryList ,
this . createVacationRuleList ,
this . deleteAttachmentList ,
this . deleteVacationRuleList ,
this . disableSessionList ,
this . employeeQR ,
this . employeeDocumentsList ,
this . forgetPasswordTokenID ,
this . getAbsenceAttachmentsList ,
this . getAbsenceAttendanceTypesList ,
this . getAbsenceCollectionNotificationBodyList ,
this . getAbsenceDffStructureList ,
this . getAbsenceTransactionList ,
this . getAccrualBalancesList ,
this . getActionHistoryList ,
this . getPRActionHistoryList ,
this . getAddressDffStructureList ,
this . getAddressNotificationBodyList ,
this . getApprovesList ,
this . getAttachementList ,
this . getPRAttachmentList ,
this . getAttendanceTrackingList ,
this . getBasicDetColsStructureList ,
this . getBasicDetDffStructureList ,
this . getBasicDetNtfBodyList ,
this . getCEICollectionNotificationBodyList ,
this . getCEIDFFStructureList ,
this . getCEITransactionList ,
this . getCcpTransactionsList ,
this . getCcpTransactionsListNew ,
this . getConcurrentProgramsList ,
this . getContactColsStructureList ,
this . getContactDetailsList ,
this . getContactDffStructureList ,
this . getContactNotificationBodyList ,
this . getCountriesList ,
this . getDayHoursTypeDetailsList ,
this . getDeductionsList ,
this . getDefaultValueList ,
this . getEITCollectionNotificationBodyList ,
this . getEITDFFStructureList ,
this . getEITTransactionList ,
this . getEarningsList ,
this . getEmployeeAddressList ,
this . getEmployeeBasicDetailsList ,
this . getEmployeeContactsList ,
this . getEmployeePhonesList ,
this . getEmployeeSubordinatesList ,
this . getFliexfieldStructureList ,
this . getHrCollectionNotificationBodyList ,
this . getHrTransactionList ,
this . getItemCreationNtfBodyList ,
this . getItemTypeNotificationsList ,
this . getItemTypesList ,
this . getLookupValuesList ,
this . getMenuEntriesList ,
this . getEventActivityList ,
this . getMoItemHistoryList ,
this . getMoNotificationBodyList ,
this . getNotificationButtonsList ,
this . getNotificationReassignModeList ,
this . getObjectValuesList ,
this . getOpenMissingSwipesList ,
this . getOpenNotificationsList ,
this . getOpenNotificationsNumList ,
this . getOpenPeriodDatesList ,
this . getOrganizationsSalariesList ,
this . getPaymentInformationList ,
this . getPayslipList ,
this . getPerformanceAppraisalList ,
this . getPhonesNotificationBodyList ,
this . getPoItemHistoryList ,
this . getPoNotificationBodyList ,
this . getPrNotificationBodyList ,
this . getPaymentNotificationBodyList ,
this . getPRInformationList ,
this . getQuotationAnalysisList ,
this . getRFCEmployeeListList ,
this . getRespondAttributeValueList ,
this . getSITCollectionNotificationBodyList ,
this . getSITDFFStructureList ,
this . getSITTransactionList ,
this . getScheduleShiftsDetailsList ,
this . getShiftTypesList ,
this . getStampMsNotificationBodyList ,
this . getStampNsNotificationBodyList ,
this . getSubordinatesAttdStatusList ,
this . getSubordinatesLeavesList ,
this . getSubordinatesLeavesTotalVacationsList ,
this . getSummaryOfPaymentList ,
this . getSwipesList ,
this . getTermColsStructureList ,
this . getTermDffStructureList ,
this . getTermNotificationBodyList ,
this . getTimeCardSummaryList ,
this . getTicketsByEmployeeList ,
this . getTicketDetailsByEmployee ,
this . getTicketTransactions ,
this . getTicketTypes ,
this . getSectionTopics ,
this . getMowadhafhiProjects ,
this . getProjectDepartments ,
this . getDepartmentSections ,
this . getPendingTransactionsFunctions ,
this . getPendingTransactionsDetails ,
this . getConcurrentProgramsModel ,
this . getCCPTransactionsModel ,
this . getCCPOutputModel ,
this . getCCPDFFStructureModel ,
this . getUserItemTypesList ,
this . getVacationRulesList ,
this . getVaccinationOnHandList ,
this . getVaccinationsList ,
this . getValueSetValuesList ,
this . getWorkList ,
this . hRCertificateTemplate ,
this . imgURLsList ,
this . insertApInv ,
this . insertBooked ,
this . insertEmpSwipesList ,
this . insertJournal ,
this . insertOrders ,
this . intPortalGetEmployeeList ,
this . isDeviceTokenEmpty ,
this . isPasswordExpired ,
this . isRegisterAllowed ,
this . isRequriedValueSetEmpty ,
this . isUserSMSExcluded ,
this . itemOnHand ,
this . languageAvailable ,
this . listSupplier ,
this . listUserAgreement ,
this . listEITStrucrure ,
this . listItemImagesDetails ,
this . listItemMaster ,
this . listMedicineDetails ,
this . listMenu ,
this . listNewEmployees ,
this . listRadScreen ,
this . logInTokenID ,
this . memberInformationList ,
this . memberLoginList ,
this . mohemmGetBusinessCardEnabledList ,
this . mohemmGetFavoriteReplacementsList ,
this . mohemmGetMobileDeviceInfobyEmpInfoList ,
this . mohemmGetMobileLoginInfoList ,
this . mohemmGetPatientIDList ,
this . mohemmITGResponseItem ,
this . mohemmIsChangeIsActiveBusinessCardEnable ,
this . mohemmIsInsertBusinessCardEnable ,
this . mohemmWifiPassword ,
this . mohemmWifiSSID ,
this . notificationAction ,
this . notificationGetRespondAttributesList ,
this . notificationRespondRolesList ,
this . oracleOutPutNumber ,
this . pASSWORDEXPIREDMSG ,
this . pCOUNTRYCODE ,
this . pCOUNTRYNAME ,
this . pDESCFLEXCONTEXTCODE ,
this . pDESCFLEXCONTEXTNAME ,
this . pForm ,
this . pINFORMATION ,
this . pMBLID ,
this . pNUMOFSUBORDINATES ,
this . pOPENNTFNUMBER ,
this . pQUESTION ,
this . pSESSIONID ,
this . pSchema ,
this . pharmacyStockAddPharmacyStockList ,
this . pharmacyStockGetOnHandList ,
this . privilegeList ,
this . processTransactions ,
this . registerUserNameList ,
this . replacementList ,
this . respondAttributesList ,
this . respondRolesList ,
this . resubmitAbsenceTransactionList ,
this . resubmitEITTransactionList ,
this . resubmitHrTransactionList ,
this . sFHGetPoNotificationBodyList ,
this . sFHGetPrNotificationBodyList ,
this . startAbsenceApprovalProccess ,
this . startAddressApprovalProcessList ,
this . startBasicDetApprProcessList ,
this . startCeiApprovalProcess ,
this . startContactApprovalProcessList ,
this . startEitApprovalProcess ,
this . startHrApprovalProcessList ,
this . startPhonesApprovalProcessList ,
this . startSitApprovalProcess ,
this . startTermApprovalProcessList ,
this . submitAddressTransactionList ,
this . submitBasicDetTransactionList ,
this . submitCEITransactionList ,
this . submitCcpTransactionList ,
this . submitContactTransactionList ,
this . submitEITTransactionList ,
this . submitHrTransactionList ,
this . submitPhonesTransactionList ,
this . submitSITTransactionList ,
this . submitTermTransactionList ,
this . subordinatesOnLeavesList ,
this . sumbitAbsenceTransactionList ,
this . tokenID ,
this . updateAttachmentList ,
this . updateEmployeeImageList ,
this . updateItemTypeSuccessList ,
this . updateUserItemTypesList ,
this . updateVacationRuleList ,
this . vHREmployeeLoginList ,
this . vHRGetEmployeeDetailsList ,
this . vHRGetManagersDetailsList ,
this . vHRGetProjectByCodeList ,
this . vHRIsVerificationCodeValid ,
this . validateAbsenceTransactionList ,
this . validateEITTransactionList ,
this . validatePhonesTransactionList ,
this . vrItemTypesList ,
this . wFLookUpList ,
this . eLearningGETEMPLOYEEPROFILEList ,
this . eLearningLOGINList ,
this . eLearningValidateLoginList ,
this . eLearningValidate_LoginList ,
this . ePharmacyGetItemOnHandList ,
this . isActiveCode ,
this . isSMSSent } ) ;
PortalDirectionData ? portalDirectionData ;
GenericResponseModel ( {
this . date ,
this . languageID ,
this . portalDirectionData ,
this . serviceName ,
this . time ,
this . androidLink ,
this . authenticationTokenID ,
this . data ,
this . dataw ,
this . dietType ,
this . dietTypeID ,
this . errorCode ,
this . errorEndUserMessage ,
this . errorEndUserMessageN ,
this . errorMessage ,
this . errorType ,
this . foodCategory ,
this . iOSLink ,
this . isAuthenticated ,
this . mealOrderStatus ,
this . mealType ,
this . messageStatus ,
this . numberOfResultRecords ,
this . patientBlodType ,
this . successMsg ,
this . successMsgN ,
this . vidaUpdatedResponse ,
this . addAttSuccessList ,
this . addAttachmentList ,
this . bCDomain ,
this . bCLogo ,
this . basicMemberInformation ,
this . businessCardPrivilege ,
this . calculateAbsenceDuration ,
this . cancelHRTransactionLIst ,
this . chatEmployeeLoginList ,
this . companyBadge ,
this . companyImage ,
this . companyImageDescription ,
this . companyImageURL ,
this . companyMainCompany ,
this . countryList ,
this . createVacationRuleList ,
this . deleteAttachmentList ,
this . deleteVacationRuleList ,
this . disableSessionList ,
this . employeeQR ,
this . employeeDocumentsList ,
this . forgetPasswordTokenID ,
this . getAbsenceAttachmentsList ,
this . getAbsenceAttendanceTypesList ,
this . getAbsenceCollectionNotificationBodyList ,
this . getAbsenceDffStructureList ,
this . getAbsenceTransactionList ,
this . getAccrualBalancesList ,
this . getActionHistoryList ,
this . getPRActionHistoryList ,
this . getAddressDffStructureList ,
this . getAddressNotificationBodyList ,
this . getApprovesList ,
this . getAttachementList ,
this . getPRAttachmentList ,
this . getAttendanceTrackingList ,
this . getBasicDetColsStructureList ,
this . getBasicDetDffStructureList ,
this . getBasicDetNtfBodyList ,
this . getCEICollectionNotificationBodyList ,
this . getCEIDFFStructureList ,
this . getCEITransactionList ,
this . getCcpTransactionsList ,
this . getCcpTransactionsListNew ,
this . getConcurrentProgramsList ,
this . getContactColsStructureList ,
this . getContactDetailsList ,
this . getContactDffStructureList ,
this . getContactNotificationBodyList ,
this . getCountriesList ,
this . getDayHoursTypeDetailsList ,
this . getDeductionsList ,
this . getDefaultValueList ,
this . getEITCollectionNotificationBodyList ,
this . getEITDFFStructureList ,
this . getEITTransactionList ,
this . getEarningsList ,
this . getEmployeeAddressList ,
this . getEmployeeBasicDetailsList ,
this . getEmployeeContactsList ,
this . getEmployeePhonesList ,
this . getEmployeeSubordinatesList ,
this . getFliexfieldStructureList ,
this . getHrCollectionNotificationBodyList ,
this . getHrTransactionList ,
this . getItemCreationNtfBodyList ,
this . getItemTypeNotificationsList ,
this . getItemTypesList ,
this . getLookupValuesList ,
this . getMenuEntriesList ,
this . getEventActivityList ,
this . getMoItemHistoryList ,
this . getMoNotificationBodyList ,
this . getNotificationButtonsList ,
this . getNotificationReassignModeList ,
this . getObjectValuesList ,
this . getOpenMissingSwipesList ,
this . getOpenNotificationsList ,
this . getOpenNotificationsNumList ,
this . getOpenPeriodDatesList ,
this . getOrganizationsSalariesList ,
this . getPaymentInformationList ,
this . getPayslipList ,
this . getPerformanceAppraisalList ,
this . getPhonesNotificationBodyList ,
this . getPoItemHistoryList ,
this . getPoNotificationBodyList ,
this . getPrNotificationBodyList ,
this . getPaymentNotificationBodyList ,
this . getPRInformationList ,
this . getQuotationAnalysisList ,
this . getRFCEmployeeListList ,
this . getRespondAttributeValueList ,
this . getSITCollectionNotificationBodyList ,
this . getSITDFFStructureList ,
this . getSITTransactionList ,
this . getScheduleShiftsDetailsList ,
this . getShiftTypesList ,
this . getStampMsNotificationBodyList ,
this . getStampNsNotificationBodyList ,
this . getSubordinatesAttdStatusList ,
this . getSubordinatesLeavesList ,
this . getSubordinatesLeavesTotalVacationsList ,
this . getSummaryOfPaymentList ,
this . getSwipesList ,
this . getTermColsStructureList ,
this . getTermDffStructureList ,
this . getTermNotificationBodyList ,
this . getTimeCardSummaryList ,
this . getTicketsByEmployeeList ,
this . getTicketDetailsByEmployee ,
this . getTicketTransactions ,
this . getTicketTypes ,
this . getSectionTopics ,
this . getMowadhafhiProjects ,
this . getProjectDepartments ,
this . getDepartmentSections ,
this . getPendingTransactionsFunctions ,
this . getPendingTransactionsDetails ,
this . getConcurrentProgramsModel ,
this . getCCPTransactionsModel ,
this . getCCPOutputModel ,
this . getCCPDFFStructureModel ,
this . getUserItemTypesList ,
this . getVacationRulesList ,
this . getVaccinationOnHandList ,
this . getVaccinationsList ,
this . getValueSetValuesList ,
this . getWorkList ,
this . hRCertificateTemplate ,
this . imgURLsList ,
this . insertApInv ,
this . insertBooked ,
this . insertEmpSwipesList ,
this . insertJournal ,
this . insertOrders ,
this . intPortalGetEmployeeList ,
this . isDeviceTokenEmpty ,
this . isPasswordExpired ,
this . isRegisterAllowed ,
this . isRequriedValueSetEmpty ,
this . isUserSMSExcluded ,
this . itemOnHand ,
this . languageAvailable ,
this . listSupplier ,
this . listUserAgreement ,
this . listEITStrucrure ,
this . listItemImagesDetails ,
this . listItemMaster ,
this . listMedicineDetails ,
this . listMenu ,
this . listNewEmployees ,
this . listRadScreen ,
this . logInTokenID ,
this . memberInformationList ,
this . memberLoginList ,
this . mohemmGetBusinessCardEnabledList ,
this . mohemmGetFavoriteReplacementsList ,
this . mohemmGetMobileDeviceInfobyEmpInfoList ,
this . mohemmGetMobileLoginInfoList ,
this . mohemmGetPatientIDList ,
this . mohemmITGResponseItem ,
this . mohemmIsChangeIsActiveBusinessCardEnable ,
this . mohemmIsInsertBusinessCardEnable ,
this . mohemmWifiPassword ,
this . mohemmWifiSSID ,
this . notificationAction ,
this . notificationGetRespondAttributesList ,
this . notificationRespondRolesList ,
this . oracleOutPutNumber ,
this . pASSWORDEXPIREDMSG ,
this . pCOUNTRYCODE ,
this . pCOUNTRYNAME ,
this . pDESCFLEXCONTEXTCODE ,
this . pDESCFLEXCONTEXTNAME ,
this . pForm ,
this . pINFORMATION ,
this . pMBLID ,
this . pNUMOFSUBORDINATES ,
this . pOPENNTFNUMBER ,
this . pQUESTION ,
this . pSESSIONID ,
this . pSchema ,
this . pharmacyStockAddPharmacyStockList ,
this . pharmacyStockGetOnHandList ,
this . privilegeList ,
this . processTransactions ,
this . registerUserNameList ,
this . replacementList ,
this . respondAttributesList ,
this . respondRolesList ,
this . resubmitAbsenceTransactionList ,
this . resubmitEITTransactionList ,
this . resubmitHrTransactionList ,
this . sFHGetPoNotificationBodyList ,
this . sFHGetPrNotificationBodyList ,
this . startAbsenceApprovalProccess ,
this . startAddressApprovalProcessList ,
this . startBasicDetApprProcessList ,
this . startCeiApprovalProcess ,
this . startContactApprovalProcessList ,
this . startEitApprovalProcess ,
this . startHrApprovalProcessList ,
this . startPhonesApprovalProcessList ,
this . startSitApprovalProcess ,
this . startTermApprovalProcessList ,
this . submitAddressTransactionList ,
this . submitBasicDetTransactionList ,
this . submitCEITransactionList ,
this . submitCcpTransactionList ,
this . submitContactTransactionList ,
this . submitEITTransactionList ,
this . submitHrTransactionList ,
this . submitPhonesTransactionList ,
this . submitSITTransactionList ,
this . submitTermTransactionList ,
this . subordinatesOnLeavesList ,
this . sumbitAbsenceTransactionList ,
this . tokenID ,
this . updateAttachmentList ,
this . updateEmployeeImageList ,
this . updateItemTypeSuccessList ,
this . updateUserItemTypesList ,
this . updateVacationRuleList ,
this . vHREmployeeLoginList ,
this . vHRGetEmployeeDetailsList ,
this . vHRGetManagersDetailsList ,
this . vHRGetProjectByCodeList ,
this . vHRIsVerificationCodeValid ,
this . validateAbsenceTransactionList ,
this . validateEITTransactionList ,
this . validatePhonesTransactionList ,
this . vrItemTypesList ,
this . wFLookUpList ,
this . eLearningGETEMPLOYEEPROFILEList ,
this . eLearningLOGINList ,
this . eLearningValidateLoginList ,
this . eLearningValidate_LoginList ,
this . ePharmacyGetItemOnHandList ,
this . isActiveCode ,
this . isSMSSent ,
} ) ;
GenericResponseModel . fromJson ( Map < String , dynamic > json ) {
date = json [ ' Date ' ] ;
@ -688,6 +693,7 @@ class GenericResponseModel {
successMsg = json [ ' SuccessMsg ' ] ;
successMsgN = json [ ' SuccessMsgN ' ] ;
vidaUpdatedResponse = json [ ' VidaUpdatedResponse ' ] ;
portalDirectionData = json [ " PortalDirectionData " ] = = null ? null : PortalDirectionData . fromJson ( json [ " PortalDirectionData " ] ) ;
if ( json [ ' AddAttSuccessList ' ] ! = null ) {
addAttSuccessList = < AddAttSuccessList > [ ] ;
@ -848,9 +854,10 @@ class GenericResponseModel {
} ) ;
}
getCEICollectionNotificationBodyList = json [ " GetCEICollectionNotificationBodyList " ] = = null
? null
: List < GetEitCollectionNotificationBodyList > . from ( json [ " GetCEICollectionNotificationBodyList " ] . map ( ( x ) = > GetEitCollectionNotificationBodyList . fromJson ( x ) ) ) ;
getCEICollectionNotificationBodyList =
json [ " GetCEICollectionNotificationBodyList " ] = = null
? null
: List < GetEitCollectionNotificationBodyList > . from ( json [ " GetCEICollectionNotificationBodyList " ] . map ( ( x ) = > GetEitCollectionNotificationBodyList . fromJson ( x ) ) ) ;
if ( json [ ' GetCEIDFFStructureList ' ] ! = null ) {
getCEIDFFStructureList = < GetEITDFFStructureList > [ ] ;
@ -909,9 +916,10 @@ class GenericResponseModel {
} ) ;
}
getDefaultValueList = json [ ' GetDefaultValueList ' ] ! = null ? GetDefaultValueList . fromJson ( json [ ' GetDefaultValueList ' ] ) : null ;
getEITCollectionNotificationBodyList = json [ " GetEITCollectionNotificationBodyList " ] = = null
? null
: List < GetEitCollectionNotificationBodyList > . from ( json [ " GetEITCollectionNotificationBodyList " ] . map ( ( x ) = > GetEitCollectionNotificationBodyList . fromJson ( x ) ) ) ;
getEITCollectionNotificationBodyList =
json [ " GetEITCollectionNotificationBodyList " ] = = null
? null
: List < GetEitCollectionNotificationBodyList > . from ( json [ " GetEITCollectionNotificationBodyList " ] . map ( ( x ) = > GetEitCollectionNotificationBodyList . fromJson ( x ) ) ) ;
if ( json [ ' GetEITDFFStructureList ' ] ! = null ) {
getEITDFFStructureList = < GetEITDFFStructureList > [ ] ;
json [ ' GetEITDFFStructureList ' ] . forEach ( ( v ) {
@ -1475,6 +1483,7 @@ class GenericResponseModel {
data [ ' SuccessMsg ' ] = this . successMsg ;
data [ ' SuccessMsgN ' ] = this . successMsgN ;
data [ ' VidaUpdatedResponse ' ] = this . vidaUpdatedResponse ;
data [ ' PortalDirectionData ' ] = portalDirectionData ? . toJson ( ) ;
if ( this . addAttSuccessList ! = null ) {
data [ ' AddAttSuccessList ' ] = this . addAttSuccessList ! . map ( ( v ) = > v . toJson ( ) ) . toList ( ) ;
@ -1930,3 +1939,25 @@ class GenericResponseModel {
return data ;
}
}
class PortalDirectionData {
String ? pRedirection ;
String ? clientID ;
PortalDirectionData ( { this . pRedirection , this . clientID } ) ;
factory PortalDirectionData . fromRawJson ( String str ) = > PortalDirectionData . fromJson ( json . decode ( str ) ) ;
String toRawJson ( ) = > json . encode ( toJson ( ) ) ;
factory PortalDirectionData . fromJson ( Map < String , dynamic > json ) = > PortalDirectionData ( pRedirection: json [ " P_REDIRECTION " ] , clientID: json [ " ClientID " ] ) ;
Map < String , dynamic > toJson ( ) = > { " P_REDIRECTION " : pRedirection , " ClientID " : clientID } ;
}
class TicketBookingResult {
final bool success ;
final String ? clientId ;
TicketBookingResult ( this . success , this . clientId ) ;
}