userinfo.java

来自「java web模拟的简单的一个网络硬盘」· Java 代码 · 共 82 行

JAVA
82
字号
package com.dark.nethd.bean;

public class UserInfo implements java.io.Serializable {

	// Fields

	private Integer userId;

	private String userName;

	private String passWord;

	private String nickName;

	private Integer maxSpace;

	// Constructors

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

	/** minimal constructor */
	public UserInfo(String userName, String passWord, Integer maxSpace,
			Integer useSpace) {
		this.userName = userName;
		this.passWord = passWord;
		this.maxSpace = maxSpace;
	}

	/** full constructor */
	public UserInfo(String userName, String passWord, String nickName,
			Integer maxSpace) {
		this.userName = userName;
		this.passWord = passWord;
		this.nickName = nickName;
		this.maxSpace = maxSpace;
	}

	// 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 getNickName() {
		return this.nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public Integer getMaxSpace() {
		return this.maxSpace;
	}

	public void setMaxSpace(Integer maxSpace) {
		this.maxSpace = maxSpace;
	}

}

⌨️ 快捷键说明

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