📄 userdetails.java~10~
字号:
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,
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.address =address;
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 gettelephone() {
return telephone;
}
public int compareTo(Object object) {
return 0;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -