package com.gwtsite.gwittir.client; import com.totsp.gwittir.client.beans.AbstractModelBean; public class Book extends AbstractModelBean { private String title; private int year; private boolean inStock; public Book() {} public Book(String title, int year, boolean inStock) { this.title = title; this.year = year; this.inStock = inStock; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public int getYear() { return year; } public void setYear(int year) { this.year = year; } public boolean isInStock() { return inStock; } public void setInStock(boolean inStock) { this.inStock = inStock; } }