class GetAttendanceTracking {
  GetAttendanceTracking({
    this.pBreakHours,
    this.pLateInHours,
    this.pRemainingHours,
    this.pReturnMsg,
    this.pReturnStatus,
    this.pScheduledHours,
    this.pShtName,
    this.pSpentHours,
    this.pSwipesExemptedFlag,
    this.pSwipeIn,
    this.pSwipeOut,
  });

  String? pBreakHours;
  String? pLateInHours;
  String? pRemainingHours;
  String? pReturnMsg;
  String? pReturnStatus;
  String? pScheduledHours;
  String? pShtName;
  String? pSpentHours;
  String? pSwipesExemptedFlag;
  dynamic pSwipeIn;
  dynamic pSwipeOut;

  factory GetAttendanceTracking.fromMap(Map<String, dynamic> json) => GetAttendanceTracking(
        pBreakHours: json["P_BREAK_HOURS"] == null ? null : json["P_BREAK_HOURS"],
        pLateInHours: json["P_LATE_IN_HOURS"] == null ? null : json["P_LATE_IN_HOURS"],
        pRemainingHours: json["P_REMAINING_HOURS"] == null ? null : json["P_REMAINING_HOURS"],
        pReturnMsg: json["P_RETURN_MSG"] == null ? null : json["P_RETURN_MSG"],
        pReturnStatus: json["P_RETURN_STATUS"] == null ? null : json["P_RETURN_STATUS"],
        pScheduledHours: json["P_SCHEDULED_HOURS"] == null ? null : json["P_SCHEDULED_HOURS"],
        pShtName: json["P_SHT_NAME"] == null ? null : json["P_SHT_NAME"],
        pSpentHours: json["P_SPENT_HOURS"] == null ? null : json["P_SPENT_HOURS"],
        pSwipesExemptedFlag: json["P_SWIPES_EXEMPTED_FLAG"] == null ? null : json["P_SWIPES_EXEMPTED_FLAG"],
        pSwipeIn: json["P_SWIPE_IN"],
        pSwipeOut: json["P_SWIPE_OUT"],
      );

  Map<String, dynamic> toMap() => {
        "P_BREAK_HOURS": pBreakHours == null ? null : pBreakHours,
        "P_LATE_IN_HOURS": pLateInHours == null ? null : pLateInHours,
        "P_REMAINING_HOURS": pRemainingHours == null ? null : pRemainingHours,
        "P_RETURN_MSG": pReturnMsg == null ? null : pReturnMsg,
        "P_RETURN_STATUS": pReturnStatus == null ? null : pReturnStatus,
        "P_SCHEDULED_HOURS": pScheduledHours == null ? null : pScheduledHours,
        "P_SHT_NAME": pShtName == null ? null : pShtName,
        "P_SPENT_HOURS": pSpentHours == null ? null : pSpentHours,
        "P_SWIPES_EXEMPTED_FLAG": pSwipesExemptedFlag == null ? null : pSwipesExemptedFlag,
        "P_SWIPE_IN": pSwipeIn,
        "P_SWIPE_OUT": pSwipeOut,
      };
}
