📄 member.java
字号:
package dream.ourshopping.domain;
import java.util.Collection;
import java.util.List;
/**
* Member generated by MyEclipse - Hibernate Tools
*/
public class Member implements java.io.Serializable {
// Fields
private Integer id;
private String username;
private String password;
private String realname;
private String tel;
private String address;
private String zip;
private String email;
private List shopcart;
private List orders;
// Constructors
/** default constructor */
public Member() {
}
/** minimal constructor */
public Member(Integer id, String username, String password) {
this.id = id;
this.username = username;
this.password = password;
}
/** full constructor */
public Member(Integer id, String username, String password, String realname, String tel, String address, String zip, String email, List shopcart, List orders) {
this.id = id;
this.username = username;
this.password = password;
this.realname = realname;
this.tel = tel;
this.address = address;
this.zip = zip;
this.email = email;
this.shopcart = shopcart;
this.orders = orders;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getUsername() {
return this.username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return this.password;
}
public void setPassword(String password) {
this.password = password;
}
public String getRealname() {
return this.realname;
}
public void setRealname(String realname) {
this.realname = realname;
}
public String getTel() {
return this.tel;
}
public void setTel(String tel) {
this.tel = tel;
}
public String getAddress() {
return this.address;
}
public void setAddress(String address) {
this.address = address;
}
public String getZip() {
return this.zip;
}
public void setZip(String zip) {
this.zip = zip;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
public List getShopcart() {
return this.shopcart;
}
public void setShopcart(List shopcart) {
this.shopcart = shopcart;
}
public List getOrders() {
return this.orders;
}
public void setOrders(List orders) {
this.orders = orders;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -