移动计费管理软件
源代码在线查看: privilege.java
package yyxtong.hibernate.pojo;
import java.util.HashSet;
import java.util.Set;
/**
* Privilege entity.
*
* @author MyEclipse Persistence Tools
*/
public class Privilege implements java.io.Serializable {
// Fields
private Integer id;
private String privilege;
private Set roles = new HashSet(0);
// Constructors
/** default constructor */
public Privilege() {
}
/** full constructor */
public Privilege(String privilege, Set roles) {
this.privilege = privilege;
this.roles = roles;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getPrivilege() {
return this.privilege;
}
public void setPrivilege(String privilege) {
this.privilege = privilege;
}
public Set getRoles() {
return this.roles;
}
public void setRoles(Set roles) {
this.roles = roles;
}
}