📄 customer.java
字号:
package main.data.domain;
import java.util.HashSet;
import java.util.Set;
/**
* Customer generated by MyEclipse - Hibernate Tools
*/
public class Customer implements java.io.Serializable {
// Fields
private Integer id;
private String password;
private String name;
private String tel;
private String email;
private String address;
private Integer credit;
private Set productCustomers = new HashSet(0);
// Constructors
/** default constructor */
public Customer() {
}
/** minimal constructor */
public Customer(String password, String name, String tel, String address) {
this.password = password;
this.name = name;
this.tel = tel;
this.address = address;
}
/** full constructor */
public Customer(String password, String name, String tel, String email, String address, Integer credit, Set productCustomers) {
this.password = password;
this.name = name;
this.tel = tel;
this.email = email;
this.address = address;
this.credit = credit;
this.productCustomers = productCustomers;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getPassword() {
return this.password;
}
public void setPassword(String password) {
this.password = password;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getTel() {
return this.tel;
}
public void setTel(String tel) {
this.tel = tel;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
public String getAddress() {
return this.address;
}
public void setAddress(String address) {
this.address = address;
}
public Integer getCredit() {
return this.credit;
}
public void setCredit(Integer credit) {
this.credit = credit;
}
public Set getProductCustomers() {
return this.productCustomers;
}
public void setProductCustomers(Set productCustomers) {
this.productCustomers = productCustomers;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -