?? bookinfo.java
字號:
package org.model;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
/**
* Bookinfo entity.
*
* @author MyEclipse Persistence Tools
*/
public class Bookinfo implements java.io.Serializable {
// Fields
private Integer id;
private String bookName;
private String isbn;
private String writer;
private String publisher;
private String intro;
private Double price;
private Short remaining;
private String picture;
private Date date;
private Set remarks = new HashSet(0);
private Set orders = new HashSet(0);
// Constructors
/** default constructor */
public Bookinfo() {
}
/** minimal constructor */
public Bookinfo(Integer id, String bookName, String isbn, String writer,
String publisher, Double price, Short remaining, Date date) {
this.id = id;
this.bookName = bookName;
this.isbn = isbn;
this.writer = writer;
this.publisher = publisher;
this.price = price;
this.remaining = remaining;
this.date = date;
}
/** full constructor */
public Bookinfo(Integer id, String bookName, String isbn, String writer,
String publisher, String intro, Double price, Short remaining,
String picture, Date date, Set remarks, Set orders) {
this.id = id;
this.bookName = bookName;
this.isbn = isbn;
this.writer = writer;
this.publisher = publisher;
this.intro = intro;
this.price = price;
this.remaining = remaining;
this.picture = picture;
this.date = date;
this.remarks = remarks;
this.orders = orders;
}
// Property accessors
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 getIsbn() {
return this.isbn;
}
public void setIsbn(String isbn) {
this.isbn = isbn;
}
public String getWriter() {
return this.writer;
}
public void setWriter(String writer) {
this.writer = writer;
}
public String getPublisher() {
return this.publisher;
}
public void setPublisher(String publisher) {
this.publisher = publisher;
}
public String getIntro() {
return this.intro;
}
public void setIntro(String intro) {
this.intro = intro;
}
public Double getPrice() {
return this.price;
}
public void setPrice(Double price) {
this.price = price;
}
public Short getRemaining() {
return this.remaining;
}
public void setRemaining(Short remaining) {
this.remaining = remaining;
}
public String getPicture() {
return this.picture;
}
public void setPicture(String picture) {
this.picture = picture;
}
public Date getDate() {
return this.date;
}
public void setDate(Date date) {
this.date = date;
}
public Set getRemarks() {
return this.remarks;
}
public void setRemarks(Set remarks) {
this.remarks = remarks;
}
public Set getOrders() {
return this.orders;
}
public void setOrders(Set orders) {
this.orders = orders;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -