首页>代码>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 + "]"; } }


1138504729
4月13日
暂无贡献等级
wjnsfsdc
2月15日
暂无贡献等级
剩男与剩女
2024年12月12日
暂无贡献等级
Mhgfhjyrf LV3
2024年12月8日
吴明艳
2024年11月25日
暂无贡献等级
111p1238
2024年11月11日
暂无贡献等级
oolong7
2024年6月30日
暂无贡献等级
ma406805131 LV19
2024年6月29日
3038169233 LV1
2024年6月29日
cong58cong LV8
2024年6月26日