class PatientSearchRequestModel {
  int doctorID;
  String firstName;
  String middleName;
  String lastName;
  String patientMobileNumber;
  String patientIdentificationID;
  int patientID;
  String from;
  String to;
  int searchType;
  String mobileNo;
  String identificationNo;

  PatientSearchRequestModel(
      {this.doctorID =0,
        this.firstName ="0",
      this.middleName ="0",
      this.lastName ="0",
      this.patientMobileNumber ="0",
      this.patientIdentificationID ="0",
        this.patientID =0,
      this.from ="0",
      this.to ="0"});

  PatientSearchRequestModel.fromJson(Map<String, dynamic> json) {
    doctorID = json['DoctorID'];
    firstName = json['FirstName'];
    middleName = json['MiddleName'];
    lastName = json['LastName'];
    patientMobileNumber = json['PatientMobileNumber'];
    patientIdentificationID = json['PatientIdentificationID'];
    patientID = json['PatientID'];
    from = json['From'];
    to = json['To'];
    searchType = json['SearchType'];
    mobileNo = json['MobileNo'];
    identificationNo = json['IdentificationNo'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['DoctorID'] = this.doctorID;
    data['FirstName'] = this.firstName;
    data['MiddleName'] = this.middleName;
    data['LastName'] = this.lastName;
    data['PatientMobileNumber'] = this.patientMobileNumber;
    data['PatientIdentificationID'] = this.patientIdentificationID;
    data['PatientID'] = this.patientID;
    data['From'] = this.from;
    data['To'] = this.to;
    data['SearchType'] = this.searchType;
    data['MobileNo'] = this.mobileNo;
    data['IdentificationNo'] = this.identificationNo;
    return data;
  }
}
