abstractpress.java
来自「网上购物系统 基于jsp实现 运行环境eclipse+My SQL+TomCat」· Java 代码 · 共 64 行
JAVA
64 行
package book.jsj0707.entity;
import java.util.HashSet;
import java.util.Set;
/**
* AbstractPress entity provides the base persistence definition of the Press
* entity.
*
* @author MyEclipse Persistence Tools
*/
public abstract class AbstractPress implements java.io.Serializable {
// Fields
private Long publisherid;
private String publishername;
private Set books = new HashSet(0);
// Constructors
/** default constructor */
public AbstractPress() {
}
/** minimal constructor */
public AbstractPress(String publishername) {
this.publishername = publishername;
}
/** full constructor */
public AbstractPress(String publishername, Set books) {
this.publishername = publishername;
this.books = books;
}
// Property accessors
public Long getPublisherid() {
return this.publisherid;
}
public void setPublisherid(Long publisherid) {
this.publisherid = publisherid;
}
public String getPublishername() {
return this.publishername;
}
public void setPublishername(String publishername) {
this.publishername = publishername;
}
public Set getBooks() {
return this.books;
}
public void setBooks(Set books) {
this.books = books;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?