import java.io.Serializable;
public class Book implements Serializable
{
public Book(int Number,String Name,String Author,String Press, int Count)
{
this.Number = Number;
this.Name = Name;
this.Author = Author;
this.Press = Press;
this.Count = Count;
}
public int getNumber()
{
return Number;
}
public String getName()
{
return Name;
}
public String getAuthor()
{
return Author;
}
public String getPress()
{
return Press;
}
public int getCount()
{
return Count;
}
public void setNumber(int Number)
{
this.Number = Number;
}
public void setName(String Name)
{
this.Name = Name;
}
public void setAuthor(String Author)
{
this.Author = Author;
}
public void setPress(String Press)
{
this.Press = Press;
}
public void setCount(int Count)
{
this.Count = Count;
}
public String toString()
{
return (Number+Name+Author +Press+ Count);
}
// "编号","书名 ","作者","出版社","数量"
private int Number;
private String Name;
private String Author;
private String Press;
private int Count;
}