📄 customerdetails.java~12~
字号:
package bookstore;import java.sql.*;public class CustomerDetails implements java.io.Serializable{ java.lang.String customerID; java.lang.String name; java.lang.String account; java.lang.String password; java.lang.Integer sexual; java.sql.Timestamp birthDay; java.lang.String city; java.lang.String profession; java.lang.String iDCardNum; java.lang.String address; java.lang.String zip; java.lang.String phone; java.lang.String eMail; java.lang.Integer rank; public CustomerDetails (String customerID, String name, String account, String password, Integer sexual, java.sql.Timestamp birthDay, String city, String profession, String iDCardNum, String address,String zip,String phone,String eMail,Integer rank) { this.customerID = customerID; this.name = name; this.account = account; this.password = password; this.sexual = sexual; this.birthDay=birthDay; this.city = city; this.profession=profession; this.iDCardNum=iDCardNum; this.address=address; this.zip = zip; this.phone = phone; this.eMail = eMail; this.rank=rank; } // getters public String getCustomerID() { return customerID; } public String getName() { return name; } public String getAccount() { return account; } public String getPassword() { return password; } public Integer getSexual() { return sexual; } public java.sql.Timestamp getBirthDay() { return birthDay; } public String getCity() { return city; } public String getProfession() { return profession; } public String getIDCardNum() { return iDCardNum; } public String getAddress() { return address; } public String getZip() { return zip; } public String getPhone() { return phone; } public String getEmail() { return eMail; } public Integer getRank() { return rank; } // setters public void setCustomerID(String customerID) { this.customerID=customerID; } public void setName(String name) { this.name=name; } public void setAccount(String account) { this.account=account; } public void setPassword(String password) { this.password=password; } public void setSexual(Integer sexual) { this.sexual=sexual; } public void setBirthDay(java.sql.Timestamp birthDay) { this.birthDay=birthDay; } public void setCity(String city) { this.city=city; } public void setProfession(String profession) { this.profession=profession; } public void setIDCardNum(String iDCardNum) { this.iDCardNum=iDCardNum; } public void setAddress(String address) { this.address=address; } public void setZip(String zip) { this.zip=zip; } public void setPhone(String phone) { this.phone=phone; } public void setEmail(String eMail) { this.eMail=eMail; } public void getRank(Integer rank) { this.rank=rank; }} // CustomerDetails
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -