class PharmaciesModel {
  String pHRItemName;
  int pageIndex;
  int pageSize;
  double versionID;
  int channel;
  int languageID;
  String iPAdress;
  String generalid;
  int patientOutSA;
  String sessionID;
  bool isDentalAllowedBackend;
  int deviceTypeID;
  int doctorID;
  int editedBy;
  int projectID;
  int clinicID;
  String tokenID;
  String stamp;
  bool isLoginForDoctorApp;
  String itemDes;
  String productImage;
  int itemID;

  PharmaciesModel(
      {this.pHRItemName,
      this.pageIndex,
      this.pageSize,
      this.versionID,
      this.channel,
      this.languageID,
      this.iPAdress,
      this.generalid,
      this.patientOutSA,
      this.sessionID,
      this.isDentalAllowedBackend,
      this.deviceTypeID,
      this.doctorID,
      this.editedBy,
      this.projectID,
      this.clinicID,
      this.tokenID,
      this.stamp,
      this.itemDes,
      this.productImage,
      this.isLoginForDoctorApp,
      this.itemID});

  PharmaciesModel.fromJson(Map<String, dynamic> json) {
    itemID = json['ItemID'];

    productImage = json['ProductImageBase64'];
    itemDes = json['ItemDescription'];
    pHRItemName = json['PHR_itemName'];
    pageIndex = json['PageIndex'];
    pageSize = json['PageSize'];
    versionID = json['VersionID'];
    channel = json['Channel'];
    languageID = json['LanguageID'];
    iPAdress = json['IPAdress'];
    generalid = json['generalid'];
    patientOutSA = json['PatientOutSA'];
    sessionID = json['SessionID'];
    isDentalAllowedBackend = json['isDentalAllowedBackend'];
    deviceTypeID = json['DeviceTypeID'];
    doctorID = json['DoctorID'];
    editedBy = json['EditedBy'];
    projectID = json['ProjectID'];
    clinicID = json['ClinicID'];
    tokenID = json['TokenID'];
    stamp = json['stamp'];
    isLoginForDoctorApp = json['IsLoginForDoctorApp'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['PHR_itemName'] = this.pHRItemName;
    data['PageIndex'] = this.pageIndex;
    data['PageSize'] = this.pageSize;
    data['VersionID'] = this.versionID;
    data['Channel'] = this.channel;
    data['LanguageID'] = this.languageID;
    data['IPAdress'] = this.iPAdress;
    data['generalid'] = this.generalid;
    data['PatientOutSA'] = this.patientOutSA;
    data['SessionID'] = this.sessionID;
    data['isDentalAllowedBackend'] = this.isDentalAllowedBackend;
    data['DeviceTypeID'] = this.deviceTypeID;
    data['DoctorID'] = this.doctorID;
    data['EditedBy'] = this.editedBy;
    data['ProjectID'] = this.projectID;
    data['ClinicID'] = this.clinicID;
    data['TokenID'] = this.tokenID;
    data['stamp'] = this.stamp;
    data['IsLoginForDoctorApp'] = this.isLoginForDoctorApp;
    return data;
  }
}
