📄 section.java
字号:
package tarena.entity;
import java.util.HashSet;
import java.util.Set;
/**
* Section generated by MyEclipse Persistence Tools
*/
public class Section implements java.io.Serializable {
// Fields
private Integer id;
private String sectionname;
private Integer parentid;
private String description;
private String moderators;
private String photo;
private Byte sectiontype;
private Set topics = new HashSet(0);
// Constructors
/** default constructor */
public Section() {
}
/** minimal constructor */
public Section(String sectionname, Integer parentid) {
this.sectionname = sectionname;
this.parentid = parentid;
}
/** full constructor */
public Section(String sectionname, Integer parentid, String description,
String moderators, String photo, Byte sectiontype, Set topics) {
this.sectionname = sectionname;
this.parentid = parentid;
this.description = description;
this.moderators = moderators;
this.photo = photo;
this.sectiontype = sectiontype;
this.topics = topics;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getSectionname() {
return this.sectionname;
}
public void setSectionname(String sectionname) {
this.sectionname = sectionname;
}
public Integer getParentid() {
return this.parentid;
}
public void setParentid(Integer parentid) {
this.parentid = parentid;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getModerators() {
return this.moderators;
}
public void setModerators(String moderators) {
this.moderators = moderators;
}
public String getPhoto() {
return this.photo;
}
public void setPhoto(String photo) {
this.photo = photo;
}
public Byte getSectiontype() {
return this.sectiontype;
}
public void setSectiontype(Byte sectiontype) {
this.sectiontype = sectiontype;
}
public Set getTopics() {
return this.topics;
}
public void setTopics(Set topics) {
this.topics = topics;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -