class PharmacyPrescriptions {
  String expiryDate;
  double sellingPrice;
  int quantity;
  int itemID;
  int locationID;
  int projectID;
  String setupID;
  String locationDescription;
  Null locationDescriptionN;
  String itemDescription;
  Null itemDescriptionN;
  String alias;
  int locationTypeID;
  int barcode;
  Null companybarcode;
  int cityID;
  String cityName;
  int distanceInKilometers;
  String latitude;
  int locationType;
  String longitude;
  String phoneNumber;
  String projectImageURL;
  Null sortOrder;

  PharmacyPrescriptions(
      {this.expiryDate,
        this.sellingPrice,
        this.quantity,
        this.itemID,
        this.locationID,
        this.projectID,
        this.setupID,
        this.locationDescription,
        this.locationDescriptionN,
        this.itemDescription,
        this.itemDescriptionN,
        this.alias,
        this.locationTypeID,
        this.barcode,
        this.companybarcode,
        this.cityID,
        this.cityName,
        this.distanceInKilometers,
        this.latitude,
        this.locationType,
        this.longitude,
        this.phoneNumber,
        this.projectImageURL,
        this.sortOrder});

  PharmacyPrescriptions.fromJson(Map<String, dynamic> json) {
    expiryDate = json['ExpiryDate'];
    sellingPrice = json['SellingPrice'];
    quantity = json['Quantity'];
    itemID = json['ItemID'];
    locationID = json['LocationID'];
    projectID = json['ProjectID'];
    setupID = json['SetupID'];
    locationDescription = json['LocationDescription'];
    locationDescriptionN = json['LocationDescriptionN'];
    itemDescription = json['ItemDescription'];
    itemDescriptionN = json['ItemDescriptionN'];
    alias = json['Alias'];
    locationTypeID = json['LocationTypeID'];
    barcode = json['Barcode'];
    companybarcode = json['Companybarcode'];
    cityID = json['CityID'];
    cityName = json['CityName'];
    distanceInKilometers = json['DistanceInKilometers'];
    latitude = json['Latitude'];
    locationType = json['LocationType'];
    longitude = json['Longitude'];
    phoneNumber = json['PhoneNumber'];
    projectImageURL = json['ProjectImageURL'];
    sortOrder = json['SortOrder'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['ExpiryDate'] = this.expiryDate;
    data['SellingPrice'] = this.sellingPrice;
    data['Quantity'] = this.quantity;
    data['ItemID'] = this.itemID;
    data['LocationID'] = this.locationID;
    data['ProjectID'] = this.projectID;
    data['SetupID'] = this.setupID;
    data['LocationDescription'] = this.locationDescription;
    data['LocationDescriptionN'] = this.locationDescriptionN;
    data['ItemDescription'] = this.itemDescription;
    data['ItemDescriptionN'] = this.itemDescriptionN;
    data['Alias'] = this.alias;
    data['LocationTypeID'] = this.locationTypeID;
    data['Barcode'] = this.barcode;
    data['Companybarcode'] = this.companybarcode;
    data['CityID'] = this.cityID;
    data['CityName'] = this.cityName;
    data['DistanceInKilometers'] = this.distanceInKilometers;
    data['Latitude'] = this.latitude;
    data['LocationType'] = this.locationType;
    data['Longitude'] = this.longitude;
    data['PhoneNumber'] = this.phoneNumber;
    data['ProjectImageURL'] = this.projectImageURL;
    data['SortOrder'] = this.sortOrder;
    return data;
  }
}
