首页>代码>javabean+servlet+jsp开发商品后台管理系统(源码+数据库脚本)>/JavaWebProject_v1.0/src/com/yueqian/project/bean/User.java
package com.yueqian.project.bean;

import java.sql.Date;

/**
 * @Title: User.java
 * @Package com.yueqian.jdbcdemo.dao
 * @Description: 用来封装来自user表的数据
 * @author 冯老师   QQ:2506075234
 * @date 2021年3月16日 上午9:12:41
 * @version V1.0
 */
public class User {
    private int userId;// 用户编号
	private String username;// 用户名称
	private String name;// 真实姓名
	private String password;// 密码
	private String sex;// 性别
	private String pic;// 头像
	private int age;// 年龄
	private String address;// 地址
	private String tel;// 电话
	private Date birthday;// 生日
	
	public User() {
		super();
	}
	
	public User(String username, String password) {
		super();
		this.username = username;
		this.password = password;
	}
    
	public User(String username, String name, String password) {
		super();
		this.username = username;
		this.name = name;
		this.password = password;
	}

	public User(int userId, String username, String name, String password, String sex, int age, String address,
			String tel) {
		super();
		this.userId = userId;
		this.username = username;
		this.name = name;
		this.password = password;
		this.sex = sex;
		this.age = age;
		this.address = address;
		this.tel = tel;
	}

	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public Date getBirthday() {
		return birthday;
	}

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

	@Override
	public String toString() {
		return "User [userId=" + userId + ", username=" + username + ", name=" + name + ", password=" + password
				+ ", sex=" + sex + ", age=" + age + ", address=" + address + ", tel=" + tel + "]";
	}
	
	
}
最近下载更多
微信网友_7577830620712960  LV2 2025年7月1日
15532048877  LV1 2025年6月19日
穿山甲1001  LV6 2024年9月7日
TY0165  LV20 2024年6月18日
aholian  LV2 2024年6月13日
HangEcho  LV2 2024年6月5日
sz1111111  LV2 2024年3月26日
PSSDZH  LV3 2024年1月22日
aaasue  LV1 2024年1月4日
luoqingyun  LV1 2023年12月31日
最近浏览更多
微信网友_7577830620712960  LV2 2025年7月1日
暂无贡献等级
15532048877  LV1 2025年6月19日
blzzza 2025年6月16日
暂无贡献等级
暂无贡献等级
wmmmmmm 2025年6月14日
暂无贡献等级
歪比歪比 2025年5月27日
暂无贡献等级
luoyun123 2025年5月11日
暂无贡献等级
wwy000  LV2 2025年4月29日
1138504729 2025年4月13日
暂无贡献等级
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友