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

📄 abstractuser.java

📁 在线读书交流平台
💻 JAVA
字号:
package com.olr.beans;

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 Integer userId;
	private String username;
	private String password;
	private Integer power;
	private String email;
	private String realname;
	private Date birthday;
	private String phone;
	private String qqmsn;
	private Integer sex;
	private String discription;
	private String imagePath;
	private Integer point=0;
	private Integer rank=1;
	private Integer loginCount=0;
	private String country;
	private String province;
	private String city;
	private Set<Message> messages=new HashSet();
    private Set<Book> myBooks=new HashSet();
    private Set<Book> myWorks=new HashSet();
	// Constructors

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

	/** minimal constructor */
	public AbstractUser(String username, String password, Integer power,
			String email) {
		this.username = username;
		this.password = password;
		this.power = power;
		this.email = email;
	}

	/** full constructor */
	public AbstractUser(String username, String password, Integer power,
			String email, String realname, Date birthday, String phone,
			String qqmsn, Integer sex, String discription, String imagePath,
			Integer point, Integer rank, Integer loginCount, String country,
			String province, String city) {
		this.username = username;
		this.password = password;
		this.power = power;
		this.email = email;
		this.realname = realname;
		this.birthday = birthday;
		this.phone = phone;
		this.qqmsn = qqmsn;
		this.sex = sex;
		this.discription = discription;
		this.imagePath = imagePath;
		this.point = point;
		this.rank = rank;
		this.loginCount = loginCount;
		this.country = country;
		this.province = province;
		this.city = city;
	}

	// Property accessors

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

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

	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 Integer getPower() {
		return this.power;
	}

	public void setPower(Integer power) {
		this.power = power;
	}

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

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

	public String getRealname() {
		return this.realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

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

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

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getQqmsn() {
		return this.qqmsn;
	}

	public void setQqmsn(String qqmsn) {
		this.qqmsn = qqmsn;
	}

	public Integer getSex() {
		return this.sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getDiscription() {
		return this.discription;
	}

	public void setDiscription(String discription) {
		this.discription = discription;
	}

	public String getImagePath() {
		return this.imagePath;
	}

	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}

	public Integer getPoint() {
		return this.point;
	}

	public void setPoint(Integer point) {
		this.point = point;
	}

	public Integer getRank() {
		return this.rank;
	}

	public void setRank(Integer rank) {
		this.rank = rank;
	}

	public Integer getLoginCount() {
		return this.loginCount;
	}

	public void setLoginCount(Integer loginCount) {
		this.loginCount = loginCount;
	}

	public String getCountry() {
		return this.country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getProvince() {
		return this.province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public Set<Message> getMessages() {
		return messages;
	}

	public void setMessages(Set<Message> messages) {
		this.messages = messages;
	}

	public Set<Book> getMyBooks() {
		return myBooks;
	}

	public void setMyBooks(Set<Book> myBooks) {
		this.myBooks = myBooks;
	}

	public Set<Book> getMyWorks() {
		return myWorks;
	}

	public void setMyWorks(Set<Book> myWorks) {
		this.myWorks = myWorks;
	}

}

⌨️ 快捷键说明

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