📄 userdetails.java~5~
字号:
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 Date startTime=null;
private float value = 0;
private float T_value = 0;
private float vip_value =0;
private int sale_number=0;
private String book_image=null;
public UserDetails(int userID,String username, String password,
String realname, String sex, String Email,
Date startTime,float value,float T_value,float vip_value,int sale_number,String book_image) {
this.userID = userID;
this.username = username;
this.password = password;
this.realname = realname;
this.sex = sex;
this.Email = Email;
this.startTime=startTime;
this.value=value;
this.T_value=T_value;
this.vip_value=vip_value;
this.sale_number=sale_number;
this.book_image = book_image;
}
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 Date getstartTime() {
return startTime;
}
public float getvalue() {
return value;
}
public float getT_value() {
return T_value;
}
public float getvip_value() {
return vip_value;
}
public int getsale_number(){
return this.sale_number;
}
public String getbook_image(){
return book_image ;
}
public int compareTo(Object object) {
return 0;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -