📄 abstractpress.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -