class PickUpRequestPresOrder {
  int? id;
  int? presOrderID;
  String? createDate;
  String? lastEditDate;
  int? createdBy;
  int? lastEditBy;
  bool? isActive;
  String? requestNo;
  int? requesterId;
  int? direction;
  bool? haveAppointment;
  dynamic appointmentId;
  int? tripType;
  int? pickupUrgency;
  String? pickupDateTime;
  dynamic pickupLocationId;
  int? pickupSpot;
  dynamic dropoffLocationId;
  int? transportationMethodId;
  dynamic cost;
  dynamic vAT;
  double? totalPrice;
  int? amountCollected;
  int? selectedAmbulate;
  String? requesterNote;
  int? status;
  int? paymentStatus;
  dynamic rejectReason;
  int? visibility;
  dynamic durationId;
  dynamic imageId;
  String? requesterFileNo;
  String? requesterMobileNo;
  bool? requesterIsOutSA;
  String? pickupLocationLongitude;
  String? pickupLocationLattitude;
  String? dropoffLocationLongitude;
  String? dropoffLocationLattitude;
  dynamic appointmentClinicName;
  dynamic appointmentDoctorName;
  dynamic appointmentBranch;
  dynamic appointmentTime;
  String? pickupLocationName;
  String? dropoffLocationName;
  String? title;
  String? titleAR;
  String? ambulateDescription;
  String? ambulateDescriptionN;

  PickUpRequestPresOrder(
      {this.id,
        this.presOrderID,
        this.createDate,
        this.lastEditDate,
        this.createdBy,
        this.lastEditBy,
        this.isActive,
        this.requestNo,
        this.requesterId,
        this.direction,
        this.haveAppointment,
        this.appointmentId,
        this.tripType,
        this.pickupUrgency,
        this.pickupDateTime,
        this.pickupLocationId,
        this.pickupSpot,
        this.dropoffLocationId,
        this.transportationMethodId,
        this.cost,
        this.vAT,
        this.totalPrice,
        this.amountCollected,
        this.selectedAmbulate,
        this.requesterNote,
        this.status,
        this.paymentStatus,
        this.rejectReason,
        this.visibility,
        this.durationId,
        this.imageId,
        this.requesterFileNo,
        this.requesterMobileNo,
        this.requesterIsOutSA,
        this.pickupLocationLongitude,
        this.pickupLocationLattitude,
        this.dropoffLocationLongitude,
        this.dropoffLocationLattitude,
        this.appointmentClinicName,
        this.appointmentDoctorName,
        this.appointmentBranch,
        this.appointmentTime,
        this.pickupLocationName,
        this.dropoffLocationName,
        this.title,
        this.titleAR,
        this.ambulateDescription,
        this.ambulateDescriptionN});

