📄 customer.java
字号:
package net.xinxing;
import java.util.HashSet;
import java.util.Set;
/**
* Customer entity.
*
* @author MyEclipse Persistence Tools
*/
public class Customer implements java.io.Serializable {
// Fields
private Integer cid;
private String name;
private String sex;
private Set orders = new HashSet();
// Constructors
/** default constructor */
public Customer() {
}
/** full constructor */
public Customer(String name, String sex) {
this.name = name;
this.sex = sex;
}
// Property accessors
public Integer getCid() {
return this.cid;
}
public void setCid(Integer cid) {
this.cid = cid;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getSex() {
return this.sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public Set getOrders() {
return orders;
}
public void setOrders(Set orders) {
this.orders = orders;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -