📄 book.java
字号:
package com.aptech.demo.itext.web;
public class Book implements java.io.Serializable {
private static final long serialVersionUID = 1L;
private Integer id;
private String bookName;
private String author;
private String publisher;
private Double price;
public Book() {
}
public Book(String bookname, String author, String publisher, Double price) {
this.bookName = bookname;
this.author = author;
this.publisher = publisher;
this.price = price;
}
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getBookName() {
return this.bookName;
}
public void setBookName(String bookname) {
this.bookName = bookname;
}
public String getAuthor() {
return this.author;
}
public void setAuthor(String author) {
this.author = author;
}
public String getPublisher() {
return this.publisher;
}
public void setPublisher(String publisher) {
this.publisher = publisher;
}
public Double getPrice() {
return this.price;
}
public void setPrice(Double price) {
this.price = price;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -