user.java
来自「一个基本的图书馆管理系统」· Java 代码 · 共 152 行
JAVA
152 行
package c18.entity;
import java.util.Date;
/**
* 用户
*/
public class User {
/**
* 用户号
*/
private int userNo;
/**
* 账号
*/
private String loginName;
/**
* 密码
*/
private String password;
/**
* 姓名
*/
private String userName;
/**
* 权限
*/
private int role;
/**
* 性别
*/
private short sex;
/**
* 生日
*/
private Date birthday;
/**
* 证件类型
*/
private int certType;
/**
* 证件
*/
private String cert;
/**
* 电话
*/
private String phone;
/**
* 电子邮件
*/
private String email;
public Date getBirthday() {
return birthday;
}
public void setBirthday(Date birthday) {
this.birthday = birthday;
}
public String getCert() {
return cert;
}
public void setCert(String cert) {
this.cert = cert;
}
public int getCertType() {
return certType;
}
public void setCertType(int certType) {
this.certType = certType;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getLoginName() {
return loginName;
}
public void setLoginName(String loginName) {
this.loginName = loginName;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public int getRole() {
return role;
}
public void setRole(int role) {
this.role = role;
}
public short getSex() {
return sex;
}
public void setSex(short sex) {
this.sex = sex;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public int getUserNo() {
return userNo;
}
public void setUserNo(int userNo) {
this.userNo = userNo;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?