grouptb.java
来自「一个新闻发布系统」· Java 代码 · 共 73 行
JAVA
73 行
package com.accp.t29.hibernate.pojo;
import java.util.HashSet;
import java.util.Set;
/**
* GroupTb generated by MyEclipse - Hibernate Tools
*/
public class GroupTb implements java.io.Serializable {
// Fields
private long id;
private String name;
private Set usergrouproleTbs = new HashSet(0);
// Constructors
/** default constructor */
public GroupTb() {
}
/** minimal constructor */
public GroupTb(String name) {
this.name = name;
}
/** full constructor */
public GroupTb(String name, Set usergrouproleTbs) {
this.name = name;
this.usergrouproleTbs = usergrouproleTbs;
}
// Property accessors
public long getId() {
return this.id;
}
public void setId(long id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Set getUsergrouproleTbs() {
return this.usergrouproleTbs;
}
public void setUsergrouproleTbs(Set usergrouproleTbs) {
this.usergrouproleTbs = usergrouproleTbs;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?