Created
January 24, 2019 18:19
-
-
Save shubhamnikam/1dc14790152727f5060d582a606c6d79 to your computer and use it in GitHub Desktop.
shimmer BookItem.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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