class UserModel {
  String userID;
  String password;
  int projectID;
  int languageID;
  String iPAdress;
  double versionID;
  int channel;
  String sessionID;
  String tokenID;
  String stamp;
  bool isLoginForDoctorApp;
  int patientOutSA;

  UserModel(
      {this.userID,
      this.password,
      this.projectID,
      this.languageID,
      this.iPAdress,
      this.versionID,
      this.channel,
      this.sessionID,
      this.tokenID,
      this.stamp,
      this.isLoginForDoctorApp,
      this.patientOutSA});

  UserModel.fromJson(Map<String, dynamic> json) {
    userID = json['UserID'];
    password = json['Password'];
    projectID = json['ProjectID'];
    languageID = json['LanguageID'];
    iPAdress = json['IPAdress'];
    versionID = json['VersionID'];
    channel = json['Channel'];
    sessionID = json['SessionID'];
    tokenID = json['TokenID'];
    stamp = json['stamp'];
    isLoginForDoctorApp = json['IsLoginForDoctorApp'];
    patientOutSA = json['PatientOutSA'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['UserID'] = this.userID;
    data['Password'] = this.password;
    data['ProjectID'] = this.projectID;
    data['LanguageID'] = this.languageID;
    data['IPAdress'] = this.iPAdress;
    data['VersionID'] = this.versionID;
    data['Channel'] = this.channel;
    data['SessionID'] = this.sessionID;
    data['TokenID'] = this.tokenID;
    data['stamp'] = this.stamp;
    data['IsLoginForDoctorApp'] = this.isLoginForDoctorApp;
    data['PatientOutSA'] = this.patientOutSA;
    return data;
  }
}
