📄 customer.java
字号:
package com.ghy.data.customer;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
public class Customer implements Serializable {
private String id ;
private String name ;
private String password ;
private Information information ;
private Set orders = new HashSet();
/**
* @return the information
*/
public Information getInformation() {
return information;
}
/**
* @param information the information to set
*/
public void setInformation(Information information) {
this.information = information;
}
public Customer() {
super();
// TODO Auto-generated constructor stub
}
/**
* @return the id
*/
public String getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(String id) {
this.id = id;
}
/**
* @return the name
*/
public String getName() {
return name;
}
/**
* @param name the name to set
*/
public void setName(String name) {
this.name = name;
}
/**
* @return the password
*/
public String getPassword() {
return password;
}
/**
* @param password the password to set
*/
public void setPassword(String password) {
this.password = password;
}
/**
* @return the infromation
*/
/**
* @return the orders
*/
public Set getOrders() {
return orders;
}
/**
* @param orders the orders to set
*/
public void setOrders(Set orders) {
this.orders = orders;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -