📄 shopuserto.java
字号:
package dao;
public class ShopUserTO {
private String shopId;
private String userName;
private String password;
private String role ;
private String shopName;
private String address;
private String realName;
private String position;
private String sex="m" ;
private String email;
private String phone;
private String describe;
private String fax;
private String tempId;
public String getShopId(){
return this.shopId;
}
public void setShopId(String shopId){
this.shopId = shopId;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getRealName() {
return realName;
}
public void setRealName(String realname) {
this.realName = realname;
}
public String getRole() {
return role;
}
public void setRole(String role) {
this.role = role;
}
public String getShopName() {
return shopName;
}
public void setShopName(String shopname) {
this.shopName = shopname;
}
public String getDescribe() {
return describe;
}
public void setDescribe(String userdescribe) {
this.describe = userdescribe;
}
public String getEmail() {
return email;
}
public void setEmail(String useremail) {
this.email = useremail;
}
public String getUserName() {
return userName;
}
public void setUserName(String username) {
this.userName = username;
}
public String getPassword() {
return password;
}
public void setPassword(String userpassword) {
this.password = userpassword;
}
public String getPhone() {
return phone;
}
public void setPhone(String userphone) {
this.phone = userphone;
}
public String getPosition() {
return position;
}
public void setPosition(String userposition) {
this.position = userposition;
}
public String getSex() {
return sex;
}
public void setSex(String usersex) {
this.sex = usersex;
}
public String getFax() {
return fax;
}
public void setFax(String usertex) {
this.fax = usertex;
}
public String getTempId() {
return tempId;
}
public void setTempId(String tempId) {
this.tempId = tempId;
}
public ShopUserTO(){}
public ShopUserTO(String tempId,String username, String userpassword, String role, String shopname, String address, String realname, String userposition, String usersex, String useremail, String userphone, String userdescribe, String usertex) {
super();
// TODO Auto-generated constructor stub
this.userName = username;
this.password = userpassword;
this.role = role;
this.shopName = shopname;
this.tempId = tempId;
this.address = address;
this.realName = realname;
this.position = userposition;
this.sex = usersex;
this.email = useremail;
this.phone = userphone;
this.describe = userdescribe;
this.fax = usertex;
}
public String toString() {
// TODO Auto-generated method stub
String temp = "username:"+userName+"\n"
+ "userpassword:"+password+"\n"
+ "role:"+role+"\n"
+ "shopname:"+shopName+"\n"
+ "address:"+address+"\n"
+ "realname:"+realName+"\n"
+ "userposition:"+position+"\n"
+ "usersex:"+sex+"\n"
+ "useremail:"+email+"\n"
+ "userphone:"+phone+"\n"
+ "userdescribe:"+describe+"\n"
+ "userfax:"+fax+"\n"
+ "tempId:"+tempId+"\n"
+ "shopId:"+shopId+"\n"
;
return temp;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -