package cart; import java.io.Serializable; public class Book implements Serializable { private String isbn; private String title; private String publisher; private String author; private int price; private int quantity; public Book(String isbn, String title, String publisher, String author, int price, int quantity) { super(); this.isbn = isbn; this.title = title; this.publisher = publisher; this.author = author; this.price = price; this.quantity = quantity; } public Book() { // TODO Auto-generated constructor stub } public String getAuthor() { return author; } public void setAuthor(String author) { this.author = author; } public String getIsbn() { return isbn; } public void setIsbn(String isbn) { this.isbn = isbn; } public int getPrice() { return price; } public void setPrice(int price) { this.price = price; } public String getPublisher() { return publisher; } public void setPublisher(String publisher) { this.publisher = publisher; } public int getQuantity() { return quantity; } public void setQuantity(int quantity) { this.quantity = quantity; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } }