📄 books.java
字号:
package org.pan.web.book;
public class books {
private int Id; //ID序列号
private String BookName; //书名
private int BookClass; //图书类别
private String classname ; //图书类别名
private String Author; //作者
private String Publish; //出版社
private String BookNo ; //书号
private String Content ; //内容介绍
private float Prince ; //书价
public books() {
Id = 0;
BookName = "";
BookClass = 0;
classname = "";
Author = "";
Publish = "";
BookNo = "";
Content = "";
Prince = 0;
}
public void setId(int newId){
this.Id = newId;
}
public int getId(){
return Id;
}
public void setBookName(String newBookName) {
this.BookName = newBookName;
}
public String getBookName() {
return BookName;
}
public void setBookClass(int newBookClass) {
this.BookClass = newBookClass;
}
public int getBookClass() {
return BookClass;
}
public void setClassname(String cname) {
this.classname = cname;
}
public String getClassname() {
return classname;
}
public void setAuthor(String newAuthor) {
this.Author = newAuthor;
}
public String getAuthor() {
return Author;
}
public void setBookNo(String newBookNo) {
this.BookNo = newBookNo;
}
public String getBookNo() {
return BookNo;
}
public void setPublish(String newPublish) {
this.Publish = newPublish;
}
public String getPublish() {
return Publish;
}
public void setContent(String newContent) {
this.Content= newContent;
}
public String getContent() {
return Content;
}
public void setPrince(float newPrince) {
this.Prince = newPrince;
}
public float getPrince() {
return Prince;
}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -