?? books.java
字號:
package library.hibernate;
// Generated 2006-8-5 16:17:23 by Hibernate Tools 3.1.0 beta3
import java.util.Date;
/**
* Books generated by hbm2java
*/
public class Books implements java.io.Serializable {
// Fields
private String bookName;
private String press;
private String author;
private String address;
private Date pressDate;
private Double price;
private String com;
private Integer booksCount;
private Integer borrowedCount;
// Constructors
/** default constructor */
public Books() {
}
/** minimal constructor */
public Books(String bookName) {
this.bookName = bookName;
}
/** full constructor */
public Books(String bookName, String press, String author, String address, Date pressDate, Double price, String com, Integer booksCount, Integer borrowedCount) {
this.bookName = bookName;
this.press = press;
this.author = author;
this.address = address;
this.pressDate = pressDate;
this.price = price;
this.com = com;
this.booksCount = booksCount;
this.borrowedCount = borrowedCount;
}
// Property accessors
public String getBookName() {
return this.bookName;
}
public void setBookName(String bookName) {
this.bookName = bookName;
}
public String getPress() {
return this.press;
}
public void setPress(String press) {
this.press = press;
}
public String getAuthor() {
return this.author;
}
public void setAuthor(String author) {
this.author = author;
}
public String getAddress() {
return this.address;
}
public void setAddress(String address) {
this.address = address;
}
public Date getPressDate() {
return this.pressDate;
}
public void setPressDate(Date pressDate) {
this.pressDate = pressDate;
}
public Double getPrice() {
return this.price;
}
public void setPrice(Double price) {
this.price = price;
}
public String getCom() {
return this.com;
}
public void setCom(String com) {
this.com = com;
}
public Integer getBooksCount() {
return this.booksCount;
}
public void setBooksCount(Integer booksCount) {
this.booksCount = booksCount;
}
public Integer getBorrowedCount() {
return this.borrowedCount;
}
public void setBorrowedCount(Integer borrowedCount) {
this.borrowedCount = borrowedCount;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -