📄 customer.java
字号:
package bean;
/**
* This bean represents a customer.
*
* @author ProjectGroup
* @version 1.0.0
*/
public class Customer{
private String num;
private String email;
private String fname;
private String mname;
private String lname;
private String country;
private String state;
private String city;
private String liveadd;
private String postalcode;
private String phonenum;
private String passwd;
/**
* Class member constructor
* @param inSsn int containing ssn of the member
* @param inFName String member's family name
* @param inMName String member's give name
* @param inLName String member's last name
* @param inLiveAdd String member's street address
* @param inCity String member's city
* @param inState String member's state
* @param inCountry String member's country
* @param inPostalCode String member's postal code
* @param inPhoneNumber String member's phone number
* @param inEmail String member's email
* @param inPasswd String member's password
*/
public Customer(String inNum,String inEmail, String inFName, String inMName, String inLName,
String inCountry, String inState, String inCity, String inLiveAdd,
String inPostalcode,String inPhoneNum ,String inPasswd) {
num=inNum;
email=inEmail;
fname=inFName;
mname=inMName;
lname=inLName;
country=inCountry;
state=inState;
city=inCity;
liveadd=inLiveAdd;
postalcode=inPostalcode;
phonenum=inPhoneNum;
passwd=inPasswd;
}
public Customer(){
num=null;
email=null;
fname=null;
mname=null;
lname=null;
country=null;
state=null;
city=null;
liveadd=null;
postalcode=null;
phonenum=null;
passwd=null;
}
/**
* @return the city
*/
public String getCity() {
return city;
}
/**
* @param city the city to set
*/
public void setCity(String city) {
this.city = city;
}
/**
* @return the country
*/
public String getCountry() {
return country;
}
/**
* @param country the country to set
*/
public void setCountry(String country) {
this.country = country;
}
/**
* @return the email
*/
public String getEmail() {
return email;
}
/**
* @param email the email to set
*/
public void setEmail(String email) {
this.email = email;
}
/**
* @return the fname
*/
public String getFname() {
return fname;
}
/**
* @param fname the fname to set
*/
public void setFname(String fname) {
this.fname = fname;
}
/**
* @return the liveadd
*/
public String getLiveadd() {
return liveadd;
}
/**
* @param liveadd the liveadd to set
*/
public void setLiveadd(String liveadd) {
this.liveadd = liveadd;
}
/**
* @return the lname
*/
public String getLname() {
return lname;
}
/**
* @param lname the lname to set
*/
public void setLname(String lname) {
this.lname = lname;
}
/**
* @return the mname
*/
public String getMname() {
return mname;
}
/**
* @param mname the mname to set
*/
public void setMname(String mname) {
this.mname = mname;
}
/**
* @return the num
*/
public String getNum() {
return num;
}
/**
* @param num the num to set
*/
public void setNum(String num) {
this.num = num;
}
/**
* @return the passwd
*/
public String getPasswd() {
return passwd;
}
/**
* @param passwd the passwd to set
*/
public void setPasswd(String passwd) {
this.passwd = passwd;
}
/**
* @return the phonenum
*/
public String getPhonenum() {
return phonenum;
}
/**
* @param phonenum the phonenum to set
*/
public void setPhonenum(String phonenum) {
this.phonenum = phonenum;
}
/**
* @return the postalcode
*/
public String getPostalcode() {
return postalcode;
}
/**
* @param postalcode the postalcode to set
*/
public void setPostalcode(String postalcode) {
this.postalcode = postalcode;
}
/**
* @return the state
*/
public String getState() {
return state;
}
/**
* @param state the state to set
*/
public void setState(String state) {
this.state = state;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -