📄 abstractbook.java
字号:
package com.ascent.bean;
/**
* AbstractBook generated by MyEclipse - Hibernate Tools
*/
public abstract class AbstractBook implements java.io.Serializable {
// Fields
private Integer bookId;
private String bookName;
private String bookAuthor;
private Double bookPrice;
private String image;
private String describes;
// Constructors
/** default constructor */
public AbstractBook() {
}
/** minimal constructor */
public AbstractBook(Integer bookId) {
this.bookId = bookId;
}
/** full constructor */
public AbstractBook(Integer bookId, String bookName, String bookAuthor, Double bookPrice, String image, String describes) {
this.bookId = bookId;
this.bookName = bookName;
this.bookAuthor = bookAuthor;
this.bookPrice = bookPrice;
this.image = image;
this.describes = describes;
}
// Property accessors
public Integer getBookId() {
return this.bookId;
}
public void setBookId(Integer bookId) {
this.bookId = bookId;
}
public String getBookName() {
return this.bookName;
}
public void setBookName(String bookName) {
this.bookName = bookName;
}
public String getBookAuthor() {
return this.bookAuthor;
}
public void setBookAuthor(String bookAuthor) {
this.bookAuthor = bookAuthor;
}
public Double getBookPrice() {
return this.bookPrice;
}
public void setBookPrice(Double bookPrice) {
this.bookPrice = bookPrice;
}
public String getImage() {
return this.image;
}
public void setImage(String image) {
this.image = image;
}
public String getDescribes() {
return this.describes;
}
public void setDescribes(String describes) {
this.describes = describes;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -