
/* 
 *@author: Ibrahim Albitar 
 *@Date:27/4/2020  
 *@param: 
 *@return:
 *@desc:
 */

class PharmaciesListRequestModel {


  int itemID;
  int languageID;
  String stamp;
  String ipAdress;
  double versionID;
  String tokenID;
  String sessionID;
  bool isLoginForDoctorApp;
  bool patientOutSA;
  int patientTypeID;
  int channel;

  PharmaciesListRequestModel(
      {this.itemID ,
      this.patientTypeID = 1,
      this.languageID = 2,
      this.stamp = '2020-04-23T21:01:21.492Z',
      this.ipAdress = '11.11.11.11',
      this.versionID = 1.2,
      this.tokenID ,
      this.sessionID = 'e29zoooEJ4',
      this.isLoginForDoctorApp = true,
      this.channel = 9,
      this.patientOutSA = false});

  PharmaciesListRequestModel.fromJson(Map<String, dynamic> json) {
    itemID = json['ItemID'];
    patientTypeID = json['PatientTypeID'];
    languageID = json['LanguageID'];
    stamp = json['stamp'];
    ipAdress = json['IPAdress'];
    versionID = json['VersionID'];
    tokenID = json['TokenID'];
    sessionID = json['SessionID'];
    isLoginForDoctorApp = json['IsLoginForDoctorApp'];
    channel = json['Channel'];
    patientOutSA = json['PatientOutSA'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['ItemID'] = this.itemID;
    data['PatientTypeID'] = this.patientTypeID;
    data['LanguageID'] = this.languageID;
    data['stamp'] = this.stamp;
    data['IPAdress'] = this.ipAdress;
    data['VersionID'] = this.versionID;
    data['TokenID'] = this.tokenID;
    data['SessionID'] = this.sessionID;
    data['IsLoginForDoctorApp'] = this.isLoginForDoctorApp;
    data['PatientOutSA'] = this.patientOutSA;
    data['Channel'] = this.channel;
    return data;
  }
}