📄 treatment.java
字号:
package com.sean.pet.hibernate.po;
import java.util.HashSet;
import java.util.Set;
/**
* Treatment entity.
*
* @author MyEclipse Persistence Tools
*/
public class Treatment implements java.io.Serializable {
// Fields
private String id;
private Petstore petstore;
private String content;
private Double money;
private Set invoices = new HashSet(0);
private Set pettreatments = new HashSet(0);
// Constructors
/** default constructor */
public Treatment() {
}
/** full constructor */
public Treatment(Petstore petstore, String content, Double money,
Set invoices, Set pettreatments) {
this.petstore = petstore;
this.content = content;
this.money = money;
this.invoices = invoices;
this.pettreatments = pettreatments;
}
// Property accessors
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public Petstore getPetstore() {
return this.petstore;
}
public void setPetstore(Petstore petstore) {
this.petstore = petstore;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public Double getMoney() {
return this.money;
}
public void setMoney(Double money) {
this.money = money;
}
public Set getInvoices() {
return this.invoices;
}
public void setInvoices(Set invoices) {
this.invoices = invoices;
}
public Set getPettreatments() {
return this.pettreatments;
}
public void setPettreatments(Set pettreatments) {
this.pettreatments = pettreatments;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -