class GetMedicationResponseModel {
  String? description;
  String? genericName;
  int? itemId;
  String? keywords;
  dynamic price;
  dynamic quantity;
  dynamic mediSpanGPICode;
  bool? isNarcotic;
  String? uom;

  GetMedicationResponseModel(
      {this.description,
      this.genericName,
      this.itemId,
      this.keywords,
      this.price,
      this.quantity,
      this.isNarcotic,
      this.uom,
      this.mediSpanGPICode});

  GetMedicationResponseModel.fromJson(Map<String, dynamic> json) {
    description = json['Description'];
    genericName = json['GenericName'];
    itemId = json['ItemId'];
    keywords = json['Keywords'];
    price = json['Price'];
    quantity = json['Quantity'];
    mediSpanGPICode = json['mediSpanGPICode'];
    isNarcotic = json['isNarcotic'];
    uom = json['uom'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['Description'] = this.description;
    data['GenericName'] = this.genericName;
    data['ItemId'] = this.itemId;
    data['Keywords'] = this.keywords;
    data['Price'] = this.price;
    data['Quantity'] = this.quantity;
    data['mediSpanGPICode'] = this.mediSpanGPICode;
    data['isNarcotic'] = this.isNarcotic;
    data['uom'] = this.uom;
    return data;
  }
}
