?? bookinfo.java
字號:
package bookInfo;
public class BookInfo
{
private int bookInfoId;
private int bookTypeId;
private float pirce;
private int amount;
private String bookTitle = null;
private String author = null;
private String ISBN = null;
private String pubDate = null;
private String content = null;
private String press = null;
private String picPath=null;
public BookInfo(){
//
}
public BookInfo (int bid, int tid, float prc, int amt, String bt,
String aut, String isbn, String pd, String cont, String prs, String pp)
{
this.bookInfoId = bid;
this.bookTypeId = tid;
this.pirce = prc;
this.amount = amt;
this.bookTitle = bt;
this.author = aut;
this.ISBN = isbn;
this.pubDate = pd;
this.content = cont;
this.press = prs;
this.picPath = pp;
}
public int getBookInfoId ()
{
return this.bookInfoId;
}
public void setBookInfoId (int bid)
{
this.bookInfoId=bid;
}
public int getBookTypeId ()
{
return this.bookTypeId;
}
public void setBookTypeId (int tid)
{
this.bookTypeId=tid;
}
public int getAmount ()
{
return this.amount;
}
public void setAmount (int at)
{
this.amount=at;
}
public float getPrice ()
{
return this.pirce;
}
public void setPrice (float pr)
{
this.pirce=pr;
}
public String getBookTitle ()
{
return this.bookTitle;
}
public void setBookTitle (String bt)
{
this.bookTitle=bt;
}
public String getAuthor ()
{
return this.author;
}
public void setAuthor (String au)
{
this.author=au;
}
public String getIsbn ()
{
return this.ISBN;
}
public void setISBN (String isbn)
{
this.ISBN=isbn;
}
public String getPubdate ()
{
return this.pubDate;
}
public void setPubDate (String pd)
{
this.pubDate=pd;
}
public String getContent ()
{
return this.content;
}
public void setContent (String ct)
{
this.content=ct;
}
public String getPress ()
{
return this.press;
}
public void setPress (String ps)
{
this.press=ps;
}
public String getPicpath ()
{
return this.picPath;
}
public void setPicpath (String pp)
{
this.picPath=pp;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -