⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 abstractuser.java

📁 评分系统,acegi+JSF+spring+hibernate,可上传附件
💻 JAVA
字号:
package com.sgm.partybranch.temp.sysadmin.hibernate;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * AbstractUser entity provides the base persistence definition of the User
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractUser implements java.io.Serializable {

	// Fields

	private String userId;
	private PartyGroup partyGroup;
	private PartyBranch partyBranch;
	private String account;
	private String password;
	private Boolean enabled;
	private String username;
	private String email;
	private String staffNo;
	private Date birthday;
	private Date joinPartyTime;
	private Date convertTime;
	private Set userRoleMappings = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractUser() {
	}

	/** minimal constructor */
	public AbstractUser(String account, Boolean enabled) {
		this.account = account;
		this.enabled = enabled;
	}

	/** full constructor */
	public AbstractUser(PartyGroup partyGroup,
			PartyBranch partyBranch, String account, String password,
			Boolean enabled, String username, String email, String staffNo,
			Date birthday, Date joinPartyTime, Date convertTime,
			Set userRoleMappings) {
		this.partyGroup = partyGroup;
		this.partyBranch = partyBranch;
		this.account = account;
		this.password = password;
		this.enabled = enabled;
		this.username = username;
		this.email = email;
		this.staffNo = staffNo;
		this.birthday = birthday;
		this.joinPartyTime = joinPartyTime;
		this.convertTime = convertTime;
		this.userRoleMappings = userRoleMappings;
	}

	// Property accessors

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public PartyGroup getTmPartyGroup() {
		return this.partyGroup;
	}

	public void setTmPartyGroup(PartyGroup partyGroup) {
		this.partyGroup = partyGroup;
	}

	public PartyBranch getTmPartyBranch() {
		return this.partyBranch;
	}

	public void setTmPartyBranch(PartyBranch partyBranch) {
		this.partyBranch = partyBranch;
	}

	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Boolean getEnabled() {
		return this.enabled;
	}

	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getStaffNo() {
		return this.staffNo;
	}

	public void setStaffNo(String staffNo) {
		this.staffNo = staffNo;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Date getJoinPartyTime() {
		return this.joinPartyTime;
	}

	public void setJoinPartyTime(Date joinPartyTime) {
		this.joinPartyTime = joinPartyTime;
	}

	public Date getConvertTime() {
		return this.convertTime;
	}

	public void setConvertTime(Date convertTime) {
		this.convertTime = convertTime;
	}

	public Set getUserRoleMappings() {
		return this.userRoleMappings;
	}

	public void setUserRoleMappings(Set userRoleMappings) {
		this.userRoleMappings = userRoleMappings;
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -