📄 catalog.java
字号:
package org.yangkang.bookshop.vo;
import java.util.HashSet;
import java.util.Set;
/**
* Catalog entity.
*
* @author MyEclipse Persistence Tools
*/
@SuppressWarnings("serial")
public class Catalog implements java.io.Serializable {
// Fields
private Integer catalogId;
private String catalogname;
@SuppressWarnings("unchecked")
private Set books = new HashSet(0);
// Constructors
//** default constructor *//*
public Catalog() {
}
//** minimal constructor *//*
public Catalog(String catalogname) {
this.catalogname = catalogname;
}
//** full constructor *//*
@SuppressWarnings("unchecked")
public Catalog(String catalogname, Set books) {
this.catalogname = catalogname;
this.books = books;
}
// Property accessors
public Integer getCatalogId() {
return this.catalogId;
}
public void setCatalogId(Integer catalogId) {
this.catalogId = catalogId;
}
public String getCatalogname() {
return this.catalogname;
}
public void setCatalogname(String catalogname) {
this.catalogname = catalogname;
}
@SuppressWarnings("unchecked")
public Set getBooks() {
return this.books;
}
@SuppressWarnings("unchecked")
public void setBooks(Set books) {
this.books = books;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -