📄 bookinfo.java
字号:
package org.myrose.beans;
import java.io.Serializable;
import java.util.Date;
public class BookInfo implements Serializable{
private String isbn;
private String bookName;
private String type;
private String publisher;
private String writer;
private String introduce;
private String pdate;
private String cover;
private double price;
private Date intime;
private int newBook;
private int commend;
private int amount;
public String getIsbn() {
return isbn;
}
public void setIsbn(String isbn) {
this.isbn = isbn;
}
public String getBookName() {
return bookName;
}
public void setBookName(String bookName) {
this.bookName = bookName;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getPublisher() {
return publisher;
}
public void setPublisher(String publisher) {
this.publisher = publisher;
}
public String getWriter() {
return writer;
}
public void setWriter(String writer) {
this.writer = writer;
}
public String getIntroduce() {
return introduce;
}
public void setIntroduce(String introduce) {
this.introduce = introduce;
}
public String getPdate() {
return pdate;
}
public void setPdate(String pdate) {
this.pdate = pdate;
}
public String getCover() {
return cover;
}
public void setCover(String cover) {
this.cover = cover;
}
public double getPrice() {
return price;
}
public void setPrice(double price) {
this.price = price;
}
public Date getIntime() {
return intime;
}
public void setIntime(Date intime) {
this.intime = intime;
}
public int getNewBook() {
return newBook;
}
public void setNewBook(int newBook) {
this.newBook = newBook;
}
public int getCommend() {
return commend;
}
public void setCommend(int commend) {
this.commend = commend;
}
public int getAmount() {
return amount;
}
public void setAmount(int amount) {
this.amount = amount;
}
public BookInfo(String isbn, String bookName, String type,
String publisher, String writer, String introduce, String pdate,
String cover, double price, Date intime, int newBook, int commend) {
super();
this.isbn = isbn;
this.bookName = bookName;
this.type = type;
this.publisher = publisher;
this.writer = writer;
this.introduce = introduce;
this.pdate = pdate;
this.cover = cover;
this.price = price;
this.intime = intime;
this.newBook = newBook;
this.commend = commend;
}
public BookInfo() {
super();
// TODO Auto-generated constructor stub
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -