日期:2014-05-19 浏览次数:20611 次
package cn.com.sedee.centermanager.hibernate;
import java.util.HashSet;
import java.util.Set;
/**
* Users entity.
*
* @author MyEclipse Persistence Tools
*/
public class Users implements java.io.Serializable {
// Fields
private Long id;
private String username;
private String password;
private String fullname;
private String remarks;
private Set roleses = new HashSet(0);
private Set rightses = new HashSet(0);
private Set bmdmbs = new HashSet(0);
private Set wflsbs = new HashSet(0);
// Constructors
/** default constructor */
public Users() {
}
/** full constructor */
public Users(String username, String password, String fullname,
String remarks, Set roleses, Set rightses, Set bmdmbs, Set wflsbs) {
this.username = username;
this.password = password;
this.fullname = fullname;
this.remarks = remarks;
this.roleses = roleses;
this.rightses = rightses;
this.bmdmbs = bmdmbs;
this.wflsbs = wflsbs;
}
// Property accessors
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getUsername() {
return this.username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return this.password;
}
public void setPassword(String password) {
this.password = password;
}
public String getFullname() {
return this.fullname;
}
public void setFullname(String fullname) {
this.fullname = fullname;
}
public String getRemarks() {
return this.remarks;
}
public void setRemarks(String remarks) {
this.remarks = remarks;
}
public Set getRoleses() {
return this.roleses;
}
public void setRoleses(Set roleses) {
this.roleses = roleses;
}
public Set getRightses() {
return this.rightses;
}
public void setRightses(Set rightses) {
this.rightses = rightses;
}
public Set getBmdmbs() {
return this.bmdmbs;
}
public void setBmdmbs(Set bmdmbs) {
this.bmdmbs = bmdmbs;
}
public Set getWflsbs() {
return this.wflsbs;
}
public void se