class PatientInfoAndMobileNumber {
  String setupID;
  int projectID;
  int mainAccountID;
  int patientType;
  int patientID;
  String firstName;
  Null middleName;
  Null lastName;
  Null firstNameN;
  Null middleNameN;
  Null lastNameN;
  Null gender;
  Null dateofBirth;
  Null dateofBirthN;
  Null nationalityID;
  String mobileNumber;
  String emailAddress;
  Null zipCode;

  PatientInfoAndMobileNumber(
      {this.setupID,
        this.projectID,
        this.mainAccountID,
        this.patientType,
        this.patientID,
        this.firstName,
        this.middleName,
        this.lastName,
        this.firstNameN,
        this.middleNameN,
        this.lastNameN,
        this.gender,
        this.dateofBirth,
        this.dateofBirthN,
        this.nationalityID,
        this.mobileNumber,
        this.emailAddress,
        this.zipCode});

  PatientInfoAndMobileNumber.fromJson(Map<String, dynamic> json) {
    setupID = json['SetupID'];
    projectID = json['ProjectID'];
    mainAccountID = json['MainAccountID'];
    patientType = json['PatientType'];
    patientID = json['PatientID'];
    firstName = json['FirstName'];
    middleName = json['MiddleName'];
    lastName = json['LastName'];
    firstNameN = json['FirstNameN'];
    middleNameN = json['MiddleNameN'];
    lastNameN = json['LastNameN'];
    gender = json['Gender'];
    dateofBirth = json['DateofBirth'];
    dateofBirthN = json['DateofBirthN'];
    nationalityID = json['NationalityID'];
    mobileNumber = json['MobileNumber'];
    emailAddress = json['EmailAddress'];
    zipCode = json['ZipCode'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['SetupID'] = this.setupID;
    data['ProjectID'] = this.projectID;
    data['MainAccountID'] = this.mainAccountID;
    data['PatientType'] = this.patientType;
    data['PatientID'] = this.patientID;
    data['FirstName'] = this.firstName;
    data['MiddleName'] = this.middleName;
    data['LastName'] = this.lastName;
    data['FirstNameN'] = this.firstNameN;
    data['MiddleNameN'] = this.middleNameN;
    data['LastNameN'] = this.lastNameN;
    data['Gender'] = this.gender;
    data['DateofBirth'] = this.dateofBirth;
    data['DateofBirthN'] = this.dateofBirthN;
    data['NationalityID'] = this.nationalityID;
    data['MobileNumber'] = this.mobileNumber;
    data['EmailAddress'] = this.emailAddress;
    data['ZipCode'] = this.zipCode;
    return data;
  }
}
