📄 bookinfo.java
字号:
package bean;
import java.util.Date;
/**
* @author Administrator
*/
public class bookInfo extends info {
private String ISBN; //书的ISBN
private String bookIndex; //索书号
private String author; //作者
private String publishTime; //版次
private int ectype; //副本
private int pageNum; //页数
private double price; //价格
private bookType bt; //书的类型
private publishingCompany pc; //书的出版社
private bookState bs; //书的状态(如‘在馆’、‘外借’、‘续借’)
public bookInfo() {}
/**
* @param iSBN The iSBN to set.
* @uml.property name="iSBN"
*/
public void setISBN(String ISBN) {
this.ISBN = ISBN;
}
/**
* @return Returns the iSBN.
* @uml.property name="iSBN"
*/
public String getISBN() {
return this.ISBN;
}
/**
* @param bookIndex The bookIndex to set.
* @uml.property name="bookIndex"
*/
public void setBookIndex(String bookIndex) {
this.bookIndex = bookIndex;
}
/**
* @return Returns the bookIndex.
* @uml.property name="bookIndex"
*/
public String getBookIndex() {
return this.bookIndex;
}
/**
* @param author The author to set.
* @uml.property name="author"
*/
public void setAuthor(String author) {
this.author = author;
}
/**
* @return Returns the author.
* @uml.property name="author"
*/
public String getAuthor() {
return this.author;
}
/**
* @param publishTime The publishTime to set.
* @uml.property name="publishTime"
*/
public void setPublishTime(String publishTime) {
this.publishTime = publishTime;
}
/**
* @return Returns the publishTime.
* @uml.property name="publishTime"
*/
public String getPublishTime() {
return this.publishTime;
}
/**
* @param ectype The ectype to set.
* @uml.property name="ectype"
*/
public void setEctype(int ectype) {
this.ectype = ectype;
}
/**
* @return Returns the ectype.
* @uml.property name="ectype"
*/
public int getEctype() {
return this.ectype;
}
/**
* @param pageNum The pageNum to set.
* @uml.property name="pageNum"
*/
public void setPageNum(int pageNum) {
this.pageNum = pageNum;
}
/**
* @return Returns the pageNum.
* @uml.property name="pageNum"
*/
public int getPageNum() {
return this.pageNum;
}
/**
* @param price The price to set.
* @uml.property name="price"
*/
public void setPrice(double price) {
this.price = price;
}
/**
* @return Returns the price.
* @uml.property name="price"
*/
public double getPrice() {
return this.price;
}
/**
* @param bt The bt to set.
* @uml.property name="bt"
*/
public void setBt(bookType bt) {
this.bt = bt;
}
/**
* @return Returns the bt.
* @uml.property name="bt"
*/
public bookType getBt() {
return this.bt;
}
/**
* @param pc The pc to set.
* @uml.property name="pc"
*/
public void setPc(publishingCompany pc) {
this.pc = pc;
}
/**
* @return Returns the pc.
* @uml.property name="pc"
*/
public publishingCompany getPc() {
return this.pc;
}
/**
* @param bs The bs to set.
* @uml.property name="bs"
*/
public void setBs(bookState bs) {
this.bs = bs;
}
/**
* @return Returns the bs.
* @uml.property name="bs"
*/
public bookState getBs() {
return this.bs;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -