📄 type.java
字号:
package com.bean;
// default package
import java.util.HashSet;
import java.util.Set;
/**
* Type entity. @author MyEclipse Persistence Tools
*/
public class Type implements java.io.Serializable {
// Fields
private Integer id;
private String name;
private Set books = new HashSet(0);
// Constructors
/** default constructor */
public Type() {
}
/** full constructor */
public Type(String name, Set books) {
this.name = name;
this.books = books;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Set getBooks() {
return this.books;
}
public void setBooks(Set books) {
this.books = books;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -