?? petstore.java
字號:
package com.sean.pet.hibernate.po;
import java.util.HashSet;
import java.util.Set;
/**
* Petstore entity.
*
* @author MyEclipse Persistence Tools
*/
public class Petstore implements java.io.Serializable {
// Fields
private String id;
private String address;
private String tel;
private String fax;
private Set employees = new HashSet(0);
private Set treatments = new HashSet(0);
// Constructors
/** default constructor */
public Petstore() {
}
/** full constructor */
public Petstore(String address, String tel, String fax, Set employees,
Set treatments) {
this.address = address;
this.tel = tel;
this.fax = fax;
this.employees = employees;
this.treatments = treatments;
}
// Property accessors
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getAddress() {
return this.address;
}
public void setAddress(String address) {
this.address = address;
}
public String getTel() {
return this.tel;
}
public void setTel(String tel) {
this.tel = tel;
}
public String getFax() {
return this.fax;
}
public void setFax(String fax) {
this.fax = fax;
}
public Set getEmployees() {
return this.employees;
}
public void setEmployees(Set employees) {
this.employees = employees;
}
public Set getTreatments() {
return this.treatments;
}
public void setTreatments(Set treatments) {
this.treatments = treatments;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -