update in progress
parent
0e8512597c
commit
d921d6bc1d
@ -1,55 +1,61 @@
|
|||||||
|
import 'dart:convert';
|
||||||
|
|
||||||
class GetAttendanceTracking {
|
class GetAttendanceTracking {
|
||||||
|
String? pSwipesExemptedFlag;
|
||||||
|
String? pShtName;
|
||||||
|
String? pScheduledHours;
|
||||||
|
String? pBreakHours;
|
||||||
|
String? pSpentHours;
|
||||||
|
String? pRemainingHours;
|
||||||
|
String? pLateInHours;
|
||||||
|
String? pSwipeIn;
|
||||||
|
String? pSwipeOut;
|
||||||
|
String? pReturnStatus;
|
||||||
|
String? pReturnMsg;
|
||||||
|
|
||||||
GetAttendanceTracking({
|
GetAttendanceTracking({
|
||||||
this.pBreakHours,
|
this.pSwipesExemptedFlag,
|
||||||
this.pLateInHours,
|
|
||||||
this.pRemainingHours,
|
|
||||||
this.pReturnMsg,
|
|
||||||
this.pReturnStatus,
|
|
||||||
this.pScheduledHours,
|
|
||||||
this.pShtName,
|
this.pShtName,
|
||||||
|
this.pScheduledHours,
|
||||||
|
this.pBreakHours,
|
||||||
this.pSpentHours,
|
this.pSpentHours,
|
||||||
this.pSwipesExemptedFlag,
|
this.pRemainingHours,
|
||||||
|
this.pLateInHours,
|
||||||
this.pSwipeIn,
|
this.pSwipeIn,
|
||||||
this.pSwipeOut,
|
this.pSwipeOut,
|
||||||
|
this.pReturnStatus,
|
||||||
|
this.pReturnMsg,
|
||||||
});
|
});
|
||||||
|
|
||||||
String? pBreakHours;
|
factory GetAttendanceTracking.fromRawJson(String str) => GetAttendanceTracking.fromJson(json.decode(str));
|
||||||
String? pLateInHours;
|
|
||||||
String? pRemainingHours;
|
String toRawJson() => json.encode(toJson());
|
||||||
String? pReturnMsg;
|
|
||||||
String? pReturnStatus;
|
|
||||||
String? pScheduledHours;
|
|
||||||
String? pShtName;
|
|
||||||
String? pSpentHours;
|
|
||||||
String? pSwipesExemptedFlag;
|
|
||||||
dynamic pSwipeIn;
|
|
||||||
dynamic pSwipeOut;
|
|
||||||
|
|
||||||
factory GetAttendanceTracking.fromMap(Map<String, dynamic> json) => GetAttendanceTracking(
|
factory GetAttendanceTracking.fromJson(Map<String, dynamic> json) => GetAttendanceTracking(
|
||||||
pBreakHours: json["P_BREAK_HOURS"] == null ? null : json["P_BREAK_HOURS"],
|
pSwipesExemptedFlag: json["p_SWIPES_EXEMPTED_FLAG"],
|
||||||
pLateInHours: json["P_LATE_IN_HOURS"] == null ? null : json["P_LATE_IN_HOURS"],
|
pShtName: json["p_SHT_NAME"],
|
||||||
pRemainingHours: json["P_REMAINING_HOURS"] == null ? null : json["P_REMAINING_HOURS"],
|
pScheduledHours: json["p_SCHEDULED_HOURS"],
|
||||||
pReturnMsg: json["P_RETURN_MSG"] == null ? null : json["P_RETURN_MSG"],
|
pBreakHours: json["p_BREAK_HOURS"],
|
||||||
pReturnStatus: json["P_RETURN_STATUS"] == null ? null : json["P_RETURN_STATUS"],
|
pSpentHours: json["p_SPENT_HOURS"],
|
||||||
pScheduledHours: json["P_SCHEDULED_HOURS"] == null ? null : json["P_SCHEDULED_HOURS"],
|
pRemainingHours: json["p_REMAINING_HOURS"],
|
||||||
pShtName: json["P_SHT_NAME"] == null ? null : json["P_SHT_NAME"],
|
pLateInHours: json["p_LATE_IN_HOURS"],
|
||||||
pSpentHours: json["P_SPENT_HOURS"] == null ? null : json["P_SPENT_HOURS"],
|
pSwipeIn: json["p_SWIPE_IN"],
|
||||||
pSwipesExemptedFlag: json["P_SWIPES_EXEMPTED_FLAG"] == null ? null : json["P_SWIPES_EXEMPTED_FLAG"],
|
pSwipeOut: json["p_SWIPE_OUT"],
|
||||||
pSwipeIn: json["P_SWIPE_IN"],
|
pReturnStatus: json["p_RETURN_STATUS"],
|
||||||
pSwipeOut: json["P_SWIPE_OUT"],
|
pReturnMsg: json["p_RETURN_MSG"],
|
||||||
);
|
);
|
||||||
|
|
||||||
Map<String, dynamic> toMap() => {
|
Map<String, dynamic> toJson() => {
|
||||||
"P_BREAK_HOURS": pBreakHours == null ? null : pBreakHours,
|
"p_SWIPES_EXEMPTED_FLAG": pSwipesExemptedFlag,
|
||||||
"P_LATE_IN_HOURS": pLateInHours == null ? null : pLateInHours,
|
"p_SHT_NAME": pShtName,
|
||||||
"P_REMAINING_HOURS": pRemainingHours == null ? null : pRemainingHours,
|
"p_SCHEDULED_HOURS": pScheduledHours,
|
||||||
"P_RETURN_MSG": pReturnMsg == null ? null : pReturnMsg,
|
"p_BREAK_HOURS": pBreakHours,
|
||||||
"P_RETURN_STATUS": pReturnStatus == null ? null : pReturnStatus,
|
"p_SPENT_HOURS": pSpentHours,
|
||||||
"P_SCHEDULED_HOURS": pScheduledHours == null ? null : pScheduledHours,
|
"p_REMAINING_HOURS": pRemainingHours,
|
||||||
"P_SHT_NAME": pShtName == null ? null : pShtName,
|
"p_LATE_IN_HOURS": pLateInHours,
|
||||||
"P_SPENT_HOURS": pSpentHours == null ? null : pSpentHours,
|
"p_SWIPE_IN": pSwipeIn,
|
||||||
"P_SWIPES_EXEMPTED_FLAG": pSwipesExemptedFlag == null ? null : pSwipesExemptedFlag,
|
"p_SWIPE_OUT": pSwipeOut,
|
||||||
"P_SWIPE_IN": pSwipeIn,
|
"p_RETURN_STATUS": pReturnStatus,
|
||||||
"P_SWIPE_OUT": pSwipeOut,
|
"p_RETURN_MSG": pReturnMsg,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,29 @@
|
|||||||
|
import 'dart:convert';
|
||||||
|
|
||||||
|
class GetOpenMissingSwipes {
|
||||||
|
int? pOpenMissingSwipes;
|
||||||
|
String? pReturnStatus;
|
||||||
|
String? pReturnMsg;
|
||||||
|
|
||||||
|
GetOpenMissingSwipes({
|
||||||
|
this.pOpenMissingSwipes,
|
||||||
|
this.pReturnStatus,
|
||||||
|
this.pReturnMsg,
|
||||||
|
});
|
||||||
|
|
||||||
|
factory GetOpenMissingSwipes.fromRawJson(String str) => GetOpenMissingSwipes.fromJson(json.decode(str));
|
||||||
|
|
||||||
|
String toRawJson() => json.encode(toJson());
|
||||||
|
|
||||||
|
factory GetOpenMissingSwipes.fromJson(Map<String, dynamic> json) => GetOpenMissingSwipes(
|
||||||
|
pOpenMissingSwipes: json["p_OPEN_MISSING_SWIPES"],
|
||||||
|
pReturnStatus: json["p_RETURN_STATUS"],
|
||||||
|
pReturnMsg: json["p_RETURN_MSG"],
|
||||||
|
);
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() => {
|
||||||
|
"p_OPEN_MISSING_SWIPES": pOpenMissingSwipes,
|
||||||
|
"p_RETURN_STATUS": pReturnStatus,
|
||||||
|
"p_RETURN_MSG": pReturnMsg,
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -1,39 +1,45 @@
|
|||||||
|
import 'dart:convert';
|
||||||
|
|
||||||
class ListMenu {
|
class ListMenu {
|
||||||
|
int? menUId;
|
||||||
|
String? menUName;
|
||||||
|
String? menUType;
|
||||||
|
dynamic suBMenuName;
|
||||||
|
dynamic resPId;
|
||||||
|
int? requesTGroupId;
|
||||||
|
String? requesTGroupName;
|
||||||
|
|
||||||
ListMenu({
|
ListMenu({
|
||||||
this.menuId,
|
this.menUId,
|
||||||
this.menuName,
|
this.menUName,
|
||||||
this.menuType,
|
this.menUType,
|
||||||
this.requestGroupId,
|
this.suBMenuName,
|
||||||
this.requestGroupName,
|
this.resPId,
|
||||||
this.respId,
|
this.requesTGroupId,
|
||||||
this.subMenuName,
|
this.requesTGroupName,
|
||||||
});
|
});
|
||||||
|
|
||||||
int? menuId;
|
factory ListMenu.fromRawJson(String str) => ListMenu.fromJson(json.decode(str));
|
||||||
String? menuName;
|
|
||||||
String? menuType;
|
String toRawJson() => json.encode(toJson());
|
||||||
int? requestGroupId;
|
|
||||||
String? requestGroupName;
|
|
||||||
dynamic? respId;
|
|
||||||
String? subMenuName;
|
|
||||||
|
|
||||||
factory ListMenu.fromJson(Map<String, dynamic> json) => ListMenu(
|
factory ListMenu.fromJson(Map<String, dynamic> json) => ListMenu(
|
||||||
menuId: json["MENU_ID"] == null ? null : json["MENU_ID"],
|
menUId: json["menU_ID"],
|
||||||
menuName: json["MENU_NAME"] == null ? null : json["MENU_NAME"],
|
menUName: json["menU_NAME"],
|
||||||
menuType: json["MENU_TYPE"] == null ? null : json["MENU_TYPE"],
|
menUType: json["menU_TYPE"],
|
||||||
requestGroupId: json["REQUEST_GROUP_ID"] == null ? null : json["REQUEST_GROUP_ID"],
|
suBMenuName: json["suB_MENU_NAME"],
|
||||||
requestGroupName: json["REQUEST_GROUP_NAME"] == null ? null : json["REQUEST_GROUP_NAME"],
|
resPId: json["resP_ID"],
|
||||||
respId: json["RESP_ID"],
|
requesTGroupId: json["requesT_GROUP_ID"],
|
||||||
subMenuName: json["SUB_MENU_NAME"] == null ? null : json["SUB_MENU_NAME"],
|
requesTGroupName: json["requesT_GROUP_NAME"],
|
||||||
);
|
);
|
||||||
|
|
||||||
Map<String, dynamic> toJson() => {
|
Map<String, dynamic> toJson() => {
|
||||||
"MENU_ID": menuId == null ? null : menuId,
|
"menU_ID": menUId,
|
||||||
"MENU_NAME": menuName == null ? null : menuName,
|
"menU_NAME": menUName,
|
||||||
"MENU_TYPE": menuType == null ? null : menuType,
|
"menU_TYPE": menUType,
|
||||||
"REQUEST_GROUP_ID": requestGroupId == null ? null : requestGroupId,
|
"suB_MENU_NAME": suBMenuName,
|
||||||
"REQUEST_GROUP_NAME": requestGroupName == null ? null : requestGroupName,
|
"resP_ID": resPId,
|
||||||
"RESP_ID": respId,
|
"requesT_GROUP_ID": requesTGroupId,
|
||||||
"SUB_MENU_NAME": subMenuName == null ? null : subMenuName,
|
"requesT_GROUP_NAME": requesTGroupName,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,49 +1,56 @@
|
|||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
class MemberLoginListModel {
|
class MemberLoginListModel {
|
||||||
String? pReturnStatus;
|
|
||||||
String? pReturnMsg;
|
|
||||||
String? pPassowrdExpired;
|
|
||||||
String? pPasswordExpiredMsg;
|
|
||||||
String? pMobileNumber;
|
|
||||||
String? pEmailAddress;
|
|
||||||
String? pLegislationCode;
|
|
||||||
String? logInTokenId;
|
|
||||||
|
|
||||||
MemberLoginListModel({
|
MemberLoginListModel({
|
||||||
this.pReturnStatus,
|
required this.pReturnStatus,
|
||||||
this.pReturnMsg,
|
required this.pReturnMsg,
|
||||||
this.pPassowrdExpired,
|
required this.pPassowrdExpired,
|
||||||
this.pPasswordExpiredMsg,
|
required this.pPasswordExpiredMsg,
|
||||||
this.pMobileNumber,
|
required this.pMobileNumber,
|
||||||
this.pEmailAddress,
|
required this.pEmailAddress,
|
||||||
this.pLegislationCode,
|
required this.pLegislationCode,
|
||||||
this.logInTokenId,
|
required this.logInTokenId,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
final String? pReturnStatus;
|
||||||
|
final String? pReturnMsg;
|
||||||
|
final String? pPassowrdExpired;
|
||||||
|
final String? pPasswordExpiredMsg;
|
||||||
|
final String? pMobileNumber;
|
||||||
|
final String? pEmailAddress;
|
||||||
|
final String? pLegislationCode;
|
||||||
|
final String? logInTokenId;
|
||||||
|
|
||||||
|
|
||||||
factory MemberLoginListModel.fromRawJson(String str) => MemberLoginListModel.fromJson(json.decode(str));
|
factory MemberLoginListModel.fromRawJson(String str) => MemberLoginListModel.fromJson(json.decode(str));
|
||||||
|
|
||||||
String toRawJson() => json.encode(toJson());
|
String toRawJson() => json.encode(toJson());
|
||||||
|
|
||||||
factory MemberLoginListModel.fromJson(Map<String, dynamic> json) => MemberLoginListModel(
|
|
||||||
pReturnStatus: json["P_RETURN_STATUS"],
|
factory MemberLoginListModel.fromJson(Map<String, dynamic> json){
|
||||||
pReturnMsg: json["P_RETURN_MSG"],
|
|
||||||
pPassowrdExpired: json["P_PASSOWRD_EXPIRED"],
|
return MemberLoginListModel(
|
||||||
pPasswordExpiredMsg: json["P_PASSWORD_EXPIRED_MSG"],
|
pReturnStatus: json["p_RETURN_STATUS"],
|
||||||
pMobileNumber: json["P_MOBILE_NUMBER"],
|
pReturnMsg: json["p_RETURN_MSG"],
|
||||||
pEmailAddress: json["P_EMAIL_ADDRESS"],
|
pPassowrdExpired: json["p_PASSOWRD_EXPIRED"],
|
||||||
pLegislationCode: json["P_LEGISLATION_CODE"],
|
pPasswordExpiredMsg: json["p_PASSWORD_EXPIRED_MSG"],
|
||||||
logInTokenId: json["LogInTokenID"],
|
pMobileNumber: json["p_MOBILE_NUMBER"],
|
||||||
);
|
pEmailAddress: json["p_EMAIL_ADDRESS"],
|
||||||
|
pLegislationCode: json["p_LEGISLATION_CODE"],
|
||||||
|
logInTokenId: json["logInTokenID"],
|
||||||
|
);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
Map<String, dynamic> toJson() => {
|
Map<String, dynamic> toJson() => {
|
||||||
"P_RETURN_STATUS": pReturnStatus,
|
"p_RETURN_STATUS": pReturnStatus,
|
||||||
"P_RETURN_MSG": pReturnMsg,
|
"p_RETURN_MSG": pReturnMsg,
|
||||||
"P_PASSOWRD_EXPIRED": pPassowrdExpired,
|
"p_PASSOWRD_EXPIRED": pPassowrdExpired,
|
||||||
"P_PASSWORD_EXPIRED_MSG": pPasswordExpiredMsg,
|
"p_PASSWORD_EXPIRED_MSG": pPasswordExpiredMsg,
|
||||||
"P_MOBILE_NUMBER": pMobileNumber,
|
"p_MOBILE_NUMBER": pMobileNumber,
|
||||||
"P_EMAIL_ADDRESS": pEmailAddress,
|
"p_EMAIL_ADDRESS": pEmailAddress,
|
||||||
"P_LEGISLATION_CODE": pLegislationCode,
|
"p_LEGISLATION_CODE": pLegislationCode,
|
||||||
"LogInTokenID": logInTokenId,
|
"logInTokenID": logInTokenId,
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue