userdetails.java~8~
来自「网上书店,JSP,MYSQL,struct,spring,hibernate」· JAVA~8~ 代码 · 共 60 行
JAVA~8~
60 行
package bookshoppingsys;
import java.sql.Date;
public class UserDetails
implements Comparable {
private int userID = 0;
private String username=null;
private String password = null;
private String realname=null;
private String sex = null;
private String Email = null;
private String postcode = null;
private String address = null;
private String telephone=null;
public UserDetails(int userID,String username, String password,
String realname, String sex, String Email,
Date startTime,String postcode,String address,String telephone) {
this.userID = userID;
this.username = username;
this.password = password;
this.realname = realname;
this.sex = sex;
this.Email = Email;
this.postcode=postcode;
this.telephone = telephone;
}
public int getuserID() {
return userID;
}
public String getusername () {
return username;
}
public String getpassword() {
return this.password;
}
public String getAuthor() {
return realname;
}
public String getpublish_house() {
return this.sex;
}
public String getDescription() {
return Email;
}
public String getpostcode() {
return postcode;
}
public String getpostcode() {
return postcode;
}
public int compareTo(Object object) {
return 0;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?