  PickUpRequestPresOrder.fromJson(Map<String, dynamic> json) {
    id = json['Id'];
    presOrderID = json['PresOrderID'];
    createDate = json['CreateDate'];
    lastEditDate = json['LastEditDate'];
    createdBy = json['CreatedBy'];
    lastEditBy = json['LastEditBy'];
    isActive = json['IsActive'];
    requestNo = json['RequestNo'];
    requesterId = json['RequesterId'];
    direction = json['Direction'];
    haveAppointment = json['HaveAppointment'];
    appointmentId = json['AppointmentId'];
    tripType = json['TripType'];
    pickupUrgency = json['PickupUrgency'];
    pickupDateTime = json['PickupDateTime'];
    pickupLocationId = json['PickupLocationId'];
    pickupSpot = json['PickupSpot'];
    dropoffLocationId = json['DropoffLocationId'];
    transportationMethodId = json['TransportationMethodId'];
    cost = json['Cost'];
    vAT = json['VAT'];
    totalPrice = json['TotalPrice'];
    amountCollected = json['AmountCollected'];
    selectedAmbulate = json['SelectedAmbulate'];
    requesterNote = json['RequesterNote'];
    status = json['Status'];
    paymentStatus = json['PaymentStatus'];
    rejectReason = json['RejectReason'];
    visibility = json['Visibility'];
    durationId = json['DurationId'];
    imageId = json['ImageId'];
    requesterFileNo = json['RequesterFileNo'];
    requesterMobileNo = json['RequesterMobileNo'];
    requesterIsOutSA = json['RequesterIsOutSA'];
    pickupLocationLongitude = json['PickupLocationLongitude'];
    pickupLocationLattitude = json['PickupLocationLattitude'];
    dropoffLocationLongitude = json['DropoffLocationLongitude'];
    dropoffLocationLattitude = json['DropoffLocationLattitude'];
    appointmentClinicName = json['AppointmentClinicName'];
    appointmentDoctorName = json['AppointmentDoctorName'];
    appointmentBranch = json['AppointmentBranch'];
    appointmentTime = json['AppointmentTime'];
    pickupLocationName = json['PickupLocationName'];
    dropoffLocationName = json['DropoffLocationName'];
    title = json['Title'];
    titleAR = json['TitleAR'];
    ambulateDescription = json['AmbulateDescription'];
    ambulateDescriptionN = json['AmbulateDescriptionN'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['Id'] = this.id;
    data['PresOrderID'] = this.presOrderID;
    data['CreateDate'] = this.createDate;
    data['LastEditDate'] = this.lastEditDate;
    data['CreatedBy'] = this.createdBy;
    data['LastEditBy'] = this.lastEditBy;
    data['IsActive'] = this.isActive;
    data['RequestNo'] = this.requestNo;
    data['RequesterId'] = this.requesterId;
    data['Direction'] = this.direction;
    data['HaveAppointment'] = this.haveAppointment;
    data['AppointmentId'] = this.appointmentId;
    data['TripType'] = this.tripType;
    data['PickupUrgency'] = this.pickupUrgency;
    data['PickupDateTime'] = this.pickupDateTime;
    data['PickupLocationId'] = this.pickupLocationId;
    data['PickupSpot'] = this.pickupSpot;
    data['DropoffLocationId'] = this.dropoffLocationId;
    data['TransportationMethodId'] = this.transportationMethodId;
    data['Cost'] = this.cost;
    data['VAT'] = this.vAT;
    data['TotalPrice'] = this.totalPrice;
    data['AmountCollected'] = this.amountCollected;
    data['SelectedAmbulate'] = this.selectedAmbulate;
    data['RequesterNote'] = this.requesterNote;
    data['Status'] = this.status;
    data['PaymentStatus'] = this.paymentStatus;
    data['RejectReason'] = this.rejectReason;
    data['Visibility'] = this.visibility;
    data['DurationId'] = this.durationId;
    data['ImageId'] = this.imageId;
    data['RequesterFileNo'] = this.requesterFileNo;
    data['RequesterMobileNo'] = this.requesterMobileNo;
    data['RequesterIsOutSA'] = this.requesterIsOutSA;
    data['PickupLocationLongitude'] = this.pickupLocationLongitude;
    data['PickupLocationLattitude'] = this.pickupLocationLattitude;
    data['DropoffLocationLongitude'] = this.dropoffLocationLongitude;
    data['DropoffLocationLattitude'] = this.dropoffLocationLattitude;
    data['AppointmentClinicName'] = this.appointmentClinicName;
    data['AppointmentDoctorName'] = this.appointmentDoctorName;
    data['AppointmentBranch'] = this.appointmentBranch;
    data['AppointmentTime'] = this.appointmentTime;
    data['PickupLocationName'] = this.pickupLocationName;
    data['DropoffLocationName'] = this.dropoffLocationName;
    data['Title'] = this.title;
    data['TitleAR'] = this.titleAR;
    data['AmbulateDescription'] = this.ambulateDescription;
    data['AmbulateDescriptionN'] = this.ambulateDescriptionN;
    return data;
  }
}
