users.java

来自「在myMyEclipse坏境下」· Java 代码 · 共 107 行

JAVA
107
字号
package ssh2Down.dao;

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

/**
 * Users entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Users implements java.io.Serializable {

	// Fields

	private Integer userId;
	private String userName;
	private String password;
	private String realName;
	private Set downfiles = new HashSet(0);
	private Set webdisks = new HashSet(0);
	private Set downrecords = new HashSet(0);

	// Constructors

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

	/** minimal constructor */
	public Users(Integer userId, String userName, String password) {
		this.userId = userId;
		this.userName = userName;
		this.password = password;
	}

	/** full constructor */
	public Users(Integer userId, String userName, String password,
			String realName, Set downfiles, Set webdisks, Set downrecords) {
		this.userId = userId;
		this.userName = userName;
		this.password = password;
		this.realName = realName;
		this.downfiles = downfiles;
		this.webdisks = webdisks;
		this.downrecords = downrecords;
	}

	// 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 String getRealName() {
		return this.realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public Set getDownfiles() {
		return this.downfiles;
	}

	public void setDownfiles(Set downfiles) {
		this.downfiles = downfiles;
	}

	public Set getWebdisks() {
		return this.webdisks;
	}

	public void setWebdisks(Set webdisks) {
		this.webdisks = webdisks;
	}

	public Set getDownrecords() {
		return this.downrecords;
	}

	public void setDownrecords(Set downrecords) {
		this.downrecords = downrecords;
	}

}

⌨️ 快捷键说明

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