class UserDetailModel {
  int? userID;
  int? patientID;
  int? patientType;
  bool? patientOutSA;
  String? firstName;
  String? middleName;
  String? lastName;
  String? firstNameN;
  String? middleNameN;
  String? lastNameN;
  String? identificationNo;
  String? mobile;
  String? emailID;
  String? zipCode;
  String? dOB;
  String? gender;
  int? activityID;
  String? createdDate;
  double? height;
  double? weight;
  bool? isHeightInCM;
  bool? isWeightInKG;
  bool? isNotificationON;

  UserDetailModel(
      {this.userID,
      this.patientID,
      this.patientType,
      this.patientOutSA,
      this.firstName,
      this.middleName,
      this.lastName,
      this.firstNameN,
      this.middleNameN,
      this.lastNameN,
      this.identificationNo,
      this.mobile,
      this.emailID,
      this.zipCode,
      this.dOB,
      this.gender,
      this.activityID,
      this.createdDate,
      this.height,
      this.weight,
      this.isHeightInCM,
      this.isWeightInKG,
      this.isNotificationON});

  UserDetailModel.fromJson(Map<String, dynamic> json) {
    if (json == null) return;
    userID = json['UserID'];
    patientID = json['PatientID'];
    patientType = json['PatientType'];
    patientOutSA = json['PatientOutSA'];
    firstName = json['FirstName'];
    middleName = json['MiddleName'];
    lastName = json['LastName'];
    firstNameN = json['FirstNameN'];
    middleNameN = json['MiddleNameN'];
    lastNameN = json['LastNameN'];
    identificationNo = json['IdentificationNo'];
    mobile = json['Mobile'];
    emailID = json['EmailID'];
    zipCode = json['ZipCode'];
    dOB = json['DOB'];
    gender = json['Gender'];
    activityID = json['ActivityID'];
    createdDate = json['CreatedDate'];
    height = json['Height'];
    weight = json['Weight'];
    isHeightInCM = json['IsHeightInCM'];
    isWeightInKG = json['IsWeightInKG'];
    isNotificationON = json['IsNotificationON'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['UserID'] = this.userID;
    data['PatientID'] = this.patientID;
    data['PatientType'] = this.patientType;
    data['PatientOutSA'] = this.patientOutSA;
    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['IdentificationNo'] = this.identificationNo;
    data['Mobile'] = this.mobile;
    data['EmailID'] = this.emailID;
    data['ZipCode'] = this.zipCode;
    data['DOB'] = this.dOB;
    data['Gender'] = this.gender;
    data['ActivityID'] = this.activityID;
    data['CreatedDate'] = this.createdDate;
    data['Height'] = this.height;
    data['Weight'] = this.weight;
    data['IsHeightInCM'] = this.isHeightInCM;
    data['IsWeightInKG'] = this.isWeightInKG;
    data['IsNotificationON'] = this.isNotificationON;
    return data;
  }
}
