首页>代码>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 + "]";
	}
	
	
}
最近下载更多
sz1111111  LV2 3月26日
PSSDZH  LV3 1月22日
aaasue  LV1 1月4日
luoqingyun  LV1 2023年12月31日
玛莎纪  LV1 2023年12月26日
lanana  LV1 2023年12月22日
微信网友_6786215447367680  LV4 2023年12月20日
kaikai11111  LV2 2023年12月6日
小小学代码  LV1 2023年12月2日
微信网友_6756936678346752  LV1 2023年12月1日
最近浏览更多
刘守曜 昨天
暂无贡献等级
1215546776  LV1 4月9日
sz1111111  LV2 3月26日
xiao417  LV1 2月22日
PSSDZH  LV3 1月22日
kongwh 1月16日
暂无贡献等级
liu2024 1月14日
暂无贡献等级
暂无贡献等级
171592 1月6日
暂无贡献等级
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友