Skip to content

Instantly share code, notes, and snippets.

@shubhamnikam
Created January 24, 2019 18:19
Show Gist options
  • Save shubhamnikam/1dc14790152727f5060d582a606c6d79 to your computer and use it in GitHub Desktop.
Save shubhamnikam/1dc14790152727f5060d582a606c6d79 to your computer and use it in GitHub Desktop.
shimmer BookItem.java
package com.theappnerds.shubham.myshimmer;
public class BookItem {
int id;
String name;
String description;
double price;
String thumbnail;
String author;
String release;
public BookItem(int id, String name, String description, double price, String thumbnail, String author, String release) {
this.id = id;
this.name = name;
this.description = description;
this.price = price;
this.thumbnail = thumbnail;
this.author = author;
this.release = release;
}
public int getId() {
return id;
}
public String getName() {
return name;
}
public String getDescription() {
return description;
}
public double getPrice() {
return price;
}
public String getThumbnail() {
return thumbnail;
}
public String getAuthor() {
return author;
}
public String getRelease() {
return release;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment