package com.Lozijy.pojo;
import java.util.Date;
public class User {
private Integer id; // id
private String userCode; // 用户编码
private String userName; // 用户名称
private String userPassword; // 用户密码
private Integer gender; // 性别
private Date birthday; // 出生日期
private String phone; // 电话
private String address; // 地址
private Integer userRole; // 用户角色
private Integer createdBy; // 创建者
private Date creationDate; // 创建时间
private Integer modifyBy; // 更新者
private Date modifyDate; // 更新时间
private Integer age;// 年龄
private String userRoleName; // 用户角色名称
private String idPicPath; // 证件照路径
private String workPicPath; // 工作证照片路径
public String getIdPicPath() {
return idPicPath;
}
public void setIdPicPath(String idPicPath) {
this.idPicPath = idPicPath;
}
public String getWorkPicPath() {
return workPicPath;
}
public void setWorkPicPath(String workPicPath) {
this.workPicPath = workPicPath;
}
public User() {
}
public User(Integer id, String userCode, String userName, String userPassword, Integer gender, Date birthday,
String phone, String address, Integer userRole, Integer createdBy, Date creationDate, Integer modifyBy,
Date modifyDate) {
this.id = id;
this.userCode = userCode;
this.userName = userName;
this.userPassword = userPassword;
this.gender = gender;
this.birthday = birthday;
this.phone = phone;
this.address = address;
this.userRole = userRole;
this.createdBy = createdBy;
this.creationDate = creationDate;
this.modifyBy = modifyBy;
this.modifyDate = modifyDate;
}
public String getUserRoleName() {
return userRoleName;
}
public void setUserRoleName(String userRoleName) {
this.userRoleName = userRoleName;
}
public Integer getAge() {
/*
* long time = System.currentTimeMillis()-birthday.getTime(); Integer age =
* Long.valueOf(time/365/24/60/60/1000).IntegerValue();
*/
Date date = new Date();
Integer age = date.getYear() - birthday.getYear();
return age;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getUserCode() {
return userCode;
}
public void setUserCode(String userCode) {
this.userCode = userCode;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getUserPassword() {
return userPassword;
}
public void setUserPassword(String userPassword) {
this.userPassword = userPassword;
}
public Integer getGender(Integer gender) {
return this.gender;
}
public void setGender(Integer gender) {
this.gender = gender;
}
public Date getBirthday() {
return birthday;
}
public void setBirthday(Date birthday) {
this.birthday = birthday;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public Integer getUserRole() {
return userRole;
}
public void setUserRole(Integer userRole) {
this.userRole = userRole;
}
public Integer getCreatedBy() {
return createdBy;
}
public void setCreatedBy(Integer createdBy) {
this.createdBy = createdBy;
}
public Date getCreationDate() {
return creationDate;
}
public void setCreationDate(Date creationDate) {
this.creationDate = creationDate;
}
public Integer getModifyBy() {
return modifyBy;
}
public void setModifyBy(Integer modifyBy) {
this.modifyBy = modifyBy;
}
public Date getModifyDate() {
return modifyDate;
}
public void setModifyDate(Date modifyDate) {
this.modifyDate = modifyDate;
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
【资源说明】 1、该资源包括项目的全部源码,下载可以直接使用! 2、本项目适合作为计算机、数学、电子信息等专业的课程设计、期末大作业和毕设项目,作为参考资料学习借鉴。 3、本资源作为“参考资料”如果需要实现其他功能,需要能看懂代码,并且热爱钻研,自行调试。 基于servlet+jsp超市管理系统源码.zip
资源推荐
资源详情
资源评论
收起资源包目录
基于servlet+jsp超市管理系统源码.zip (208个子文件)
BaseDao.class 2KB
BaseDao.class 2KB
UserDaoImpl.class 2KB
UserDaoImpl.class 2KB
loginfilter.class 2KB
loginfilter.class 2KB
CharacterEncodingFilter.class 1KB
CharacterEncodingFilter.class 1KB
OnlineCount.class 1KB
OnlineCount.class 1KB
login.class 1KB
People.class 1KB
People.class 1KB
show.class 1000B
UserDao.class 818B
UserDao.class 818B
Constants.class 408B
Constants.class 408B
User.class 267B
User.class 267B
style.css 9KB
style.css 9KB
public.css 6KB
public.css 6KB
datepicker.css 4KB
datepicker.css 4KB
datepicker.css 3KB
datepicker.css 3KB
WdatePicker.css 149B
WdatePicker.css 149B
img.gif 2KB
img.gif 2KB
img.gif 2KB
img.gif 2KB
datePicker.gif 1KB
datePicker.gif 1KB
.gitignore 233B
My97DatePicker.htm 1KB
My97DatePicker.htm 1KB
mysql-connector-java-8.0.28.jar 2.36MB
protobuf-java-3.11.4.jar 1.58MB
mysql-connector-java-5.1.4.jar 660KB
standard-1.1.2.jar 384KB
servlet-api-2.5.jar 103KB
jsp-api-2.1.jar 98KB
jstl-api-1.2.jar 30KB
User.java 4KB
UserDaoImpl.java 2KB
BaseDao.java 2KB
UserDao.java 2KB
Role.java 2KB
OnlineCount.java 1KB
loginfilter.java 853B
CharacterEncodingFilter.java 689B
Constants.java 106B
login_bg.jpg 45KB
login_bg.jpg 45KB
clock.jpg 22KB
clock.jpg 22KB
loginBg.jpg 18KB
loginBg.jpg 18KB
bg.jpg 307B
bg.jpg 307B
jquery-1.8.3.min.js 145KB
jquery-1.8.3.min.js 145KB
calendar.js 19KB
calendar.js 19KB
WdatePicker.js 8KB
WdatePicker.js 8KB
useradd.js 6KB
useradd.js 6KB
billadd.js 5KB
billadd.js 5KB
billmodify.js 5KB
billmodify.js 5KB
usermodify.js 4KB
usermodify.js 4KB
providerlist.js 3KB
providerlist.js 3KB
provideradd.js 3KB
provideradd.js 3KB
userlist.js 3KB
userlist.js 3KB
pwdmodify.js 3KB
pwdmodify.js 3KB
billlist.js 3KB
billlist.js 3KB
providermodify.js 2KB
providermodify.js 2KB
zh-cn.js 1KB
zh-cn.js 1KB
zh-tw.js 1KB
zh-tw.js 1KB
time.js 993B
time.js 993B
en.js 631B
en.js 631B
common.js 527B
common.js 527B
rollpage.js 485B
共 208 条
- 1
- 2
- 3
资源评论
土豆片片
- 粉丝: 1563
- 资源: 5642
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功