code089.java
package pack02;
//product��Ʒ�࣬��ʹ��֮ǰ��book�����
public class code089
{
//��̬����
public static final int PAGE_SIZE = 2;
private int id;
private String name;
private double price;
private int bookCount;
private String author;
public int getId()
{
return this.id;
}
public String getName()
{
return this.name;
}
public double getPirce()
{
return this.price;
}
public int getBookCount()
{
return this.bookCount;
}
public String getAuthor()
{
return this.author;
}
public void setId(int id)
{
this.id = id;
}
public void setName(String name)
{
this.name = name;
}
public void setPrice(double price)
{
this.price = price;
}
public void setBookCount(int bookCount)
{
this.bookCount = bookCount;
}
public void setAuthor(String author)
{
this.author = author;
}
}