diff --git a/lib/models/appointments_models/appointment_list_model.dart b/lib/models/appointments_models/appointment_list_model.dart index b31255b..98767d5 100644 --- a/lib/models/appointments_models/appointment_list_model.dart +++ b/lib/models/appointments_models/appointment_list_model.dart @@ -17,10 +17,10 @@ class AppointmentListModel { String? customerMobileNum; int? appointmentType; AppointmentTypeEnum? appointmentTypeEnum; - String? providerName; String? duration; String? appointmentDate; + String? appointmentCreatedOn; String? paymentType; String? appointmentAddress; String? appointmentLatitude; @@ -65,6 +65,7 @@ class AppointmentListModel { this.remainingAmount, this.isSelected, this.appointmentDate, + this.appointmentCreatedOn, this.appointmentServicesList, this.customerAppointmentList, this.mergeAppointmentList, @@ -72,7 +73,7 @@ class AppointmentListModel { @override String toString() { - return 'AppointmentListModel{id: $id, serviceSlotID: $serviceSlotID, appointmentStatusID: $appointmentStatusID, appointmentStatusText: $appointmentStatusText, serviceProviderID: $serviceProviderID, customerID: $customerID, isActive: $isActive, isPaymentRequired: $isPaymentRequired, paymentStatus: $paymentStatus, paymentStatusText: $paymentStatusText, customerName: $customerName, providerName: $providerName, duration: $duration, appointmentDate: $appointmentDate, appointmentStatusEnum: $appointmentStatusEnum, appointmentServicesList: $appointmentServicesList}'; + return 'AppointmentListModel{id: $id, serviceSlotID: $serviceSlotID, appointmentStatusID: $appointmentStatusID, appointmentStatusText: $appointmentStatusText, serviceProviderID: $serviceProviderID, customerID: $customerID, isActive: $isActive, isPaymentRequired: $isPaymentRequired, paymentStatus: $paymentStatus, paymentStatusText: $paymentStatusText, customerName: $customerName, providerName: $providerName, duration: $duration, appointmentDate: $appointmentDate,appointmentCreatedOn: $appointmentCreatedOn, appointmentStatusEnum: $appointmentStatusEnum, appointmentServicesList: $appointmentServicesList}'; } AppointmentListModel.fromJson(Map json) { @@ -93,6 +94,7 @@ class AppointmentListModel { providerName = json['providerName']; duration = json['duration']; appointmentDate = json['appointmentDate']; + appointmentCreatedOn = json['createdOn']; paymentType = json['paymentType']; appointmentAddress = json['address'] ?? ""; appointmentLatitude = json['branchLatitude'];