📄 book.java
字号:
package org.wiely.vo;
// default package
import java.util.HashSet;
import java.util.Set;
/**
* Book generated by MyEclipse Persistence Tools
*/
@SuppressWarnings("serial")
public class Book implements java.io.Serializable {
// Fields
private Integer bookid;
private String isbn;
private Admin admin;
private Integer adminid;
private String bookname;
private String bookauthor;
private String publisher;
private String introduction;
private Double price;
private String picture;
private String isnew;
@SuppressWarnings("unchecked")
private Set orderses = new HashSet(0);
// Constructors
/** default constructor */
public Book() {
}
/** minimal constructor */
public Book(Integer adminid ,String isbn,String bookname, String bookauthor, String publisher, String introduction, Double price, String isnew) {
this.bookname = bookname;
this.bookauthor = bookauthor;
this.publisher = publisher;
this.introduction = introduction;
this.price = price;
this.isnew = isnew;
this.isbn=isbn;
this.adminid=adminid;
}
/** full constructor */
@SuppressWarnings("unchecked")
public Book(Admin admin, String bookname, String bookauthor, String publisher, String introduction, Double price, String picture, String isnew, Set orderses) {
this.admin = admin;
this.bookname = bookname;
this.bookauthor = bookauthor;
this.publisher = publisher;
this.introduction = introduction;
this.price = price;
this.picture = picture;
this.isnew = isnew;
this.orderses = orderses;
}
// Property accessors
public String getIsbn() {
return this.isbn;
}
public void setIsbn(String isbn) {
this.isbn = isbn;
}
public Admin getAdmin() {
return this.admin;
}
public void setAdmin(Admin admin) {
this.admin = admin;
}
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 String getPublisher() {
return this.publisher;
}
public void setPublisher(String publisher) {
this.publisher = publisher;
}
public String getIntroduction() {
return this.introduction;
}
public void setIntroduction(String introduction) {
this.introduction = introduction;
}
public Double getPrice() {
return this.price;
}
public void setPrice(Double price) {
this.price = price;
}
public String getPicture() {
return this.picture;
}
public void setPicture(String picture) {
this.picture = picture;
}
public String getIsnew() {
return this.isnew;
}
public void setIsnew(String isnew) {
this.isnew = isnew;
}
@SuppressWarnings("unchecked")
public Set getOrderses() {
return this.orderses;
}
@SuppressWarnings("unchecked")
public void setOrderses(Set orderses) {
this.orderses = orderses;
}
public Integer getBookid() {
return bookid;
}
public void setBookid(Integer bookid) {
this.bookid = bookid;
}
public Integer getAdminid() {
return adminid;
}
public void setAdminid(Integer adminid) {
this.adminid = adminid;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -