📄 petowner.java
字号:
package com.sean.pet.hibernate.po;
import java.util.HashSet;
import java.util.Set;
/**
* Petowner entity.
*
* @author MyEclipse Persistence Tools
*/
public class Petowner implements java.io.Serializable {
// Fields
private String id;
private String name;
private String address;
private String tel;
private Set pets = new HashSet(0);
// Constructors
/** default constructor */
public Petowner() {
}
/** full constructor */
public Petowner(String name, String address, String tel, Set pets) {
this.name = name;
this.address = address;
this.tel = tel;
this.pets = pets;
}
// Property accessors
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
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 Set getPets() {
return this.pets;
}
public void setPets(Set pets) {
this.pets = pets;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -